How to create a Maya address through mayanode cli

Create Maya address and mnemonic

  1. 1.
    Install go 1.20+
  2. 2.
    Clone the Maya repository
  3. 3.
    Install docker
  4. 4.
    Install protobuf $ git clone https://gitlab.com/mayachain/mayanode
  5. 5.
    Change to the mainnet branch $ git checkout mainnet
  6. 6.
    Build the binary$ TAG=mainnet make build && TAG=mainnet make install
  7. 7.
    To add a mnemonic that you already own
$ mayanode keys add [key name] --recover
> Enter your bip39 mnemonic
[paste/write your mnemonic]
  1. 8.
    You’re done! It should look as follows:
$ mayanode keys add [key name] --recover
- name: mywallet
type: local
address: tmaya1gp27t2hcj603p8448qwkhfh0v4y0r3jkmdgsyn
pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A0LirKOHGVq0y1JBcadN10UvqtnvYNvg8QOn4Mj5Gy31"}'
mnemonic: ""