Connecting a Local Node to a Proof-of-Stake (PoS) Network
Prerequisites
Step 1: Initialize Geth Execution Client
geth init --datadir ./execution/data ./genesis.jsonStep 2: Start Geth Execution Client
geth --networkid 32382 \
--http \
--http.api eth,net,web3,admin \
--http.addr 0.0.0.0 \
--http.corsdomain="*" \
--http.port 8000 \
--port 8400 \
--metrics.port 8300 \
--ws \
--ws.api eth,net,web3 \
--ws.addr 0.0.0.0 \
--ws.port 8103 \
--authrpc.vhosts="*" \
--authrpc.addr 0.0.0.0 \
--authrpc.jwtsecret "./jwt.hex" \
--authrpc.port 8200 \
--datadir "./execution/data" \
--bootnodes "enode://c7489772eb8cb8346c1253f423ed12fc6140a1b24d854fc416b6644c007931c524f9cdf96193f8d3aee8e316b70c150dea233aebf6feb3c9ce813971b178c593@34.46.205.31:8400,enode://ba8f8227271f0e5236770159c6c6e396d9d69507bc91e91c2707a88725eeb0c668f531f761ad69ed1a2aac0e85777879a796eb5a30d3bec299ba335e709dd939@34.46.205.31:8401,enode://b8002ed2e6b31e5b3fc55655c2f67ef6723175be76eabf4fdecd7550512d9ee4f08fae726d86bed0c78ca09d60ff5cbc6f037bde5d684698f1ebbee97926c0c0@34.46.205.31:8402,enode://aaf4c069eaa55314fd325ac6e15770286527daf5007f8aae3620e3025debc49dc195e0f93820d3990358f6c521039981c25fc9027eeb06f47e3fe2c184494e27@34.46.205.31:30301" \
--verbosity 3 \
--syncmode snapStep 3: Start the Beacon Chain (Consensus Client)
Step 4: Start the Validator
Step 5: Wait for Synchronization
Step 6: Connect Wallet (e.g., MetaMask) to the Network
Add Custom Token
Conclusion
Last updated