0x0581d9a6dc5bff3d1db5a25c625e5fc0315c6712c6fe296e0ec4cbe2f5da6bd5
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 | |
# bash cluster <cluster_root> <number_of_clusters> <network_id> <runid> <local_IP> [[params]...] | |
# sets up a local ethereum network cluster of nodes | |
# - <cluster_root> is the root directory for the cluster, the nodes are set up | |
# - <number_of_clusters> is the number of clusters | |
# with datadir `<root>/01`, `<root>/02`, ... | |
# - new accounts are created for each node | |
# - they launch on port 30301, 30302, ... | |
# - they start rpc on port 8101, 8102, ... |