Cover photo

Run Carv node CLI with your Node License (Alphanet)

You have 2 options to run your Carv node license

1. Run through my delegation [Easiest & Quickest]

you can delegate your license to my wallet by following this steps

post image
  • paste 0xB90abB1c6A9FFC1168B3FBd876acAAaD682abd9D in Address input field

  • then click Delegate Now (This step need a little bit of gas fee)

post image

That’s it! my commission is only 1% and you don’t have to do anything more. Just relax and receive your node rewards.

2. Another way is to run node yourself which is the rest of this guide do.


Tutorial to start running Carv node with cli.

You can see full guide at CARV official doc

Hardware Requirements

VPS with Ubuntu 22.04

Minimum:

  • CPU with 1+ cores

  • 2GB RAM

  • 4 MBit/sec download Internet service

Recommended:

  • Fast CPU with 2+ cores

  • 4GB+ RAM

  • 8+ MBit/sec download Internet service


1. Install requirement

Install Git

apt update && apt upgrade -y
apt install -y git screen build-essential
screen -S carv

Remove old version of GO if exists and install version 1.22.4

wget https://go.dev/dl/go1.22.4.linux-amd64.tar.gz
rm -rf /usr/local/go
tar -C /usr/local -xzf go1.22.4.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin

2. Install CARV Node

git clone https://github.com/carv-protocol/verifier.git
cd verifier
git checkout verifier-alphanet
make build

3. Delegate your license

I recommend you create a new fresh wallet to run the node. You can create a new keystore by following this steps.

cd $HOME/verifier/bin
./verifier -generate-keystore -keystore-path $HOME/keystore

then create your password of this keystore.

you will get the keystore information including wallet address, save both the address and the keystore path somewhere.

  • You need to delegate your wallet that holding Carv node license to this new fresh wallet to be able to run the node with this link below.

https://alphanet-explorer.carv.io/verifiers

  • Connect your wallet that hold the Carv node license

  • Click Delegate My License

post image
  • Fill your node wallet that you save it earlier and click Delegate Now

post image
  • If you delegated correctly, it’ll show your delegated wallet like image below

post image

4. Start node

cd $HOME/verifier/bin
./verifier -keystore-path <PATH_TO_KEYSTORE> -keystore-password <KEYSTORE_PASSWORD> -reward-address <REWARD_ADDRESS> -commission-rate <COMMISSION_RATE>

Replace <PATH_TO_KEYSTORE> with your keystore file (eg ../keystore/UTC--2024-07-01T08-25-48.599985403Z--xxxxxxxxxx)

Replace with your keystore password Replace with your wallet address that you want to receive reward Replace with your commission rate If it’s working it should show like this. You can Ctrl + A + D to detach the screen and then you can close your console.