moecat

moecat

摸鱼大师

Setting up your own Ethereum full node

The steps are as follows:

Preparation:

  • ubuntu23.10
  • Several large mechanical hard drives composed of LVM, preferably larger than 20T
  • Unobstructed internet access

Download NiceNode
Choose the deb package and install it.

Then follow the prompts to install podman.

After selecting Geth+Lighthouse, start it and set the network connection limit according to your own network settings.

A full node ledger will start syncing.

Check the Geth version:

curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' http://localhost:8545

{"jsonrpc":"2.0","id":67,"result":"Geth/v1.13.10-stable-bc0be1b1/linux-amd64/go1.21.6"}

Verify:

curl --data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545

{"jsonrpc":"2.0","id":1,"result":"0x29b00d"}
Syncing has already started.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.