Fake RPC Server for Testing
Dependencies
./smartbchd start --mainnet-url=http://node-ip-address:port-numberRunning a Fake RPC Server for Testing
Start the bchnode RPC Server
Git clone https://github.com/smartbch/testkit.git
cd bchnode
go run main.go &Add a New Validator's public key and voting power
cd scripts ;# there are some utility scripts in the directory testkit/bchnode/scripts
./pubkey.sh eeed4fae3da010e393efed2aacd271971fd2383fc68109a475d6c9ef65435d52-9-addAdjust block interval
Simulate a Block Reorg
The Suggested Scenarios for Test
smartBCH parameters for testing with bchnode
Last updated
Was this helpful?