Last active
September 30, 2022 16:12
-
-
Save hexfusion/292302df311927b270461ad5a275598f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# start server in another window | |
# avalanche-network-runner server \ | |
# --log-level debug \ | |
# --port=":8080" \ | |
# --grpc-gateway-port=":8081" | |
# tested with v1.8.6 | |
AVALANCHEGO_EXEC_PATH="" | |
AVALANCHEGO_PLUGIN_PATH="" | |
cat <<EOF > /tmp/minikvvm.genesis.json | |
{ | |
"author": "foo", | |
"welcome_message": "bar" | |
} | |
EOF | |
avalanche-network-runner control start \ | |
--log-level debug \ | |
--endpoint="0.0.0.0:8080" \ | |
--number-of-nodes=5 \ | |
--avalanchego-path ${AVALANCHEGO_EXEC_PATH} \ | |
--plugin-dir ${AVALANCHEGO_PLUGIN_PATH} \ | |
--blockchain-specs '[{"vm_name": "minikvvm", "genesis": "/tmp/minikvvm.genesis.json"}]' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
health