Isolated RSK blockchain network
Requirements
- Docker Compose >= 1.14.0
Building
You must provide two rskj builds:
rskj-core-0.6.2-ORCHID-all.jar
rskj-core-0.7.0-SNAPSHOT-all.jar
Once in place, you can build the environment with:
$ docker-compose up -d
Environment:
- 4 full regtest nodes
- Second fork (TBD) network upgrade enabled from block number 1000
- JSONRPC interface enabled for each node, bound to local ports from 14440 (miner node) to 14443
- All nodes accept
eth
JSONRPC calls - miner node is an autominer
- miner node accepts
evm
JSONRPC calls (e.g.evm_mine
)
Additional considerations
- For the automine feature to work, the transaction must be sent to the miner node
- The nodes start by default on
0.7.0-SNAPSHOT
version. You can change it by setting thecmd
configuration option for the service you want to start in a different version (i.e.0.6.2-ORCHID
) - You can change Second fork (TBD) network upgrade activation block number by changing the
blockchain.config.hardforkActivationHeights.secondFork
environment variable fromenvs/base.env