Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.34 KB

README.md

File metadata and controls

36 lines (31 loc) · 1.34 KB

avalanche-gossip-research

CS 6410 Project

Starting a Cluster via cURL

Requires

  1. avalanche-network-runner
  2. An avalanchego node executable
  3. cURL

Start the Server

In one terminal run

avalanche-network-runner server \
    --log-level debug \
    --port=":8080" \
    --grpc-gateway-port=":8081"

Cluster Configuration

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

Starting the Cluster

In a separate terminal run the testbed module passing the filename as the first argument This will

  1. Start a cluster with the given configuration
  2. Fund the network
  3. Attach txn-subscripbers to each node which will output to the terminal information about transactions
  4. See this REAMDE in tx-spammer/ to see how to spam transactions to this network

Resetting MetaMask Account

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.