-
Notifications
You must be signed in to change notification settings - Fork 1
Masternode Guide
## Collateral 100K BZX.
It is recommended to create a text document, where we can paste the values that we will need to later create our mastrenode line.
Configuring our masternode is as simple as creating our masternode line. This is the format:
protx register_fund "collateralAddress" "ip:port" "ownerAddress" "operatorPubKey" "payoutAddress"
To do this, we need to create three addresses in our BZX wallet.
1 Address_for_collateral
Example: XMqfRDgCxRwVHnXoL95ddB3L57n7AQ2Nza
2 owner Address
Example: XQP2odHoYGDUo33y5bxxjM6ipYqDnB8DE3
3 payout Address
Example: XTdctpL571PMuE9GvvKPabX6fhpmrkwdR2
Choose ip Port, the one you want. We choose ip Port, the one we want, we must check that it is not being used in another masternode.
Example: 1.2.3.4:29301
Go to Help > Debug Window > Console and type in: bls generate, press enter.
The output will be similar to this:
"secret": "10874296f0e680a469869a7bf0247ffa0a9d4e343662d71b39485fc5c97a807f" <-- ignore this value
"public": "881e2f24abd7010fb5a731619534057c31acc604c86e2fb6e42becf0a24859d7ad7ffdb3c8ab985147cf69634b3abfec" <-- this value we will need
Example for operatorPubKey:
881e2f24abd7010fb5a731619534057c31acc604c86e2fb6e42becf0a24859d7ad7ffdb3c8ab985147cf69634b3abfec <-- use this one for protx command in step 4
Copy and paste the values as shown in the configuration line: protx register_fund "Address_for_collateral" "ip:port" "ownerAddress" "operatorPubKey" "payoutAddress"
It should look like this:
protx register_fund XMqfRDgCxRwVHnXoL95ddB3L57n7AQ2Nza 1.2.3. 4:29301 XQP2odHoYGDUo33y5bxxjM6ipYqDnB8DE3 881e2f24abd7010fb5a731619534057c31acc604c86e2fb6e42becf0a24859d7ad7ffdb3c8ab985147cf69634b3abfec XTdctpL571PMuE9GvvKPabX6fhpmrkwdR2
Each value must be separated by a space and without quotation marks.
If your wallet is encrypted, you must unlock it before doing this step. Type in the console walletpassphrase password 9999 and press enter, now your wallet is unlocked.
Once you have done all the above, you can now register your masternode copy and paste the Masternode line in the console and press enter.
You are done.
Your masternode is up and running.
Once the transaction is confirmated, the node you should appear in the masternodes tab
The Bitcoin Zero Team