๐Ÿ—ณ QIE Blockchain Governance: Step-by-Step Guide

Prerequisites

  • qied CLI installed and fully synced

  • Wallet funded with enough coins (โ‰ฅ min deposit, e.g., 10,000 QIE)

  • Chain ID and RPC node URL

  • coin denom is aqie (1 QIE = 10^18 aqie)

Step 1: Create Proposal File

Create a file named proposal.json with:

{
  "title": "Example Proposal Title",
  "description": "This is a test proposal for demonstration purposes.",
  "type": "Text",
  "deposit": "10000000000000000000000aqie"
}

Note: Deposit is 10,000 QIE (in raw form aqie).


Step 2: Submit Proposal

Run:

qied tx gov submit-proposal ./proposal.json \
  --from <key_name> \
  --chain-id qie_1990-1 \
  --node "tcp://node5mainnet.qie.digital:26657" \
  --gas-adjustment 1.5 \
  --gas-prices 10000000000aqie \
  --gas auto \
  -y

Replace placeholders accordingly.


Step 3: Confirm Proposal ID

After submission, look for output similar to:

"proposal_id": "1"

Save this proposal ID for future steps.


Step 4: Deposit More Coins (Optional)

If the initial deposit is insufficient, deposit more:

qied tx gov deposit 1 1000000000000000000000aqie \
  --from <key_name> \
  --chain-id qie_1990-1 \
  --node "tcp://node5mainnet.qie.digital:26657" \
  --gas-adjustment 1.5 \
  --gas-prices 10000000000aqie \
  --gas auto \
  -y

Step 5: Vote on Proposal

Vote options: yes, no, abstain, nowithveto

qied tx gov vote 1 yes \
  --from <key_name> \
  --chain-id qie_1990-1 \
  --node "tcp://node5mainnet.qie.digital:26657" \
  --gas-adjustment 1.5 \
  --gas-prices 10000000000aqie \
  --gas auto \
  -y

Step 6: Check Proposal Status

qied query gov proposal 1 --node "tcp://node5mainnet.qie.digital:26657"

Step 7: View All Proposals

qied query gov proposals --node "tcp://node5mainnet.qie.digital:26657"

Optional Queries

  • Tally votes:

qied query gov tally 1 --node "tcp://node5mainnet.qie.digital:26657"

Example output fields:

yes: total yes votes

no: total no votes

abstain: total abstain votes

no_with_veto: total veto votes

  • List votes:

qied query gov votes 1 --node "tcp://node5mainnet.qie.digital:26657"

Last updated