Skip to content

Small utility to sign a small json containing basic kyc information. The key generated by it is fully compatible with cosmos based chains.

Notifications You must be signed in to change notification settings

secard51/testnet-signer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testnet signer utility

This utility generates a signed JSON-formatted ID to prove ownership of a key used to submit tx on the blockchain. This testnet signer utility is required for all users who participate in testnet challenges that involve sending tx on the testnet. The challenge submission requires the ID message be signed by the primary key used to deploy the smart contract.

Installation

Go 1.16 is required.

If you haven't already, download and install Go. See the official go.dev documentation. Make sure your GOBIN and GOPATH are set correctly.

Get the source code and install

git clone [email protected]:archway-network/testnet-signer.git
cd testnet-signer
make install

How the testnet signer utility works

Generate a new key

Note: Required only to generate a new key for the testnet. If you want to use an existing key in the keystore, you can skip this step.

Description

Adds a new key to the keystore. This command is compatible with the Cosmos SDK key management functionality.

Command

testnet-signer keys add <key-name>

Generate a signed JSON-formatted ID

Description

Generates the required signed id message to submit in the testnet challenge form. Be sure to provide accurate details.

% testnet-signer sign_id my-key
Enter information as accurately as possible. Information entered here must match your KYC.
Your full legal name:FirstName MiddleName LastName
Your GitHub handle:mygithub
Your email address:[email protected]
Your incentivized testnet address is:  archway1lf26gv87sxvkj59e3f9q2fh6q8phqwgje6g3xg
Amino encoded Public key is: 61rphyEDtd8YCbk465UwocPsEcaSNn3IHx7zUa7tUdoAOuy/iyw=
Submit JSON below the line in the form.
-----------------------------
{
  "id": {
    "full_legal_name": "FirstName MiddleName LastName",
    "github_handle": "mygithub",
    "email_address": "[email protected]",
    "account_address": "archway1lf26gv87sxvkj59e3f9q2fh6q8phqwgje6g3xg",
    "pub_key": "61rphyEDtd8YCbk465UwocPsEcaSNn3IHx7zUa7tUdoAOuy/iyw="
  },
  "signature": "Fnsuzh71v9FJtaz6hdRWsKstGeE1mexEClq67OPuzaZdBKmurXo8P6Himu69mmEsCcz+YGtQV/204XSX0lmnMQ=="
}

About

Small utility to sign a small json containing basic kyc information. The key generated by it is fully compatible with cosmos based chains.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.6%
  • Makefile 1.4%