Join Buenavista
Overview
This tutorial explains how to run the Warden binary, wardend
, and join the Buenavista testnet:
- The chain ID in queries:
buenavista-1
- Endpoints: networks repository > buenavista
- The current
wardend
version: v0.3.0
Version history
Release | Upgrade Block Height | Upgrade Date |
---|---|---|
v0.3.0 | genesis |
Prerequisites
-
We recommend running public testnet nodes on machines with the following characteristics:
- at least 8 cores
- 32GB of RAM
- 300GB of disk space
-
You'll also need to install Go.
1. Install
To join Buenavista, 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
wardend
binary. -
Initialize the chain home folder:
./wardend init <custom_moniker>
Option 2: Use the source code
Build the wardend
binary and initialize the chain home folder:
git clone --depth 1 --branch v0.3.0 https://github.com/warden-protocol/wardenprotocol/
just build
build/wardend init <custom_moniker>
2. Configure
To configure wardend
, do the following:
-
Prepare the genesis file:
cd $HOME/.warden/config
rm genesis.json
wget https://raw.githubusercontent.com/warden-protocol/networks/main/testnets/buenavista/genesis.json -
Set the mandatory configuration options:
# Set minimum gas price & peers
sed -i 's/minimum-gas-prices = ""/minimum-gas-prices = "0.0025uward"/' app.toml
sed -i 's/persistent_peers = ""/persistent_peers = "650c66dda5f7aa954f44fd6148a6f32b085ca792@sentry-0.buenavista.wardenprotocol.org:26656,7c70120717ef5eae8236162ede6819249bd6587d@sentry-1.buenavista.wardenprotocol.org:26656,288116b75c3c710268b5d86182d8dd5e33a6b56f@sentry-2.buenavista.wardenprotocol.org:26656"/' config.toml
3. Start the node
You can now start the node using the following command:
wardend start
It'll connect to persistent peers provided and start downloading blocks. You can check the logs to see the progress.
4. Create a validator
If you want to create a validator in the testnet, follow the instructions in the Create a validator section.