|
| 1 | +#!/bin/bash |
| 2 | + |
| 3 | +GETH_LOG_FILE="./logs/geth.log" |
| 4 | +LIGHTHOUSE_LOG_FILE="./logs/lighthouse.log" |
| 5 | + |
| 6 | +echo "Starting Ethereum Execution Node (geth)..." |
| 7 | +geth --authrpc.addr localhost \ |
| 8 | + --authrpc.port 8551 \ |
| 9 | + --authrpc.vhosts localhost \ |
| 10 | + --authrpc.jwtsecret ~/.ethereum/geth/jwtsecret >> "$GETH_LOG_FILE" 2>&1 & |
| 11 | + |
| 12 | +echo "Starting Beacon Node (lighthouse)..." |
| 13 | +lighthouse bn \ |
| 14 | + --network mainnet \ |
| 15 | + --execution-endpoint http://localhost:8551 \ |
| 16 | + --execution-jwt ~/.ethereum/geth/jwtsecret \ |
| 17 | + --disable-deposit-contract-sync \ |
| 18 | + --http >> "$LIGHTHOUSE_LOG_FILE" 2>&1 & |
| 19 | +# --http \ |
| 20 | +# --checkpoint-sync-url https://beaconstate.info >> "$LIGHTHOUSE_LOG_FILE" 2>&1 & |
0 commit comments