Join Chiado
:::important Chiado is our new and improved testnet. Please make sure to transition all your testing and development processes here. Also note that on Chiado we've changed the denomination to award. :::
Overview
This tutorial explains how to run the Warden binary, wardend, and join the Chiado testnet.
Prerequisites
Before you start, complete the following prerequisites:
We recommend running public testnet nodes on machines with the following characteristics:
at least 4 cores
16GB of RAM
300GB of disk space
Install Go 1.22.3 or later.
If you wish to build the binary from the source code, install just 1.34.0 or later.
1. Install
To be able to interact with the node, install wardend (the Warden binary) using the script below. There are two ways to do it:
Option 1: Use the prebuilt binary
Download the binary for your platform from the release page and unzip it. The archive contains the
wardendbinary.Navigate to the directory containing the binary and initialize the node:
:::tip When interacting with the node, you should add the path to the binary before
wardendcommands. :::
Option 2: Use the source code
Clone the repository and navigate to the root directory:
The binary is located in
/wardenprotocol/build.Use our
justscript to build thewardendbinary and install it to the$GOPATH/bindirectory. Then initialize the node.Alternatively, you can skip installation to
$GOPATH/bin::::tip When interacting with the node, you should add the path to the binary before
wardendcommands. If you install the binary to$GOPATH/bin, it's not required. :::
2. Configure
To configure wardend, do the following:
Prepare the
genesis.jsonfile:These commands will remove the
$HOME/.warden/genesis.jsonfile and replace it with the correct version.In the
app.tomlfile, set the mandatory options: the minimum gas price and a list of seeds nodes.These commands will update the
minimum-gas-pricesandseedsfields in$HOME/.warden/app.toml. Alternatively, you can adjust the file manually.
3. Set up the state sync
:::tip This step is recommended but optional. :::
To speed up the initial sync, you can use the state sync feature. This will allow you to download the state at a specific height from a trusted node and after that only download the blocks from the network.
You'll need to use a trusted RPC endpoint – for example, the following:
From this RPC endpoint, you can get the trusted block height and hash:
Check that all variables have been set correctly:
The output should be similar to this:
Add the state sync configuration to the
config.tomlfile:These commands will update the
[statesync]section in$HOME/.warden/config.toml. Alternatively, you can adjust the file manually.
4. Start the node
Now you can start the node using the following command:
If needed, add the path to the binary before the command:
It'll connect to persistent peers provided and start downloading blocks. You can check the logs to see the progress.
Next steps
After joining Chiado, you can take these steps:
If you want to create a validator, follow the instructions in the Create a validator section.
To learn more about
wardendcommands for interacting with the node, see Node commands.Don't forget to join our community in Discord.
Last updated