-
Notifications
You must be signed in to change notification settings - Fork 0
Networks based on Lucy‐generated genesis and topology
piotr-iohk edited this page Oct 17, 2023
·
4 revisions
We've included two example networks within the ./tests/data/
directory: small_network
and large_network
. Each comes with all the necessary keys and files. To deploy and manage these networks, follow the commands below:
# create large-network's docker compose file
$ minimina network create \
-g ./tests/data/large_network/genesis_ledger.json \
-t ./tests/data/large_network/topology.json \
-n large-network
# start large-network
$ minimina network start -n large-network
# stop large-network
$ minimina network stop -n large-network
# delete large-network
$ minimina network delete -n large-network
# create small-network's docker compose file
$ minimina network create \
-g ./tests/data/small_network/genesis_ledger.json \
-t ./tests/data/small_network/topology.json \
-n small-network
# start small-network
$ minimina network start -n small-network
# stop small-network
$ minimina network stop -n small-network
# delete small-network
$ minimina network delete -n small-network
Managing a network defined from a topology is analogous to handling the default
network. For detailed instructions, refer to Default network. You can manage the whole network as well as individual nodes. The only difference is that you need to provide the network name to each command using -n
flag.