The implementation of SUB1X Community Governance will allow anyone with an up-to-date wallet to submit project proposals for: integration, promotion, new exchange listings, marketing, development, etc and get the requested SUB1X coins if the majority of MasterNode owners choose to support it with Yes votes.
The example below is done using the testnet chain. This guide will be updated appropriately to reflect the real chain once governance goes into mainnet.
All the commands assume a CLI wallet.
You can run them in the debug console of a Qt wallet as well, just remove the $ zsub1x-cli
part from the commands.
$ zsub1x-cli getnextsuperblock
129600
Create an address in the wallet that will receive the funds if the proposal is voted Yes by the MasterNodes:
$ zsub1x-cli getaccountaddress "proposal1"
ZZgxu9G4pehp7DP7mE8khkXNGTucKow53i
In this example we are asking for 0.04 SUB1X coins. Min amount that can be requested is 0.04
. Value 1
after the URL indicates that this is a one-off proposal, targeted to be paid on block 129600 if masternode owners support it.
The URL is there to provide additional details about the proposal so that MN owners can decide if they should vote it yes or no.
Proposal name is limited at 20 characters and URL at 64.
$ zsub1x-cli preparebudget "Community Support" "https://github.com/SuB1X-Coin/proposals/issues/3" 1 129600 "ZZgxu9G4pehp7DP7mE8khkXNGTucKow53i" 50
c9567750806e2c1a01fd71984279d4d3f44c253d82389c9df583f248b8ccada4
Use the help subcommand if you want more details about each parameter:
zsub1x-cli help preparebudget
zsub1x-cli gettransaction c9567750806e2c1a01fd71984279d4d3f44c253d82389c9df583f248b8ccada4
$ zsub1x-cli submitbudget "Community Support" "https://github.com/SuB1X-Coin/proposals/issues/3" 1 129600 "ZZgxu9G4pehp7DP7mE8khkXNGTucKow53i" 50 "c9567750806e2c1a01fd71984279d4d3f44c253d82389c9df583f248b8ccada4"
$ zsub1x-cli getbudgetinfo
{
"Name" : "Community Support",
"URL" : "https://github.com/SuB1X-Coin/proposals/issues/3",
"Hash" : "9001bbdc91c30d1a10a7863107280e3c6151b1b16481d43d2325f99e9a57bf7c",
"FeeHash" : "c9567750806e2c1a01fd71984279d4d3f44c253d82389c9df583f248b8ccada4",
"BlockStart" : 129600,
"BlockEnd" : 172800,
"TotalPaymentCount" : 1,
"RemainingPaymentCount" : 1,
"PaymentAddress" : "ZZgxu9G4pehp7DP7mE8khkXNGTucKow53i",
"Ratio" : 0.00000000,
"Yeas" : 0,
"Nays" : 0,
"Abstains" : 0,
"TotalPayment" : 50,
"MonthlyPayment" : 50,
"IsEstablished" : true,
"IsValid" : true,
"IsValidReason" : "",
"fValid" : true
},
$ zsub1x-cli mnbudgetvote local "9001bbdc91c30d1a10a7863107280e3c6151b1b16481d43d2325f99e9a57bf7c" yes
$ zsub1x-cli mnbudgetvote many "1c4c744a3b684b535b0eafe30a9c366e189554a53e9c76b542b9cbba8887f886" yes