Useful commands
Keys
Add new key
defundd keys add <key_name>Recover keys from seed
defundd keys add <key_name> --recoverShow all keys
defundd keys listDelete key
defundd keys delete <key_name>Node configuration
Set custom port
port 56 was taken as an example, you can use numbers from 1 to 64 to set custom node port
DEFUND_PORT=56sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${DEFUND_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${DEFUND_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${DEFUND_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${DEFUND_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${DEFUND_PORT}660\"%" $HOME/.defund/config/config.toml
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${DEFUND_PORT}317\"%; s%^address = \":8080\"%address = \":${DEFUND_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${DEFUND_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${DEFUND_PORT}091\"%; s%^address = \"0.0.0.0:8545\"%address = \"0.0.0.0:${DEFUND_PORT}545\"%; s%^ws-address = \"0.0.0.0:8546\"%ws-address = \"0.0.0.0:${DEFUND_PORT}546\"%" $HOME/.defund/config/app.tomlConfig pruning
Disable indexing
Set minimum gas prices
Validator configuration
Create validator
Edit validator
View validator info
Unjail validator
Signing info
Token operations
Send tokens
Delegate token to your validator
Delegate token to another validator
Redelegate tokens to another validator
Unbond tokens from staking
Withdraw all rewards from staking
Governance
Vote "YES"
Vote "NO"
Abstain from voting
General commands
Check node status
Check service status
Check logs
Restart service
Stop service
Start service
Disable service
Enable service
Reload service after changes
Last updated