π³οΈ CLI Governance Voting Guide
Validator Participation: Exercise governance rights through command-line voting using the hmy client.
π HMY Version Verification
Version Requirement: Ensure you're running the latest hmy client before participating in governance votes.
Expected Version:
Harmony (C) 2020. hmy, version v1-dbd9901 (runner@harmony.one 2022-08-29T08:51:21+0000)π Check Command: ./hmy version - Update if version is outdated.
π Voting Commands
Example Reference: Commands for HIP-28b (opens in a new tab) proposal voting.
β Yes Vote:
./hmy governance vote-proposal --proposal 0x5aa26f3aed23ab3ce751cbc885bc8574f4f3e2d65784339401645803d56892b4 --key serviceharmony --choice 1 --passphraseβ No Vote:
./hmy governance vote-proposal --proposal 0x5aa26f3aed23ab3ce751cbc885bc8574f4f3e2d65784339401645803d56892b4 --key serviceharmony --choice 2 --passphraseπ€ Abstain:
./hmy governance vote-proposal --proposal 0x5aa26f3aed23ab3ce751cbc885bc8574f4f3e2d65784339401645803d56892b4 --key serviceharmony --choice 3 --passphraseKey Configuration: Replace serviceharmony with your actual key name from ./hmy keys list and provide your wallet password when prompted.
π§ Command Parameter Breakdown
Parameter Reference: Understanding each component of the governance vote command.
π― --proposal - Proposal ID from the voting page URL
π --key - Your wallet name from ./hmy keys list
π --choice - Voting option (sequential numbering, supports multi-option lists)
π --passphrase - Your node wallet password
π Choice Values
Standard Mapping: Tested choice-to-vote translation for basic proposals:
β
--choice 1 = "Yes"
β --choice 2 = "No"
π€ --choice 3 = "Abstain"