Command
Wallet:
Add New Wallet:
junctiond keys add wallet
Restore executing wallet:
junctiond keys add wallet --recover
List All Wallets:
junctiond keys list
Delete wallet:
junctiond keys delete wallet
Check Balance:
junctiond q bank balances $(junctiond keys show wallet -a)
Validator:
Create Validator:
- Show pub key:
junctiond tendermint show-validator
- Create validator.json
junctiond tendermint show-validator
nano $HOME/.junctiond/config/vaidator.json
- Copy, paste and edit:
{
"pubkey": {
"@type":"/cosmos.crypto.ed25519.PubKey",
"key":"<Paste Key here>"
},
"amount": "1000000uamf",
"moniker": "Node39 Guide",
"identity": "",
"website": "https://services.node39.top",
"security": "[email protected]",
"details": "Node39.TOP Member",
"commission-rate": "0.1",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
- Create:
junctiond tx staking create-validator $HOME/.junctiond/config/validator.json \
--from wallet \
--chain-id=varanasi-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 2000uamf \
--node=https://airchains-testnet-rpc.node39.top:443 \
-y
Check sync | False -> done.
junctiond status 2>&1 | jq .SyncInfo.catching_up
Delegate:
junctiond tx staking delegate $(junctiond keys show wallet --bech val -a) 1000000uamf \
--from wallet \
--chain-id=varanasi-1 \
--fees 2000uamf \
--gas auto \
--gas-adjustment 1.2 \
--node=https://airchains-testnet-rpc.node39.top:443 \
-y
Withdraw rewards and commission:
junctiond tx distribution withdraw-rewards $(junctiond keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=varanasi-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 2000uamf \
--node=https://airchains-testnet-rpc.node39.top:443 \
-y
Unjail:
--from wallet \
--chain-id=varanasi-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 2000uamf \
--node=https://airchains-testnet-rpc.node39.top:443 \
-y
Unbond:
junctiond tx staking unbond $(junctiond keys show wallet --bech val -a) 1000000uamf \
--from wallet \
--chain-id=varanasi-1 \
--gas auto \
--gas-adjustment 1.5 \
--fees 2000uamf \
--node=https://airchains-testnet-rpc.node39.top:443 \
-y
Vote:
yes/no/no_with_veto/abstain
junctiond tx gov vote 1 yes \
--from wallet \
--chain-id varanasi-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 2000uamf \
--node=https://airchains-testnet-rpc.node39.top:443 \
-y
System:
Reload Service:
sudo systemctl daemon-reload
Enable Service:
sudo systemctl enable junctiond
Disable Service:
sudo systemctl disable junctiond
Start Service:
sudo systemctl start junctiond
Stop Service:
sudo systemctl stop junctiond
Restart Service:
sudo systemctl restart junctiond
Check Service Status:
sudo systemctl status junctiond
Check Service Logs:
sudo journalctl -u junctiond -fo cat