Git Product home page Git Product logo

testnet-signer's Introduction

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=="
}

testnet-signer's People

Contributors

parthdesai avatar mojtaba-esk avatar edjroz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.