Tutorials/ Examples

Tagline

From code to cognition — build the next generation of sovereign AI.

🧠 DAITA-XQ Tutorials & Code Examples

Hands-On With Sovereign Intelligence

Welcome to the DAITA-XQ Developer Sandbox — a growing library of practical guides, notebooks, and code samples demonstrating how to build apps and edge systems using Jewels, QuantumWave, and the Sovereign Identity Framework (SIF).

Whether you’re a researcher, IoT engineer, or Web3 developer, these tutorials will show how to integrate privacy-preserving data flows, distributed compute, and verifiable AI into your existing tech stack.

Quick Start Tutorials

Topic

Level

Description

1. Getting Started with DAITA-XQ SDK

Beginner

Learn to install the SDK, authenticate via DXQ-SIF, and run your first “Hello Sovereign World” job.

2. Create Your First Jewels Vault

Beginner

Store, encrypt, and retrieve user data with consent-based access.

3. Deploy a QuantumWave Compute Job

Intermediate

Run a distributed AI model training task and verify it with ZKP attestation.

4. Federated Learning with QuantumWave

Advanced

Collaborate on a multi-node training pipeline using encrypted data across organizations.

5. Integrate DAITA-XQ with IoT Devices

Intermediate

Connect a Raspberry Pi or edge sensor node to the QuantumWave mesh using the dxq-edge SDK.

6. Monetize Data Through Jewels Marketplace

Intermediate

Create a consent-based data-sharing contract and earn DXQ tokens securely.

Example 1 — Basic SDK Initialization

from dxq import Jewels, QuantumWave, Identity

# Authenticate with your Sovereign Identity

user = Identity.login(“your_dxq_email”, “your_secret”)

# Create a private data vault

vault = Jewels.create_vault(name=”user_activity”, encrypted=True)

# Store sample data

vault.store({“steps”: 10523, “heart_rate”: 72})

print(“Vault ID:”, vault.id)

Example 2 — Submit a Distributed Compute Job

from dxq.quantumwave import Job

# Define a distributed AI job

job = Job(

    script=”train_model.py”,

    resources={“gpu”: 2},

    verify_mode=”zkp”

)

# Launch it across QuantumWave nodes

result = job.run()

print(result.status, result.attestation)

Example 3 — Real-Time Consent Update (Jewels API)

import { JewelsVault } from “@daita-xq/sdk”;

const vault = new JewelsVault(“vx_47fa6”);

await vault.updateConsent({

  allowed_partners: [“research_dxqid_03”],

  expires: “2026-01-01T00:00:00Z”

});

console.log(“Consent updated successfully!”);

Example 4 — Connect an Edge Node

dxq edge register –name “FactorySensor_01” –jurisdiction “US”

dxq edge join –mesh quantumwave.us-east

dxq edge stream –vault vx_47fa6

This connects an IoT sensor node to the QuantumWave mesh and streams encrypted telemetry to its owner’s Jewels Vault.

Learning Path

Stage

Goal

Resources

Stage 1: Install & Configure

Setup CLI + SDK, register Sovereign ID

Developer Docs → Getting Started

Stage 2: Secure Data

Learn to create, encrypt, and manage Jewels vaults

Jewels API Reference

Stage 3: Run Compute

Submit and verify jobs on QuantumWave

QuantumWave Tutorials

Stage 4: Extend to Edge

Integrate with IoT or robotic nodes

Edge Integration Guide

Stage 5: Monetize & Deploy

Publish your app to the DXQ Marketplace

Partner Program

Community Resources

  • 📘 Example Repository: github.com/daita-xq/examples
  • 🧩 SDK Samples: Jewels, QuantumWave, and SIF reference implementations.
  • 🧑‍💻 Developer Forum: Exchange ideas, ask questions, and showcase your projects.
  • 🎥 Tutorial Videos: Step-by-step guides on data vaults, compute jobs, and federation.

Security Best Practices

  • Always encrypt vault data client-side.
  • Use verify_mode=”zkp” for sensitive or shared tasks.
  • Rotate DXQ tokens every 30 days.
  • Never expose private keys in scripts or notebooks.

Next Steps

Join the DAITA-XQ Developer Network to access advanced tutorials, early SDK releases, and partner APIs.

[ View All Tutorials ] [ Access Example Repo ] [ Join Developer Community ]