DLP Validator
# Prepare enviroment
Prerequisites
1. Install Python 3.11:
sudo apt update
sudo apt install software-properties-commonsudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.11 python3.11-venv python3.11-dev python3-pip

2. Install Poetry


3. Install Nodejs & Npm


# Setup steps
1. Clone Vana-dlp-chatgpt git repo

2. Install dependencies


3. Install Vana CLI

4. Create wallet

This creates two key pairs:
5. Export your private keys


6. Import your coldkey and hotkey addresses to Metamask:

Fund both addresses with testnet VANA:
# Creating a DLP
Generate Encryption Keys

# Deploy DLP Smart Contracts
Clone the DLP Smart Contract repo:

Install Yarn

Install dependencies:

Edit the .env file in the vana-dlp-smart-contracts directory:
.env file in the vana-dlp-smart-contracts directory:
Deploy contracts:

Update the .env file in the vana-dlp-chatgpt directory:
.env file in the vana-dlp-chatgpt directory:
# Validator Setup
Ensure you're in the vana-dlp-chatgpt directory:
vana-dlp-chatgpt directory:Fund Validator with DLP Tokens

Register as a Validator
Register your validator:


Run Validator


Create service:
Start service

Check log:

Last updated