Join Amber testnet as a Validator
Last updated
Was this helpful?
Last updated
Was this helpful?
This document introduces how to join the amber as a validator node.
Before you start, you must have a trusted server running bitcoincashnode's client with RPC enabled. The executable smartbchd
will connect to it for querying staking information.
Running the steps of .
Then clone the source code of smartBCH and build the executable of smartbchd
.
After successfully executing the above commands, you'll get a ~/smart_bch/smartbch/smartbchd file for amber.
Then, copy the priv_validator_key.json to work directory by running command below:
Open the ~/.smartbchd/config/app.toml
file to modify the information of the bitcoincashnode's client with RPC enabled.
Using validator private key and consensus pubkey generated in step 3 to build command below:
This command generate createValidator tx raw data, send it in step 8 below.
Get some BCH from some one has BCH in smartBCH already to your validator account. To check your account balance like this.
Please go to https://amber.xhedge.cash/ to split your BCH to LeverNFT and HedgeNFT, and vote for your validator just created.
Running step 1 and step 2 of to generate validator key and consensus pubkey.
Please follow step 1, 2 of .