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

Requirements

    NodeJS, YARN & Docker installed on your machine
    Arweave-Wallet with AR in it, get free AR using a faucet here.

Clone the repository and install dependencies

    1.
    Clone the repository
    1
    git clone https://github.com/KYVENetwork/kyve.git
    Copied!
    2.
    Switch into the main directory
    1
    cd kyve
    Copied!
    3.
    Install and link dependencies
    1
    yarn setup
    Copied!
    4.
    Switch into the node folder
    1
    cd integrations/node
    Copied!

Create a config.json

1
touch config.json
Copied!
Inside your config.json you need to specify the pool address with the number of tokens you want to stake per pool. Your config should look like this:
config.json
1
{
2
"pools": {
3
"0xbBBfbE9A731634eDdf84C67A106CEE1F981F3f7e": 10
4
}
5
}
Copied!
In the example above, your node would stake 10 $KYVE token in the pool with address 0xbBBf... . 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

1
touch .env
Copied!
Create your .env file and add the following. If you disable SEND_STATISTICS, your node will not send any information to our Sentry. MAINTAINER and NAME are optional, but can help the team to reach out to you if your node runs into issues.
1
CONFIG=config.json
2
WALLET=arweave.json
3
PK=0x...
4
SEND_STATISTICS=true
6
NAME=my-node-name
Copied!
If your key file or config-file have different names, change them accordingly
Last modified 11d ago