-
Notifications
You must be signed in to change notification settings - Fork 15
ION 5.0 Masternode Quickstart Guide
Before you start, have at least 20,000.01 ION in any address in your wallet.
This will be known as your FundAddress
After the wallet has synced, click on Tools, then click Debug Console and type the following commands:
getnewaddress CollateralAddress
Example output: ibv1e4Sk1xkbGHY5VG9AdXhEG1SLywj2Ci
To generate the masternode key pair, go to the debug console and enter:
bls generate
Example output:
{ "secret": "395555d67d884364f9e37e7e1b29536519b74af2e5ff7b62122e62c2fffab35e", "public": "99f20ed1538e28259ff80044982372519a2e6e4cdedb01c96f8f22e755b2b3124fbeebdf6de3587189cf44b3c6e7670e" }
The keys generated by this command are NOT stored by the wallet, so you must securely back them up in case you need them later.
You’ll need an OwnerAddress
and a VotingAddress
(can be the same) for masternode registration. This needs to be a new and unused address.
Generate it with the following command:
getnewaddress OwnerAddress
Example output: i0nFXhqrdDG1GZWKJAN6dQba6dZdgBGAip
By default the Payout Address will be the Collateral Address. You may, however, choose to designate a separate Payout Address. To use a Payout Address, sufficient ION must exist in the Fund Address to pay the transaction fee. In this example we will assume a Payout Address and Fund Address will be used.
To generate a new PayoutAddress:
getnewaddress PayoutAddress
Example output: i84AChqrdED2FHEFBCV7dWgt0fEaaGAEao
At this point you should have the following:
Masternode Collateral address to receive 20000 ION from FundAddress
example: ibv1e4Sk1xkbGHY5VG9AdXhEG1SLywj2Ci
BLS Keypair (Operator Keys)
example: secret": "395555d67d884364f9e37e7e1b29536519b74af2e5ff7b62122e62c2fffab35e",
"public": "99f20ed1538e28259ff80044982372519a2e6e4cdedb01c96f8f22e755b2b3124fbeebdf6de3587189cf44b3c6e7670e"
Owner/Voting Key Address
example: i0nFXhqrdDG1GZWKJAN6dQba6dZdgBGAip
Payout Address
example: i84AChqrdED2FHEFBCV7dWgt0fEaaGAEao
Fund Address: This is the source address that holds the ION that you will send to the collateral address. Ensure the Fund Address has at least 20000.01 ION, plus additional ION to cover future payout fees from staking rewards being sent to your payout address
example: ii2tBjGXuwftArNeET9WiGZ7sWvT1pNcZz
NOTE: Drop the quotes when replacing each variable.
protx register_fund "collateralAddress" "ipAndPort" "ownerAddress" "operatorPubKey" "votingAddress" operatorReward "payoutAddress" "fundAddress”
Example using our generated information from above
protx register_fund ibv1e4Sk1xkbGHY5VG9AdXhEG1SLywj2Ci 12.34.56.78:12700 i0nFXhqrdDG1GZWKJAN6dQba6dZdgBGAip 99f20ed1538e28259ff80044982372519a2e6e4cdedb01c96f8f22e755b2b3124fbeebdf6de3587189cf44b3c6e7670e i0nFXhqrdDG1GZWKJAN6dQba6dZdgBGAip 0 i84AChqrdED2FHEFBCV7dWgt0fEaaGAEao ii2tBjGXuwftArNeET9WiGZ7sWvT1pNcZz
Example output 76a4f03514eba4ead5e882ffb015478842b19a985c6a0c06c730a717fb23fd49
If you receive a txid, then your masternode has been submitted. Check your masternodes tab after the transaction has been confirmed to verify activation.