Installation
Versions
Depending on the network one may need to run different versions. The following table shows the upgrade block height for a given version:
Tag | Kaon | Mainnet |
---|---|---|
v1.0.0-rc0 | 0 | - |
v1.0.0-rc1 | 443300 | - |
v1.0.0 | - | 0 |
v1.1.0 | 1115111 | 826000 |
v1.2.0 | 1502502 | 1135000 |
v1.3.0 | 2341100 | 2061100 (VOTING) |
For the Korellia devnet there is no version map. Only the latest version via blocksync is supported.
Obtain binaries
Depending on which network you want to join you have to obtain the binaries differently.
- Mainnet
- Kaon
- Korellia
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.
Clone and build KYVE using git
:
git clone https://github.com/KYVENetwork/chain.git
cd chain
git fetch
git checkout tags/<tag> -b <tag>
make build
Here the <tag>
is the latest version which you can get here.
For building v1.1.0 or later on needs to additionally define the environment, i.e. make build ENV=mainnet
Note: You can find the compiled binary under chain/build/kyved
After the download was done, verify that it was successful:
./kyved version
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.
Clone and build KYVE using git
:
git clone https://github.com/KYVENetwork/chain.git
cd chain
git fetch
git checkout tags/<tag> -b <tag>
make build ENV=kaon
Here the <tag>
is the latest version which you can get here.
Note: You can find the compiled binary under chain/build/kyved
After the download was done, verify that it was successful:
./kyved version
v0.8.0
linux/amd64
wget https://s3.eu-central-1.amazonaws.com/files.kyve.network/chain/v0.8.0/kyved_linux_amd64.tar.gz
tar -xvzf kyved_linux_amd64.tar.gz
mv chaind kyved
linux/arm64
wget https://s3.eu-central-1.amazonaws.com/files.kyve.network/chain/v0.8.0/kyved_linux_arm64.tar.gz
tar -xvzf kyved_linux_arm64.tar.gz
mv chaind kyved
darwin/amd64
wget https://s3.eu-central-1.amazonaws.com/files.kyve.network/chain/v0.8.0/kyved_darwin_amd64.tar.gz
tar -xvzf kyved_darwin_amd64.tar.gz
mv chaind kyved
darwin/arm64
wget https://s3.eu-central-1.amazonaws.com/files.kyve.network/chain/v0.8.0/kyved_darwin_arm64.tar.gz
tar -xvzf kyved_darwin_arm64.tar.gz
mv chaind kyved
After the installation is done, verify that it was successful:
./kyved version
Initialize Node
We need to initialize the node to create all the necessary validator and node configuration files
- Mainnet
- Kaon
- Korellia
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 node by providing your moniker and the chain id
./kyved init <your_custom_moniker> --chain-id kyve-1
IMPORTANT: Monikers can contain only ASCII characters. Using Unicode characters will render your node unreachable.
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 kaon-1
Initialize node by providing your moniker and the chain id
./kyved init <your_custom_moniker> --chain-id kaon-1
IMPORTANT: Monikers can contain only ASCII characters. Using Unicode characters will render your node unreachable.
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 korellia
Initialize node by providing your moniker and the chain id
./kyved init <your_custom_moniker> --chain-id korellia
IMPORTANT: Monikers can contain only ASCII characters. Using Unicode characters will render your node unreachable.
Once the installation and initialization was successful you can proceed to the node configuration.