The Avalanche® Network Runner (ANR) allows developers to define, create, and interact with a network of nodes. Devs and system integrators can run networks of AvalancheGo nodes with support for custom node, Subnet, and network configurations. With the ANR, easily test code locally before deploying to public testnets like Fuji or Mainnet.
Note: that this tool is not for running production nodes and that because it is being heavily developed right now, documentation might differ slightly from the actual code.
The basic pattern for using the Avalanche Network Runner is:
Define the network
Start the network
Interact with it
The API package contains client code that allows the user to make API calls to Avalanche nodes within the network.
Please find examples of usage in the examples subdirectory.