nimbus-eth2/scripts
Jacek Sieka 7b73b40bab interop updates
* add interop launcher scripts
* stick validator_keygen into beacon_node
* fix lmd ghost slot number on missing block
* use mocked eth1data when producing blocks
* use bls public key method for withdrawal credentials
* fix deposit domain
* prefer lowercase for a bunch of toHex
* build simulation binary in data folder to avoid data types confusion
2019-09-02 22:14:18 +03:00
..
README.md Switch the testnet1 back-end to libp2p_native 2019-06-24 19:38:19 +03:00
attach_validators.sh Dumbed down the validator key import procedure 2019-03-26 17:37:31 +02:00
build_testnet_node.sh new build system and submodules 2019-08-23 14:36:29 +03:00
download_validator_keys.sh Fix a typo in the download_keys script 2019-03-29 17:01:58 +02:00
process_lfs.sh Prepare for v0.8.3 tests: submodules + LFS script + Appveyor updates (#368) 2019-08-30 17:50:46 +02:00
reset_testnet.sh interop updates 2019-09-02 22:14:18 +03: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 Switch to a model where the testnets are stricly associated with a network back-end type 2019-06-24 05:34:22 +03:00
testnet1.env Implement the latest networking spec 2019-08-07 05:22:28 +03: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 \
    --network=$NETWORK_NAME \
    --dataDir=$DATA_DIR/node-0 \
    createTestnet \
    --networkId=$NETWORK_ID \
    --validatorsDir=$NETWORK_DIR \
    --totalValidators=$VALIDATOR_COUNT \
    --lastUserValidator=$LAST_USER_VALIDATOR \
    --outputGenesis=$NETWORK_DIR/genesis.json \
    --outputNetwork=$NETWORK_DIR/network.json \
    --bootstrapAddress=$PUBLIC_IP \
    --genesisOffset=600 # Delay in seconds

Replace ENV vars with values that make sense to you.

Full tutorial coming soon.