DataDAO Creator Quick Start

Achieve a quick win on Vana with this hands-on tutorials for builders.

Launch a demo DataDAO on the Vana Moksha testnet in minutes using the create-datadao CLI tool. Get a fast, hands-on start with a demo project that collects Google Drive data.

What you'll accomplish:

  • Deploy a DataDAO token and Data Liquidity Pool (DLP) contract.
  • Register your DataDAO on the Vana Moksha testnet.
  • Launch a basic web interface for data contributions.

Prerequisites:

Before you start, you'll need to have the following ready:

  1. Node.js: Version 18+ installed (nodejs.org).
  2. Pinata API Keys: A Pinata API Key and API Secret are required for data pinning by your DataDAO. You can get these from your account at pinata.cloud.
  3. Google OAuth Credentials: Necessary for enabling user sign-in (e.g., with Google) on your DataDAO's web interface. Set these up in the Google Cloud Console.
  4. GitHub Account: A GitHub account is needed as the tool will create new repositories to store components of your DataDAO, such as data validation logic.
  5. GitHub CLI (Recommended): While not strictly required, having the GitHub CLI installed is recommended to automatically manage the creation of your new code repositories.

Steps:

1. Initialize Project

In your terminal, run:

npx create-datadao create my-datadao

(You can replace my-datadao with your chosen project name.)

2. Choose "Quick Setup"

When the tool prompts you:

  • Select "Quick Setup".

This mode auto-generates a wallet, uses default settings, and minimizes prompts (it will ask for the credentials listed above). The create-datadao tool will also guide you to get testnet VANA for the new wallet. It will then deploy contracts, register your DataDAO, and set up its UI. This typically takes 5-10 minutes once prerequisites are met and any required VANA is funded.

3. Access Your Demo DataDAO

Once setup completes, the tool will display your DataDAO's information, including the URL for its web interface. Open this URL in your browser to see your live demo DataDAO.

Key Info:

  • Testnet Deployment: Your DataDAO is on the Vana Moksha testnet (transaction fees apply).
  • Demo Data (Google Drive): The initial setup uses Google Drive for its data source.

Next Steps: Develop Your DataDAO

Congratulations on your first deployment! Now you're ready to customize your DataDAO, which includes:

For the full picture, we recommend starting with Proof of Contribution.