Troubleshooting
If you run into any problems, please visit the troubleshooting page for help.
component. -->
This tutorial explains how to run an Taiko node for our testnet Hekla from source code.
Please follow the Building a Node from Source guide before continuing.
This guide presumes you have built the required images already (taiko-geth
and taiko-client
).
These are the recommended specs of a mainnet Geth node; the actual requirements may be lower.
Node operators should plan for future storage needs as the requirements will grow continuously.
taiko-geth
and taiko-client
communicate over the standard Ethereum engine API authrpc. This communication is secured using a shared secret.
You will need to generate a shared secret in the form of a 32 byte hex string.
taiko-geth
It’s generally better to start taiko-geth
before you start taiko-client
as you will encounter less error messages.
taiko-geth
can be started without taiko-client
and will wait until taiko-client
begins communicating.
Navigate to your taiko-geth
directory
Find the directory where you built the taiko-geth
binary.
Copy the JWT secret you generated into the taiko-geth
directory.
Start taiko-geth
Use the following command to start taiko-geth
in a default configuration.
The JSON-RPC API will become available on port 28545.
taiko-client
This guide assumes you are running both taiko-geth
and taiko-client
on the same machine.
If you aren’t, you can configure the ports and addresses so that the services can access each other.
Navigate to your taiko-client
directory
Find the directory where you built the taiko-client
binary.
Copy the JWT secret
Set environment variables
The following URLs should be a Holesky node.
You will need either an RPC provider, or run a full Holesky node yourself.
Start taiko-client
Use the following command to start taiko-client
in a default configuration.
You can find all other configurable flags by running ./bin/taiko-client driver
.
This command assumes you’ve run the taiko-geth
command as is, if you’ve changed ports please change them accordingly.
Once you’ve started taiko-geth
and taiko-client
properly you should see them communicate with each other and start syncing.
Syncing can take several hours, depending on the size of the chain.
Troubleshooting
If you run into any problems, please visit the troubleshooting page for help.