Useful Command
1. Key Management
Create a New Wallet
bashbitbadgeschaind keys add $BITBADGES_WALLETKeep the generated seed phrase safe. It is the only way to recover your wallet.
Recover Wallet from Seed Phrase
bashbitbadgeschaind keys add $BITBADGES_WALLET --recoverYou will be prompted to enter your seed phrase.
List Wallets
bashbitbadgeschaind keys listShow Wallet Details
bashbitbadgeschaind keys show $BITBADGES_WALLETDelete Wallet
bashbitbadgeschaind keys delete $BITBADGES_WALLET2. Wallet Operations
Check Balance
Send Tokens
Example:
3. Validator Management
Ensure you have enough ubadge tokens for self-delegation and transaction fees before creating a validator.
Create Validator
Create Validator with json
Delegate Tokens
Withdraw Rewards (Delegator)
Withdraw Rewards (Validator Commission)
Unbond Tokens
Redelegate Tokens
Jail Info
Unjail Validator
4. Node Status & Info
Check Sync Status
Check Peer Info
Show Node ID
Restart Node
View Node Logs
5. Governance
List Proposals
View Proposal Details
Vote on Proposal
6. Environment Variables
Make sure to set these in your ~/.bash_profile or equivalent shell config:
Apply the changes with:
This cheat sheet is provided to streamline Bitbadges Chain validator and wallet management.
Last updated