高进波的博客 其他 debian/ubuntu运行以太坊节点L1

debian/ubuntu运行以太坊节点L1

需要两种客户端,即执行层 (EL) 客户端和共识层 (CL) 客户端。

运行执行客户端nethermind

sudo add-apt-repository ppa:nethermindeth/nethermind
sudo apt-get install software-properties-common
sudo apt-get update
sudo apt-get install nethermind -y
/usr/share/nethermind/
sudo vi /etc/nethermind-main.cfg
screen sudo nethermind -c /etc/nethermind-main.cfg

运行共识客户端lighthouse

wget https://github.com/sigp/lighthouse/releases/download/v5.2.1/lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz
tar xvzf lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz
mv lighthouse /usr/local/bin/
sudo chmod +x /usr/local/bin/lighthouse
"screen sudo lighthouse bn \
  --network mainnet \
  --execution-endpoint http://localhost:8551 \
  --execution-jwt ~/keystore/jwt-secret \
  --checkpoint-sync-url https://mainnet.checkpoint.sigp.io \
  --http --http-address 0.0.0.0"

Related Post