Creating an ODIN Wallet
In order to interact with the system, you need a wallet. A wallet is a public key and a private mnemonic phrase. Keep your mnemonic phrase safe and secret.
You can do these steps while your node is syncing with the chain.
To create a wallet, you need to use the
banddCLI tool within the node container. Run the following:
docker exec -it node bandd keys add YOUR_WALLET_NAMEMake sure to replace YOUR_WALLET_NAME with the name you would like to give to your wallet. This name does not need to be unique on the chain, only within your node. The output of this command will look something like this:
$ docker exec -it node bandd keys add my_odin_wallet
Enter keyring passphrase:
Re-enter keyring passphrase:
**Important** write this mnemonic phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
man act ride inhale wall success example anxiety damp daring slogan still town smile frame ketchup resemble avocado stairs crater meat aim lumber grace
Save the value of
ADDRESS=<your-wallet-address>(you will need to copy-paste the
address:value output by the previous command. This will save it to your current shell session; you will need it later.
Log in to the web using your Mnemonic Phrase.
Once you have created your wallet (regardless of whether you have any tokens in it, you can check your balance with the following command:
$ docker exec -e ADDRESS=$ADDRESS node bandd query bank balances $ADDRESS --chain-id $CHAIN --node http://18.104.22.168:26657
- amount: "10000000"
Set the amount of Loki tokens you want to stake with
STAKE=<your-stake>lokishould be approximately 200,000 loki less than the amount of Loki tokens you have in your wallet. The 200,000 remaining loki will be used for gas fees. For example,
STAKE=10000000loki. Set the moniker (friendly name) for your validator node with
MONIKER=<your-moniker>. This name is arbitrary and will be shown to all other users on the network.