nimbus-eth2/scripts
Jacek Sieka 521b0ed6ba
Clean 20200205 (#729)
* beacon node code cleanup
* rudimentary error checking on mainnet monitor
* start client even when sending deposit
* work around missing block number exception
* connect to testnet with web3 url
* pretty-print digests in json
2020-02-07 08:13:38 +01:00
..
README.md Allow running local nodes without attached validators 2019-11-11 23:29:36 +00:00
attach_validators.sh
connect_to_testnet.nims Clean 20200205 (#729) 2020-02-07 08:13:38 +01:00
depositContract.v.py Fixed deposit/contract 2019-11-07 17:23:06 +00:00
launch_local_testnet.sh launch_local_testnet.sh 2020-01-22 13:44:58 +00:00
load-testnet-nim-flags.sh Docker changes [skip ci] 2019-11-18 18:09:23 +00:00
reset_testnet.sh Change the testnet servers domain names 2020-01-28 22:28:52 +02:00
reset_testnet0.sh
reset_testnet1.sh
setup_official_tests.sh remove last traces of git-lfs usage 2019-11-22 14:15:04 +00:00
testnet0.env Make all testnet env file values optional [skip CI] 2019-11-12 23:43:38 +00:00
testnet1.env The beacon node can be compiled with the LibP2P native back-end 2019-12-10 15:02:16 +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=$NETWORK_DIR/data \
    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