480b247828
Same variable BOOTNODE_PORT was used for p2p port of bootnode and testnet Chain and Network ID. Adding variable NETWORK_ID to make scripts less confusing and create option to choose arbitrary ID. Co-authored-by: Mário Havel <61149543+taxmeifyoucan@users.noreply.github.com> Co-authored-by: Michael Sproul <michael@sigmaprime.io>
14 lines
257 B
Bash
Executable File
14 lines
257 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
source ./vars.env
|
|
|
|
ganache-cli \
|
|
--defaultBalanceEther 1000000000 \
|
|
--gasLimit 1000000000 \
|
|
--accounts 10 \
|
|
--mnemonic "$ETH1_NETWORK_MNEMONIC" \
|
|
--port 8545 \
|
|
--blockTime 3 \
|
|
--networkId "$NETWORK_ID" \
|
|
--chainId "$NETWORK_ID"
|