Multi-Node Testnet
1. On the nodes which do not generate the genesis file
Step 0: build smartbchd
Step 1: generate the private keys to operate one validator
cd ~/smart_bch/smartbch
./smartbchd gen-test-keys -n 1 --show-address | tee gen-test-keys.txt
2915b09298d0362df490fe3969b10aece94cd3460fb1ba29184cba31516a9b5f 0xF0c6969C2a554ddae639ba1Aa1d2fA11382CAb2BStep 2: generate genesis validator consensus key info
./smartbchd generate-consensus-key-info |tee generate-consensus-key-info.txt
a07871d10858179c1bb3c1f0d7bab31103135b76f96b6bd1f06a5bc0d350f862Step 3: generate genesis validator info using pubkey generated above
Step 4: wait for the data directory's tarball and unpack it
Step 5: Copy private key file to data directory and start node
Step 6: activate validator
2. On the node which generates the genesis file
Step 0: Prepare
Step 1: add genesis validator info to genesis.json using hex strings sent by other nodes
Step 2: start the node
Step 4: collect seeds information
Step 5: send information to all the other nodes
3. Join in as a validator after genesis
Step 0: create new validator
Step 1: send transaction to register as a validator
Step 2: voting in the BCH mainnet
4. Adjust minGasPrice
Step 0: generate minGasPrice adjust signed rawTx
Step 1: send transaction to adjust minGasPrice
Last updated
Was this helpful?