Useful CLI commands
General
Set the default chain for migalood to use:
migalood config chain-id <chain-id>Set the default RPC for migalood to use:
migalood config node <rpc-endpoint>Queries
Get native/IBC token balances:
migalood q bank balances <wallet/contract-address> --output jsonQuery contract:
migalood q wasm contract-state smart <contract-address> <query> --output jsonGet contract state:
migalood q wasm contract-state all <contract-address> --output jsonGet contract metadata:
Transactions
Upload a wasm binary on chain:
Instantiate a contract:
Execute a command on a wasm contract:
Send native/IBC tokens:
Keys
See keys on the current box:
Add a key:
Import a key from a mnemonic:
Delete a key:
Staking
Create validator:
Delegate tokens:
Governance
Query gov proposal:
Vote on gov proposal:
Validators and Nodes
Check the status of your node:
Get your node ID:
Check if your node is catching up:
Get your valoper address:
Last updated