Setup

This guide will walk you trough the basics of setting up a KYVE node

Clone the repository and install dependencies

  1. Clone the repository

    git clone https://github.com/KYVENetwork/kyve.git
  2. Install and link dependencies

    yarn setup
  3. Switch into the node folder

    cd integrations/node

Create a config.json

touch config.json

Inside your config.json you need to specify the pool id with the number of tokens you want to stake per pool. Your config should look like this:

{
"pools": {
"0": 1,
"2": 10
// add further pool ids here
}
}

In the example above, your node would stake 1 $KYVE token in the pool with ID 0 and 10 tokens in the pool with ID 2. You can find a list of available pools here. If your account does not have enough tokens to stake in the pool, the process for the pool will fail.

Copy your arweave key file

If you don't have an Arweave key file yet, you can create or claim one here. We recommend renaming your key file in arweave.json as it is automatically covered by the .gitignore. Please make sure, that your wallet has a sufficient amount of AR to take part in validation or uploading. You also need $KYVE tokens to run the node. You can get $KYVE tokens here. While KYVE is running as a testnet, you can claim free tokens here.

Create a .env-File

Create your .env file and add the following

CONFIG=config.json
WALLET=arweave.json

Note: If your keyfile or config-file have different names, change them accordingly