CS 6410 Project
- avalanche-network-runner
- An avalanchego node executable
- cURL
In one terminal run
avalanche-network-runner server \
--log-level debug \
--port=":8080" \
--grpc-gateway-port=":8081"
To specify the nodes in the cluster, write a config file with each node executable and number of nodes on separate lines. For example, the following specifies a network with 5 default avalanchego nodes and 6 modified nodes
5 /home/qburke/avalanchego/build/avalanchego
3 /home/qburke/walrus/build/nodev1
In a separate terminal run the testbed module passing the filename as the first argument This will
- Start a cluster with the given configuration
- Fund the network
- Attach
txn-subscripbers
to each node which will output to the terminal information about transactions - See this REAMDE in
tx-spammer/
to see how to spam transactions to this network
For first time setup, follow the steps in the relevant section of the Avalanche docs to complete the integration with MetaMask.
For subsequent tests, go to Account Settings > Advanced and Reset Account for the funded account.