cosmos-sdk/docs/sdk/sdk-by-examples/simple-governance/cast-vote.md

353 B

Cast a vote to an existing proposal

Let's cast a vote on the created proposal:

simplegovcli vote --proposal-id=1 --option="No"

Get the value of the option from your casted vote :

simplegovcli proposal-vote 1 <your_address>

You can also check all the casted votes of a proposal:

simplegovcli proposals-votes 1