Vana Node Setup - DLP Validator - OLD
Special Thanks 👏 : https://x.com/Keeperssd - https://medium.com/@hamzahnorsihab07
Server Advisor :
⭐⭐⭐ Contabo : https://bit.ly/contabourl
PQ : https://pq.hosting/?from=627713
Hetzner : https://hetzner.cloud/?ref=ASjlHtRt2swV
Digital Ocean : https://digitalocean.pxf.io/q465nn
Minimum hardware requirements :
CPU | RAM | Disk | Ubuntu |
---|---|---|---|
1+ | 8 GB+ | 10+ | Ubuntu 22.04 |
Update :
Install Vana :
Create your .env
file :
.env
file : Install Dependencies (phyton 3.11.4) + pyenv
Install CLI
Wallet :
Create Coldkey wallet & HotKey Wallet. Follow the prompts to set a secure password. Save the mnemonic phrases securely; you’ll need these to recover your wallet if needed.
Add Satori Testnet to Metamask:
Network name: Satori Testnet
RPC URL: https://rpc.satori.vana.org
Chain ID: 14801
Currency: VANA
Export your private keys. Follow the prompts and securely save the displayed private keys:
Import your coldkey and hotkey addresses to Metamask:
Click your account icon in MetaMask and select "Import Account"
Select "Private Key" as the import method
Paste the private key for your coldkey
Repeat the process for your hotkey
Fund both addresses with testnet VANA:
Visit https://faucet.vana.org
Connect your Metamask wallet
Request VANA for both your coldkey and hotkey addresses
Note: you can only use the faucet once per day. Use the testnet faucet available at https://faucet.vana.org to fund your wallets, or ask a VANA holder to send you some test VANA tokens.
Always keep your private keys and mnemonic phrases secure. Never share them with anyone.
Tutorial CREATE DLP
Create DLP, Follow the prompts to enter your name, email, and key expiration
You will get 4 files looks like this :
public_key.asc
andpublic_key_base64.asc
(for UI)private_key.asc
andprivate_key_base64.asc
(for validators)
Deploy DLP Smart Contracts
Clone the DLP Smart Contract repo:
Install dependencies:
Edit .ENV
Than insert this (fill with the address coldkey & private key you can get from metamask, than fill the description of token up to you)
**Save the edit of .ENV file by using “ CTRL + X + Y and ENTER”
Deploy Contract ( You will get deployed addresses for DataLiquidityPool and DataLiquidityPoolToken, please save it)
Check your tx here : https://satori.vanascan.io/address
Configure the DLP contract:
Visit https://satori.vanascan.io/address/ (fill your DataLiquidityPoolToken Contract)
Go to “Write proxy” tab
Connect your wallet
Go to Write Contract
Search
updateFileRewardDelay
and set it to 0Search
addRewardsForContributors
with 1000000000000000000000000 (1 million tokens)
Update you .ENV file by call back your vana-dlp-chatgpt
If you missing your file before you can find it by using :
After you found location than call it (it’s mine /root/vana-dlp-chatgpt)
Change the command above and replace it on file .ENV:
How to find your PUBLIC_KEY_BASE64 & see it ???
Mine shows like this ;
After you get long text, just copy it and replace it on the Change the command
Save the edit of .ENV file by using “ CTRL + X + Y and ENTER”
REG
Send 10 tokens to your Hotkey wallet and to your Coldkey wallet (the official documentation says so)
Register your validator:
Just do ENTER when input Name, because it’s default. Fill the password same with you crated before
Just in case you are not DLP Creator and want to registration on another DLP owner you can use the command (Change it)”
Run your validator Node
Now Ctrl + C and stop the validator
We create a service file so that the validator works in the background. For this we are looking for a way to poetry
Command to create a service file, do not forget to replace the path to poetryif it is different for you (copy the entire block and paste into the terminal)
We start the service
This conclusion shows that everything Ok
Checking logs
TEST YOUR VALIDATOR
Last updated