https://github.com/rjected/multi-reth-scripts
Scripts for running reth on multiple testnets on the same machine
https://github.com/rjected/multi-reth-scripts
Last synced: 9 months ago
JSON representation
Scripts for running reth on multiple testnets on the same machine
- Host: GitHub
- URL: https://github.com/rjected/multi-reth-scripts
- Owner: Rjected
- License: mit
- Created: 2023-06-28T04:15:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-28T04:32:48.000Z (almost 3 years ago)
- Last Synced: 2025-02-09T03:14:42.650Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# multi-reth-scripts
Scripts for running reth on multiple testnets on the same machine.
This runs reth on the following networks:
| Network | Datadir | RPC port |
| ------- | ----------------- | -------- |
| Mainnet | /mnt/reth/mainnet | 8545 |
| Sepolia | /mnt/reth/sepolia | 8546 |
| Goerli | /mnt/reth/goerli | 8547 |
`/mnt` should be large since this runs 3 archive nodes at once.
Logs are also stored, for reth and lighthouse, under `/mnt`.
This consists of the following scripts:
- `start-reth`, which starts mainnet reth
- `start-lighthouse`, which starts mainnet lighthouse
- `start-reth-sepolia`, which starts sepolia reth
- `start-lighthouse-sepolia`, which starts sepolia lighthouse
- `start-reth-goerli`, which starts goerli reth
- `start-lighthouse-goerli`, which starts goerli lighthouse
The lighthouse nodes are currently started without checkpoint sync. When running for the first time, reth scripts should be started before lighthouse scripts, because the reth script will initialize the datadir and JWT for lighthouse.
Reth logs are run with the `info,rpc=trace,rpc::engine=trace` filter, meaning engine events and RPC queries are logged + persisted.