June 22, 2022
Installing KYVE nodes in Polkadot/Kusama protocols
Telegram @letcryptowalk
At the moment (06.22.22) the official substrate binary is giving errors.
You can run the node on Polkadot/Kusama by running the commands below in sequence.
<your_mnemonic> - change to your mnemonic (including <>)
<your_stake> - change to number of $KYVE tokens you want to stake (including <>)
Let's set the pool variables. To do this, run ONLY ONE of two commands, depending on the pool you want to enter:
MNEMONIC="<your_mnemonic>" && STAKE=<your_stake> && POOL=17 && NAME="polkadot"
MNEMONIC="<your_mnemonic>" && STAKE=<your_stake> && POOL=18 && NAME="kusama"
Your arweave.json file should be in the /root directory.
If you don't have it, you can use the Node.Guru guide to create it.
V=$(wget -qO- https://api.github.com/repos/kyve-org/substrate/releases/latest | jq -r ".tag_name") && \
wget https://github.com/kyve-org/substrate/releases/download/${V}/kyve-linux.zip && unzip kyve-linux.zip && rm -Rvf kyve-linux.zip __MACOSX && chmod u+x kyve-linux && mv kyve-linux /usr/bin/kyve-substratesudo tee <<EOF >/dev/null /etc/systemd/system/kyved.service [Unit] Description=Kyve Node After=network.target [Service] Type=simple User=$USER ExecStart=$(which kyve-substrate) --poolId $POOL --mnemonic "$MNEMONIC" --initialStake $STAKE --keyfile $HOME/arweave.json --verbose Restart=on-failure RestartSec=10 LimitNOFILE=65535 [Install] WantedBy=multi-user.target EOF
sudo systemctl daemon-reload && sudo systemctl enable kyved && sudo systemctl restart kyved
sudo journalctl -u kyved -f -o cat