This site requires Javascript to be enabled.

Voting on governance proposals via archwayd

Prerequisites

Make sure you have archwayd installed.

Query the governance proposals with:

archwayd q gov proposals --node <rpc-endpoint> --chain-id <network-name>

For example, you can query the proposals with:

mainnet

testnet

archwayd q gov proposals https://rpc.mainnet.archway.io:443 --chain-id archway-1

Once you noticed the proposal's id you want to vote on, you can vote with:

archwayd tx gov vote <proposal-id> <vote> --from <wallet> --node <rpc-endpoint> --chain-id <network-name>

For example, voting yes on the proposal 28 would be:

mainnet

testnet

archwayd tx gov vote 28 yes --from mywallet --node https://rpc.mainnet.archway.io:443 --chain-id archway-1