nimbus-eth2/scripts
Yuriy Glukhov abbe4075fa Fixed deposit contract deployment 2019-10-30 17:23:34 +02:00
..
README.md Use SSZ genesis files 2019-10-29 19:16:32 +02:00
attach_validators.sh Removed all code related to the old network metadata files 2019-10-29 01:04:52 +02:00
connect_to_testnet.nims Store the testnet metadata in the official eth2-clients repo [skip ci] 2019-10-29 20:22:25 +02:00
process_lfs.sh Travis: ARM64 build 2019-10-29 16:10:43 +01:00
reset_testnet.sh Fixed deposit contract deployment 2019-10-30 17:23:34 +02:00
reset_testnet0.sh Helpful scripts for resetting the testnets 2019-03-19 21:50:22 +02:00
reset_testnet1.sh Helpful scripts for resetting the testnets 2019-03-19 21:50:22 +02:00
testnet0.env Remove hard-coded variables from the manage_testnet_hosts script 2019-10-29 19:16:32 +02:00
testnet1.env Add support for testnets with mixed quickstart/random deposits 2019-10-29 19:16:32 +02:00

README.md

Work in progress. Things may and probably will break for the foreseeable future. Do not rely on this for anything.

Connecting to Testnet

To connect to a short-lived testnet we may or may not have running at the moment, use the connect_to_testnet script like so:

scripts/connect_to_testnet.sh testnet0

Running your own testnet

The beacon_node binary has a createTestnet command.

  nim c -r beacon_chain/beacon_node \
    --data-dir=$DATA_DIR/node-0 \
    createTestnet \
    --validators-dir=$NETWORK_DIR \
    --total-validators=$VALIDATOR_COUNT \
    --last-user-validator=$LAST_USER_VALIDATOR \
    --output-genesis=$NETWORK_DIR/genesis.ssz \
    --output-bootstrap-file=$NETWORK_DIR/bootstrap_nodes.txt \
    --bootstrap-address=$PUBLIC_IP \
    --genesis-offset=600 # Delay in seconds

Replace ENV vars with values that make sense to you.

Full tutorial coming soon.

Maintaining the Status testnets

For detailed instructions, please see https://github.com/status-im/nimbus-private/blob/master/testnets-maintenance.md