Skip to content

Instantly share code, notes, and snippets.

@sofianhw
Created February 27, 2023 09:06
Show Gist options
  • Save sofianhw/5cbb4ff17345c4db231f6312fff72e9d to your computer and use it in GitHub Desktop.
Save sofianhw/5cbb4ff17345c4db231f6312fff72e9d to your computer and use it in GitHub Desktop.
prysm + geth as node ethereum
# create folder
mkdir -p ethereum/consensus ethereum/execution
cd ethereum/consensus/
mkdir prysm && cd prysm
curl https://raw.githubusercontent.com/prysmaticlabs/prysm/master/prysm.sh --output prysm.sh && chmod +x prysm.sh
# installing geth
cd ../../execution
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
geth --http --http.api eth,net,engine,admin
# run prysm
cd ../../consensus/prysm
./prysm.sh beacon-chain --checkpoint-sync-url=https://beaconstate-mainnet.chainsafe.io --execution-endpoint=$HOME/.ethereum/geth.ipc --suggested-fee-recipient=0xaF7f06627D028f4Cc38D686aC47e1bDCa6e9a060
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment