Update (12/3/2024): Change to verkle-gen-devnet-4
This guide will demonstrate how to setup nodes on the Verkle testnet (verkle-gen-devnet-4). Please note that the current verkle testnets change very frequently, so some configurations may be outdated. However, the overall setup flow should look pretty much the same.
We will need the configuration and genesis files from the above repository later.
We will handle the consensus client and the execution client in their respective folder later.
The JWT token is needed to authenticate the HTTP connection between the consensus client and execution client.
By now, your folder should have the following structure:
As of writing this guide, only Lighthouse and Lodestar have supported the Verkle Testnet. Here, we will use Lighthouse.
First, go into the consensus client folder:
Follow the official guide to build the lighthouse binary.
Some notes:
--testnet-dir
: This points to the network-configs/gen-devnet-4
folder of the verkle-devnets
repository that you have cloned just now.--boot-nodes
: Refer to this file.If you need more details on all flags, do /root/.cargo/bin/lighthouse --help
.
You should see something like this when you start the node:
As of writing this guide, only geth supports Verkle Testnet.
First, go into the execution client folder:
We are using the genesis.json
file that is included in the verkle-devnets
repository.
You should see something like this:
Check out verkle.info for the latest updates. If you need educational materials on Verkle Tree, you can refer to this awesome-verkle repository.