Disclamer
Only for experimental purposes. Don't use in production
Docs
- https://sepolia.ethpandaops.io/
- https://sepolia.dev/
- https://github.com/eth-clients/sepolia
- https://www.offchainlabs.com/prysm/docs/install/install-with-script/
Steps
Make dirs
mkdir -p ~/ethereum/consensus
mkdir -p ~/ethereum/execution
mkdir -p ~/ethereum/bin
Download binaries
Geth:
cd ~/ethereum/bin && curl https://raw.githubusercontent.com/OffchainLabs/prysm/master/prysm.sh --output prysm.sh && chmod +x prysm.sh
Prysm:
cd ~/ethereum/bin && wget https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.15.11-36b2371c.tar.gz && tar -xzvf geth-linux-amd64-1.15.11-36b2371c.tar.gz
Generate JWT
cd ethereum && openssl rand -hex 32 | tr -d "\n" > "jwt.hex"
Run geth
(in screen)
cd ~/ethereum/execution && ~/ethereum/bin/geth-linux-amd64-1.15.11-36b2371c/geth --sepolia --http --http.api eth,net,engine,admin --http.addr 0.0.0.0 --authrpc.jwtsecret=~/ethereum/jwt.txt
Test:
curl -s http://localhost:8545 -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
Run prism
(in screen)
cd ~/ethereum/consensus && ~/ethereum/bin/prysm.sh beacon-chain --execution-endpoint=http://localhost:8551 --sepolia --jwt-secret=~/ethereum/jwt.txt --checkpoint-sync-url=https://sepolia.beaconstate.info --genesis-beacon-api-url=https://sepolia.beaconstate.info --grpc-gateway-host 0.0.0.0
Test:
curl -s http://localhost:3500/eth/v1/node/syncing
Open firewall
sudo ufw allow 8545/tcp
sudo ufw allow 3500/tcp
Top comments (0)