Install Go
KYVE is built using Go version 1.20+
. Follow the instructions from the official website to install go.
go version # e.g. go version go1.20.1 linux/amd64
In addition to Go, make sure you have git
and make
installed.
GitHub
Clone and build KYVE using git
:
git clone <https://github.com/KYVENetwork/chain.git>
cd chain
git fetch
git checkout tags/<tag>
make build ENV=mainnet
Here the <tag>
is the latest version which you can get here.
<aside>
⚠️ Note: You can find the compiled binary under chain/build/kyved
</aside>
After the download was done, verify that it was successful:
./kyved version
We need to initialize the node to create all the necessary validator and node configuration files
Save Chain ID
We recommend saving the chain-id into your kyved's client.toml. This will make it so you do not have to manually pass in the chain-id flag for every CLI command.
./kyved config chain-id kyve-1
Initialize