How to run a protocol node with system file

wget https://github.com/kyve-org/near/releases/download/v0.0.0/kyve-near-linux.zip
unzip kyve-near-linux.zip
mv near-linux /usr/bin/kyve-near
sudo chmod +x /usr/bin/kyve-near
POOLNAME=<name of the pool>
POOLID=<number of the pool>
MNEMONIC=<mnemonic of the validator walet>
STAKE=<your amount of stake>
sudo tee <<EOF >/dev/null /etc/systemd/system/kyve-neard.service 
[Unit]
Description=Kyve Node
After=network.target
[Service]
Type=simple
User=$USER
ExecStart=/usr/bin/kyve-$POOLNAME \
--poolId $POOLID \
--mnemonic "$MNEMONIC" \
--initialStake $STAKE \
--keyfile /root/arweave.json \
--network korellia \
--verbose
Restart=on-failure
RestartSec=10
LimitNOFILE=10000
[Install]
WantedBy=multi-user.target
EOF
cat /etc/systemd/system/kyve-neard.service
sudo systemctl daemon-reload 
sudo systemctl enable kyve-neard
sudo systemctl restart kyve-neard
journalctl -u kyve-neard -f

--

--

--

Professional validator, taking part in major testnets and running mainnets.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Use Flutter to Build Instagram, Facebook or WhatsApp Stories in 30minutes-Meta got nothing on you.

Simple AWS lambda using java

VCV rack is the ish

CS373 Fall 2020: Divya Manohar

Crust Shadow Network is launching its Governance Module

Five and a half Lines of Code for Understanding Your Data with Pandas today

9 tips to get bare minimum of web accessibility

Getting Started with Python, Anaconda, Google Colab and Virtual Environments

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ivan Staker

Ivan Staker

Professional validator, taking part in major testnets and running mainnets.

More from Medium

Woodward and Bernstein: The Dynamic Duo to End All Dynamic Duos

Decluttering Taints, Tolerations and Node Affinity

KYVE -How to install a node with KYSOR?

dYdX Trading Tool Requests Guide