Shardus Network
This tool helps you to manage a local Shardus test network.
Usage
The shardus-network tool uses the /instances directory.
Examples
Create a local test network with default parameters:
shardus create-net 10 --no-startStart the test network:
shardus start-net 10⚠️
If any of the nodes error out, ensure that the processes of any previous network aren't still running.
Add 5 more nodes to the network and start them:
shardus create-net 5Stop the test network:
shardus stop-netClean residual log and database files from the last run:
shardus clean-net💡
Make sure that you delete the instances directory before starting a new network
rm -rf instancesSet the config.json file for all the instances in the /instances folder:
shardus config-netDescription
The shardus-network tools are used to launch and scale local test networks that run your Shardus app code.