Skip to main content

Execution Client: Oone Geth

To connect to the OONE chain, you need to compile and run the Oone version of geth.

danger

If you do not use the Oone version of geth, your deposits will be lost

Geth

One of the three original implementations of the Ethereum protocol.

More on Geth

Code changes

The Oone version oone-world/go-ethereum is a fork from the original ethereum/go-ethereum with a change of the initial base fee being equel to 110 GWei. In contrast with vanilla Ethereum, base fee can't decrease below initial base fee, so 110 GWei is minimum.

Language information

Geth is written in Go, fully open source and licensed under the GNU LGPL v3.

Installation

These commands download the Oone lighthouse repository, switch to the oone branch, compile and install the dependencies

apt install make cmake build-essential protobuf-compiler libclang-dev
git clone https://github.com/oone-world/go-ethereum
cd go-ethereum
git switch stable-1-12-0
make

Initialization

Download the genesis file oone-genesis.json.

Initialize your node using the command:

geth init oone-genesis.json

Running the node

Run the following command to start your Geth node

geth \
--networkid 333666 \
--authrpc.port 8551 \
--syncmode full \
--eth.requiredblocks 0=0x9aaef5eba7c455e183ecd5eed876583a66f2d1dd6dad4c55ac38286076594dc9 \
--bootnodes=enode://ef0d763b5ec71d1156bd7d45e38a344729d62355ca02e944bfecbb008fb47416beac67774271ae0fe5d24fc0950f0f480c834f041b3496f4aeb398b5bcc4688a@3.28.226.180:30303,enode://3ee89ad0646e6aca0124f9e9e78c289d71b20772020a1eba89b95e4cab5dcf2fd6d9e8ce7a9a42787a9deaf8f39f865c74ffcf32fd43e95e753174d560eb43d3@3.29.58.247:30303

JSON RPC endpoint

Use --http to connect your consensus node to the JSON RPC endpoint. This will enable the JSON RPC services on the default 8545 port.

command line options documentation

Docker usage

Use this instruction for launching geth node client using docker

Documentation

Documentation on running Geth

Remember

After client installation, ensure you are fully synced before submitting your staking deposit. Validator checklist