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

How to Reset Alcatel Pop 2 (4)

Hard reset Samsung galaxy

How the ISO 26262 Updates Affects You

ISO 26262 Compliance

X Swap Protocol preparing for decentralized exchange ( DEX ) and automated market maker (AMM) for…

Remote Debugger

Cross-Platform file downloads using Flutter

Single Responsibility Principle

Stubbing XCUITests with Vapor Server Side Swift Framework

6 steps to migrate from HipChat to Microsoft Teams

Migrate from Hipchat to Microsoft Teams

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

Membuat Predictions Gambar Hewan Menggunakan CMD dan Heroku

721craft: a token gated Minecraft server

Sundae Finance Nodes

Weekly newsletter of Pascal Bornet — Issue #68