This is a fully containerized "devnet" that runs 3 validator nodes. It is primarily used for testing with the Antithesis simulation environment.
- Make sure you build the corresponding container images
- namada-genesis - Used to perform the genesis ceremony, initiate the network (creating the chain) and joining the validators
- namada - Mostly for running
namadan ledger run
command to start/join the ledger node
- Run
docker-compose up
in theconfig
directory
- The namada-genesis container performs the genesis ceremony and prepares the
base-dir
for all validators - It "tells" each validator when these preparations are ready by creating a file inside of a commonly volume mounted directory
container_ready
- Each validator container waits for its
base-dir
to be populated and start/joins the ledger nodenamadan ledger run
- Verifying the stack is running cleanly and correctly
- Incorporate a workload to run against this stack
- (Optional) Optimize the container image size
- The genesis ceremony needs to be run from the
namada
directory as its working directory (https://github.com/anoma/namada), this copies the right .wasm artifacts - The $CHAIN_ID.tar.gz archive is created in whatever working directory we are in...