The Yanda protocol’s primary goal is to make the DeFi a better and more transparent place.
The main targets of Yanda are brokers, who play a fundamental role within the entire ecosystem. They must provide their validators with a validator app that satisfies the audit level determined by the governance vote for adding the new broker to the Yanda protocol.
This validator app is made up of two processes:
oracle the YND price to the ERC-20 smart contract;
carry the audit on services provided by the broker.
The validators, instead, browse within the Service Log to confirm the legitimacy of the broker activity toward executing a contract signed with the end-user. For this reason, the validator app should always be open source and verifiable by the community at any time.
But first, how can you set up a validator? The step-by-step tutorial will teach you how to set up your validator!
Please, before you do any actions and setting up:
Pay attention: The Yanda protocol runs on the CELO Alfajores testnet.
Remember that these tokens are not real and are not tradable for other tokens. They have no value; their primary purpose is to test the protocol and trade on Yanda during the test-net phase;
You need to own a Metamask wallet with funds on the CELO ALfajores Testnet network and a running pc with an internet connection / Digital Ocean server. If you don't have a Metamask wallet, download it and install it on Chrome;
If you want to run a validator, we recommend using a new wallet with no funds and don’t share your private key with anyone if you have funds.
Set up a Metamask Wallet
It would help if you had a Metamask wallet to receive your validation’s profit correctly and trade with the app.
First of all: open your Metamask > click on your Profile image (in the top right corner) > "Settings" > "Networks" > "Add network"
Insert these right inputs in the empty fields:
Network Name: Celo (Alfajores Testnet)
New RPC URL: https://alfajores-forno.celo-testnet.org
Chain ID: 44787
Currency Symbol (Optional): CELO
Block Explorer URL (Optional): https://alfajores-blockscout.celo-testnet.org
"Save" the network should be under Metamask's dropdown list.
To add CELO to your wallet:
Firstly, you must select the CELO network from the dropdown list on Metamask. Then, you can copy and paste your account address onto this page and finally check the captcha box.
To get your private key from the Metamask wallet, click on the three dots next to your address > "Account Details" > "Export Private Key"
Once authenticated, copy your private key in a safe place!
Add the YND token to your wallet:
After selecting the CELO network from Metamask, you have to click on “Import Tokens” > Paste this address “ 0xF82e6a3D0fE40EDdf0Bcf3c4bBe9c0bE795D7Fb7 “ in the field of “Token Contract Address” > “Add your custom token”. Now, you can see (YND) on your Metamask wallet.
Please note: to receive YND go to our discord, write on the "yanda-token-ynd" text channel and ask to receive funds for free to your wallet.
Set up your machine on local and remote on Digital Ocean:
Install Docker on your pc with this link
Run the following command on your terminal: " docker pull yanda1/dev-validator:<yanda-app-version> "
Pay attention to run always the latest version here
After the download, run the following command on your terminal and insert your wallet private key when needed " docker run --env PRIVATE_KEY=<your-private-key> yanda1/dev-validator:<yanda-app-version> "
Now your validator app is running, so you can contact us to communicate your node and add it to the list
Open your account by clicking “Launch your app” > “Docker Hub” > on the “Repository” paste “yanda1/dev-validator” > “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, and click on "Launch Basic App";
After the deployment is completed, contact us on Discord or Telegram to add your node to our validator list.
A valuable and explanatory summarized video about how to set up a Yanda's validator on Digital Ocean.
For doubts and questions, please join our Discord channel.