Add README instructions for connecting to testnets

This commit is contained in:
Zahary Karadjov 2019-10-29 01:22:42 +02:00
parent f92db449e1
commit 6ceb75c6b3
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 12 additions and 1 deletions

View File

@ -9,7 +9,7 @@
[![Gitter: #status-im/nimbus](https://img.shields.io/badge/gitter-status--im%2Fnimbus-orange.svg)](https://gitter.im/status-im/nimbus)
[![Status: #nimbus-general](https://img.shields.io/badge/status-nimbus--general-orange.svg)](https://get.status.im/chat/public/nimbus-general)
Nimbus beacon chain is a research implementation of the beacon chain component of the upcoming Ethereum Serenity upgrade, aka eth2. See the main [Nimbus](https://github.com/status-im/nimbus/) project for the bigger picture.
Nimbus beacon chain is a research implementation of the beacon chain component of the upcoming Ethereum Serenity upgrade, aka Eth2. See the main [Nimbus](https://github.com/status-im/nimbus/) project for the bigger picture.
## Interop (for other Eth2 clients)
@ -169,6 +169,17 @@ cd nim-beacon-chain
# Follow instructions above!
```
## Connecting to testnets
Nimbus should be able to connect to any of the testnets published in the [eth2-testnets repo](https://github.com/zah/eth2-testnets).
For example, connecting to our testnet0 is done with the following commands:
```bash
cd nim-beacon-chain
source env.sh
nim scripts/connect_to_testnet.nims nimbus/testnet0
```
## Beacon node simulation
The beacon node simulation will create a full peer-to-peer network of beacon nodes and validators, and run the beacon chain in real time. To change network parameters such as shard and validator counts, see [start.sh](tests/simulation/start.sh).