Wallet Management

Add New Wallet

swisstronikd keys add $WALLET

Restore existing wallet

swisstronikd keys add $WALLET --recover

List All Wallets

swisstronikd keys list

Delete wallet

swisstronikd keys delete $WALLET

Check Balance

swisstronikd q bank balances $(swisstronikd keys show $WALLET -a)

Export Key (save to wallet.backup)

swisstronikd keys export $WALLET

View EVM Prived Key

swisstronikd keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

swisstronikd keys import $WALLET wallet.backup

Tokens

Withdraw all rewards

swisstronikd tx distribution withdraw-all-rewards --from $WALLET --chain-id swisstronik_1291-1 --fees 2111351aswtr -y

Withdraw rewards and commission from your validator

swisstronikd tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id swisstronik_1291-1 --fees 2111351aswtr -y

Check your balance

swisstronikd query bank balances $WALLET_ADDRESS

Delegate to Yourself

swisstronikd tx staking delegate $(swisstronikd keys show $WALLET --bech val -a) 1000000nivea --from $WALLET --chain-id swisstronik_1291-1 --fees 2111351aswtr -y

Delegate

swisstronikd tx staking delegate <TO_VALOPER_ADDRESS> 1000000nivea --from $WALLET --chain-id swisstronik_1291-1 --fees 2111351aswtr -y

Redelegate Stake to Another Validator

swisstronikd tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000nivea --from $WALLET --chain-id swisstronik_1291-1 --fees 2111351aswtr -y

Unbond

swisstronikd tx staking unbond $(swisstronikd keys show $WALLET --bech val -a) 1000000nivea --from $WALLET --chain-id swisstronik_1291-1 --fees 2111351aswtr -y

Transfer Funds

swisstronikd tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000nivea --chain-id swisstronik_1291-1 --fees 2111351aswtr -y

Last updated