Run a Validator
In this guide, you'll learn how to set up your validator and help the Yanda protocol grow.
The protocol is now on the CELO Alfajores testnet, this means no real tokens are involved in the process of validating.
The number of validators is limited, which means not everyone can run a node. Before you go through the whole process, please contact us on Discord or Telegram, to know if you are eligible to run a validator.

Requirements

  • A Metamask wallet with funds on the CELO Alfajores Testnet;
  • A running pc with a stable internet connection or a Digital Ocean server.

Set up Metamask Wallet

This is needed to receive your part of the profit for the validation service and for Trading with the app, if you don't have a Metamask Wallet, download it now from here and install it on Chrome.
  • Now to add a new network open Metamask, click on your profile image on the top right corner, click on Settings, scroll down and click on Networks, then press "Add Network".
  • Fill all the input fields with these values:
1
Network Name: Celo (Alfajores Testnet)
2
New RPC URL: https://alfajores-forno.celo-testnet.org
3
Chain ID: 44787
4
Currency Symbol (Optional): CELO
5
Block Explorer URL (Optional): https://alfajores-blockscout.celo-testnet.org
Copied!
  • Click on "Save". Now the network should be under Metamask's "Networks" dropdown list.

Add funds to your wallet

Remember, these are not real tokens, they're not tradable for other tokens and they've no value. Their main purpose is to test the protocol and trade on Yanda during the test-net phase.
Add CELO to your wallet
  • Select the CELO (Alfajores Testnet) network from the dropdown list on Metamask;
  • Copy your Account address and paste it on this page https://celo.org/developers/faucet;
  • Check the "I'm not a robot" box and click on the "Get Started" button.
Add YND to your wallet
  • Select the CELO (Alfajores Testnet) network from the dropdown list on Metamask;
  • Scroll down and click on "Import Tokens";
  • Paste this address to the "Token Contract Address" field: 0xF82e6a3D0fE40EDdf0Bcf3c4bBe9c0bE795D7Fb7 ;
  • Click "Add Custom Token";
You should see the Yanda (YND) token on Metamask, to receive YND go to our Discord channel, write on the "token-alfajores-celo" text channel and ask for receiving funds for free to your wallet. You can also contact us on Telegram.

Get the private key from Metamask wallet

If you want to run a validator we recommend using a new wallet with no funds on it. Do not share your private key to anyone if you have funds on it.
Select the Celo (Alfajores Testnet) from the drop-down list, click on the three dots next to your address, click on "Account Details" and then on "Export Private Key".
Once authenticated copy your private key in a safe place, you will need it shortly.

Set up your machine

Set up on local
Set up on remote (Digital Ocean)
  • Install Docker on your pc (you can do it from this link);
  • Run the following command on your terminal:
1
docker pull yanda1/dev-validator:<yanda-app-version>
Copied!
Run always the latest version, you can find the current version here.
  • When the download is terminated, run the following command on your terminal, and insert your wallet private key when needed:
1
docker run --env PRIVATE_KEY=<your-private-key> yanda1/dev-validator:<yanda-app-version>
Copied!
  • Now that your validator app is running on your terminal, contact us on Discord or Telegram to add your node to our validators list.
  • On your Digital Ocean account click on "Launch your App";
  • Select "Docker Hub" and on the Repository field paste this: yanda1/dev-validator , click "Next";
  • Edit the Type and select "Worker" from the dropdown menu;
  • Edit the Environment Variables as follow (put your wallet private key in values):
Keys = PRIVATE_KEY Values = <your-private-key>
  • Check the Encrypt box and click on "Next";
  • Select the closest region to you and click "Next";
  • Choose a Basic Size of 1GB RAM and 1vCPU, click on "Launch Basic App";
  • After the deployment is completed, contact us on Discord or Telegram to add your node to our validator list

Fees

Validating transactions on the Yanda protocol will let you earn fees. Every time a Trading Bot is launched, the user will pay an amount of gas fees and an amount of YND token, which are 0.2% of the Initial Investment. The YND tokens then are divided as follow:
  • 33% of it are burned;
  • 33% goes to the validators;
  • 33% goes to the creator.