Obtain a XION Wallet Address
How to create a Wallet and obtain Funds
⚠️ 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.
Create a new Wallet
We provide a sample snippet which will create a new key in your local keychain:
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.
⚠️ 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.
Restore a Wallet from a Mnemonic
We also provide a sample snippet which will help recover a wallet from its mnemonic:
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.
Last updated