https://github.com/parithosh/lighthouse-geth-quick-start
A quick start repo for getting lighthouse and geth connected to the pithos testnet with a validator
https://github.com/parithosh/lighthouse-geth-quick-start
Last synced: 4 months ago
JSON representation
A quick start repo for getting lighthouse and geth connected to the pithos testnet with a validator
- Host: GitHub
- URL: https://github.com/parithosh/lighthouse-geth-quick-start
- Owner: parithosh
- Created: 2021-10-28T21:55:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-05T09:12:48.000Z (almost 3 years ago)
- Last Synced: 2025-02-09T01:42:19.223Z (over 1 year ago)
- Size: 39.2 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# devnet quick run scripts for lighthouse + geth
## General information
- All the config files, `genesis.ssz` and other variables needed for the testnet are placed under `custom_config_data`.
## Instructions to join testnet
1. Clone this repository
2. Ensure `docker` and `docker-compose` is installed: `docker-compose --version` and `docker --version`
3. Create the required directories for persistent data with `mkdir -p execution_data beacon_data`
4. 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 the `validator_keys` folder contains a `secrets`, `validators` folders and a `pubkey.json` file.
5. Find your IP address(public IP) and add it to the `.vars` file file, this is just to ensure easy peering
5.1 `curl 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
6. Note: If you have an M1 mac, run `export DOCKER_DEFAULT_PLATFORM=linux/amd64` otherwise the images will not be downloaded
7. Run your chosen execution engine, e.g: `docker-compose --env-file .vars -f docker-compose.geth.yml up -d`
8. Run your chosen consensus engine, e.g: `docker-compose --env-file .vars -f docker-compose.lighthouse.yml up -d`
9. Check your logs to confirm that they are up and syncing, e.g `docker logs lighthouse_beacon -f --tail=20`
10. To stop the clients, run `docker-compose -f down`