1. Deploy Smart Contracts
Set up and deploy your DataDAOโs smart contracts on the Moksha testnet.
Clone and Install
git clone https://github.com/vana-com/vana-smart-contracts.git
cd vana-smart-contracts
git fetch origin develop
git checkout develop
npm install
cp .env.example .env
Tip
This
develop
branch contains the first implementation of VRC-20 standard. Itโs currently undergoing audit and will be merged into the main branch soon.
Configure .env
.env
Edit .env
with these required fields:
DEPLOYER_PRIVATE_KEY=0x... # Your private_key from the previous step
OWNER_ADDRESS=0x... # Your address from the previous step
DLP_NAME=QuickstartDAO # Name of your DataDAO
DLP_PUBLIC_KEY=secret_random_key # Key to encrypt access keys. A random secret string.
DLP_TOKEN_NAME=QuickToken # Token name
DLP_TOKEN_SYMBOL=QTKN # Token symbol
VESTING_BENEFICIARY=0x... # Your address from the previous step too
VESTING_AMOUNT=1000 # Any non-zero value up to 1_000_000_000
Security Note
.env
files contain sensitive keys. Do not commit this file to Git or share it โ anyone with access to yourDEPLOYER_PRIVATE_KEY
can take control of your contracts.
You can leave other fields (e.g., DLP_PROOF_INSTRUCTION
, DLP_FILE_REWARD_FACTOR
) as defaults for testing.
Deploy to Moksha Testnet
The vana-dlp-smart-contracts
repo contains many smart contracts used across the Vana ecosystem. You wonโt need all of them right now โ the DLPDeploy
tag deploys only the contracts required to launch your DataDAO.
npx hardhat deploy --network moksha --tags DLPDeploy
After deployment, copy the addresses for your new contracts from the output logs and save them. You will need them later.
Token Address
Vesting Wallet Address
DataLiquidityPoolProxy
(look forProxy deployed to:
)

You may see error logs related to contract verification. You can safely ignore those messages - all contracts will be verified onchain.
View Your Contracts on Vanascan
Visit moksha.vanascan.io and search for each of your contract addresses:
- Your token contract shows metadata, total supply, and recent token transfers
- Your
DataLiquidityPoolProxy
contract has a rich list of methods viewable in the Contract tab. This is your DataDAOโs main contract. - Your
VestingWallet
contains the vesting schedule and logic for your team's token allocation. Verify them in the Contract tab.
Updated about 2 hours ago