NOTE: You are required to have Go 1.19.x installed on your instance.
First, we'll want to clone the source code and check out the v1.0.0-rc0
release tag:
git clone https://github.com/KYVENetwork/chain
cd chain
git fetch --tags
git checkout v1.0.0-rc0Now that we have checked out the correct tag, we can go ahead and run the following:
make installIf you've configured your Go paths correctly, you will now have kyved in your
global path. To double-check that you're running the correct version, run the
following:
kyved version
# 1.0.0-rc0darwin/amd64: https://files.kyve.network/chain/v1.0.0-rc0/kyved_darwin_amd64.tar.gz
darwin/arm64: https://files.kyve.network/chain/v1.0.0-rc0/kyved_darwin_arm64.tar.gz
linux/amd64: https://files.kyve.network/chain/v1.0.0-rc0/kyved_linux_amd64.tar.gz
linux/arm64: https://files.kyve.network/chain/v1.0.0-rc0/kyved_linux_arm64.tar.gz
kyved init <moniker>Note this will initialise your validator in the default ~/.kyve home
directory.
Additionally, to make network interactions via the daemon easier, we're going to configure the Chain ID globally:
kyved config chain-id kyve-1kyved keys add <name>The above command will generate a new key for you to use. However, you can
easily import a previously generated mnemonic using the --recover flag. The
kyved daemon also comes with Ledger support, which you can access with the
--ledger flag.
In this step, we will need to register your account in the genesis file; that
way, you can generate a genesis transaction. Each genesis validator will be
allocated 1 $KYVE (1_000_000 ukyve) for initial staking.
kyved add-genesis-account <address> 1000000ukyvePlease note that you can find the address above using the following command:
kyved keys show <name> --addressThe following command will create and sign a genesis transaction, successfully
creating your validator on network launch. Again, please note that as your
account only has 1 $KYVE (1_000_000 ukyve) registered, you won't be able to
customise the initial stake. You can also specify additional parameters for
your validator, but we have included the required ones.
kyved gentx <name> 1000000ukyve \
--moniker <moniker> \
--identity <identity> \
--details <description> \
--security-contact <security-contact> \
--website <website>You will want to create a fork of this repository
(KYVENetwork/networks) to
submit your genesis transaction. The above step should've given you a signed
genesis transaction that you will want to put into the
./kyve-1/gentxs/<moniker>.json file. Once you have completed this, please
open a PR, and the KYVE core team will review your submission as soon as
possible.
Please note that your address and your validator address are required when
submitting your PR. This will help with the foundation delegation program. You
can obtain your validator address with the following command (it will be in the
Bech32 Val section):
kyved debug addr <address>