Docker Compose implementation of GETH
- Fast CPU with 4+ cores
- 16 GB+ RAM
- Fast SSD with at least 700 GB free space in fast sync and 6TB+ in full archive mode
- 25+ MBit/s bandwidth
- 8545 TCP, used by the HTTP based JSON RPC API
- 8546 TCP, used by the WebSocket based JSON RPC API
- 8547 TCP, used by the GraphQL API
- 30303 TCP and UDP, used by the P2P protocol running the network
- 8551 TCP, Engine API - needed only for eth2 validators
- Clone this repository, run:
git clone https://github.com/Sensei-Node/geth-node
- Navigate to
geth-node
folder:
cd geth-node
- Then run the following docker compose command:
docker-compose up -d
- The following curl command will give you a true statment if the node is still syncing:
curl --location --request POST 'localhost:8545' --header 'Content-Type: application/json' --data-raw '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
- Check docker logs to see the
block_height
:
docker logs --tail 100 ethereum
- If you are running the
GETH Node
on your local Network, you can add it to your MetaMask changing networks tolocalhost 8545
, if you are running on aVM (Virtual Machine)
you can add theIP
to your trusted networks, make sure to have8545
port open.
- Contributions are welcome. Feel free to suggest improvements!
Made with ❤️ by Sensei Team