1. 单节点私链
git clone https://github.com/okx/exchain
cd exchain/dev
./start.sh
工作目录详解: https://forum.okt.club/d/165-exchainddata-config
参考文档:https://github.com/okx/cosmos-sdk/blob/main/docs/run-node/run-node.md
2. 多节点私链
git clone https://github.com/okx/exchain
cd exchain/dev/testnet
# 启动4个超级节点,id: 0, 1, 2, 3
./testnet.sh -s -i -n 4
# 启动第5个(rpc节点),id: 4
./addnewnode.sh -n 4
# 启动第6个(rpc节点),id: 5
./addnewnode.sh -n 5
启动私链后,发送evm tx, 100 tx per block
cd exchain/dev/client
./run.sh