Skip to content

mieubrisse/avalanchego-kurtosis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AvalancheGo Kurtosis Example

This repository includes examples for spinning up a local Avalanche network using both Kurtosis and Docker Compose. Both examples utlize AvalancheGo, the official node implementation for the Avalanche network.

Kurtosis

Configuration that will run AvalancheGo tests using the Kurtosis framework

cd kurtosis
./scripts/build-and-run.sh all

It will:

  • Create and boot up an image of the avalanche-testing suite
  • Run tests against avalanchego:latest

Docker Compose

Configuration that will bootstrap a local Avalanche network using Docker Compose

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 a docker-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

About

Run AvalancheGo tests in the Kurtosis framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 83.8%
  • Shell 15.3%
  • Dockerfile 0.9%