1. Private chain with single node
The following commands will start a single-node private chain.
git clone https://github.com/okx/exchain
cd exchain/dev
./start.sh
Please use this link https://forum.okt.club/d/165-exchainddata-config to view the detailed information of the working directory.
Reference document:https://github.com/okx/cosmos-sdk/blob/main/docs/run-node/run-node.md
2. Private chain with multiple nodes
The following commands will start a multiple-nodes private chain.
git clone https://github.com/okx/exchain
cd exchain/dev/testnet
# Start four super nodes with id from 0 to 4.
./testnet.sh -s -i -n 4
# Start a rpc node with id 4.
./addnewnode.sh -n 4
# Start another rpc node with id 5.
./addnewnode.sh -n 5
After the private chain is started, use the following commands to send evm transactions at a frequency of 100 transactions per block.
cd exchain/dev/client
./run.sh