- All the config files,
genesis.ssz
and other variables needed for the testnet are placed undercustom_config_data
.
- Clone this repository
- Ensure
docker
anddocker-compose
is installed:docker-compose --version
anddocker --version
- Create the required directories for persistent data with
mkdir -p execution_data beacon_data
- Optional: Copy the keys sent by pari, place them in the root of the folder, leave the name of the folder the same (
validator_keys
). Please reconfirm that thevalidator_keys
folder contains asecrets
,validators
folders and apubkey.json
file. - Find your IP address(public IP) and add it to the
<devnet-name>.vars
file file, this is just to ensure easy peering 5.1curl ifconfig.me
or visit https://whatismyipaddress.com
5.2 Replace IP in config file with your own IP address: https://i.imgur.com/xnNqN6h.png - Note: If you have an M1 mac, run
export DOCKER_DEFAULT_PLATFORM=linux/amd64
otherwise the images will not be downloaded - Run your chosen execution engine, e.g:
docker-compose --env-file <devnet-name>.vars -f docker-compose.geth.yml up -d
- Run your chosen consensus engine, e.g:
docker-compose --env-file <devnet-name>.vars -f docker-compose.lighthouse.yml up -d
- Check your logs to confirm that they are up and syncing, e.g
docker logs lighthouse_beacon -f --tail=20
- To stop the clients, run
docker-compose -f <insert file name you used earlier here> down