networks/README.md
Our networks configuration is structured like this:
We define the following networks:
genesis/ contains the genesis configurations for each network.
services/ contains all of the service-generating functions. They are defined as Nix functions so that dependencies and network-specific configuration can be injected as needed for the network in which they are used. These functions are then included in arion specs.
In devnet.nix we combine Genesis configuration and service-generating functions so that they are injected in an arion spec. Arion is a Nix wrapper around docker-compose. This allows us to create reproducible networks.