description |
---|
How to create a Wallet and obtain Funds |
{% hint style="info" %} :warning: Disclaimer
While setting up a rudimentary validator node is easy, running a production-grade validator node with a robust architecture and security features requires a more involved setup, which is beyond the scope of this guide. {% endhint %}
We provide a sample snippet which will create a new key in your local keychain:
$ xiond keys add \
my-wallet-name \
--keyring-backend test \
--home /home/xiond/.xiond
When running this command, you will not be prompted to enter your keyring password, due to --keyring-backend
being set to test
. This is the least secure setting.
Please refer to the Cosmos SDK documentation for a more in-depth discussion of the different keyring backends.
The output of this command contains the wallet adress, as well as its associated mnemonic.
{% hint style="info" %} :warning: Keep your Mnemonic Safe
Be sure to preserve and protect your mnemonic.
You should take the utmost precautions when managing the mnemonic for any of your cryptocurrency wallets. {% endhint %}
We also provide a sample snippet which will help recover a wallet from its mnemonic:
$ xiond keys add \
my-wallet-name \
--keyring-backend test \
--home /home/xiond/.xiond \
--recover
As above, you will not be prompted to enter your keyring password, due to --keyring-backend
being set to test
.
However, you will be prompted to enter your BIP39 mnemonic; upon completion, your wallet will be restored and available for use.