This repository provides bootstrap tools for avalanchego networks.
We've integrated kurtosis to provide a quick way to bootstrap and test avalanchego networks.
We're also making available a docker-compose ready-to-boot folder that will bootstrap a local avalanchego network.
A kurtosis based setup that will run avalanchego tests in the kurtosis framework.
To use it:
cd kurtosis
./scripts/build-and-run.sh all
It will:
- Create and boot up an image of the avalanche-testing suite
- Run the avalanche tests against
avalanchego:latest
A simple docker compose that will bootstrap a local avalanche network.
To use it:
cd docker-compose
docker-compose pull && docker-compose up
It will:
- Create 5 instances of
avalanchego:latest
and hook them together to bootstrap a local network - Ensure you have the
avalanchego:latest
by doing adocker-compose pull
- Expose the API ports of the nodes on:
localhost:9650 -> node1:9650
localhost:9652 -> node2:9650
localhost:9653 -> node3:9650
localhost:9654 -> node4:9650
localhost:9655 -> node5:9650
- Expose the Staking ports of the nodes on:
localhost:9660 -> node1:9651
localhost:9662 -> node2:9651
localhost:9663 -> node3:9651
localhost:9664 -> node4:9651
localhost:9665 -> node5:9651