Skip to content

Instantly share code, notes, and snippets.

@jmcook1186
Created October 28, 2022 09:26
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jmcook1186/ea5de9215ecedb1b0105bcfa9c30d44c to your computer and use it in GitHub Desktop.
Save jmcook1186/ea5de9215ecedb1b0105bcfa9c30d44c to your computer and use it in GitHub Desktop.
geth/lodestar/clef startup
#### commands to be executed in separate terminals to start Geth, Lodestar and Clef so that they all interoperate
#### clients will connect to Sepolia testnet
#### assumes go-ethereum and lodestar are built from source in the /home directory
#### keys are stored in ~/go-ethereum/sepolia-data/keystore
# to start Geth
./geth --sepolia --datadir sepolia-data --authrpc.addr localhost --authrpc.port 8551 --authrpc.vhosts localhost --authrpc.jwtsecret sepolia-data/jwtsecret --http --signer sepolia-data/clef/clef.ipc
# to start Clef
./clef --chainid 11155111 --keystore ~/.go-ethereum/sepolia-data/keystore --configdir ~/go-ethereum/sepolia-data/clef
# to start lodestar
./lodestar beacon --network sepolia --dataDir sepolia-data --jwt-secret ~/go-ethereum/sepolia-data/jwtsecret --eth1.providerUrls http://localhost:8551 --checkpointSyncUrl=https://sepolia.checkpoint-sync.ethpandaops.io --rest --rest.address 0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment