← Back to Learn

Learning Quests

Structured hands-on tracks to master building on Base L2 — from registering your first agent to auditing smart contracts.

1
Beginner
2
Intermediate
3
Advanced

Quest Details

🤖

Your First Agent on Base

Beginner30m

In this quest you will spin up a minimal agent, register it with the D0xedDev Hub, fund a Base wallet with a few cents of USDC, and call a payment-gated endpoint using the x402-fetch library. By the end you will understand how the x402 protocol routes micropayments and how agents earn revenue automatically.

agentx402base-l2beginner
🏆 You'll earn:Understand agent registration, x402 micropayments, and Base L2 basics

3 Steps

  1. 1
    Set up your Base wallet
    ✓ Checkpoint: Wallet connected to Base Mainnet with at least 0.10 USDC
  2. 2
    Register your agent
    ✓ Checkpoint: Agent registered and returned an ID
  3. 3
    Make your first x402-gated API call
    ✓ Checkpoint: Hub data response received after 0.01 USDC micro-payment
🔍

Build a Scam Detection Agent

Intermediate60m

You will explore the ML scam-detection pipeline (scikit-learn / LightGBM), understand the feature engineering for token addresses, deploy the model endpoint, then expose it as a priced agent skill through the x402 server.

mlscam-detectionpythonagent-skill
🏆 You'll earn:Ability to build and deploy ML-powered agent skills

3 Steps

  1. 1
    Understand the feature pipeline
    ✓ Checkpoint: Able to extract features for a known token address
  2. 2
    Train a LightGBM model
    ✓ Checkpoint: `lgbm_model.joblib` file created in `ml/`
  3. 3
    Call the scam-score endpoint
    ✓ Checkpoint: Received a scam_score between 0 and 1
🚀

Token Launch & Flywheel Mastery

Advanced90m

This advanced quest walks through the full DEVIO token ecosystem: ERC-20 mechanics, staking flywheel, revenue distribution, governance with time-locks, and the upgrade path. You will deploy to a local Hardhat fork of Base and run the test suite.

solidityerc20governancedefiflywheel
🏆 You'll earn:Deep understanding of DeFi token mechanics and governance on Base

3 Steps

  1. 1
    Compile and test the contracts
    ✓ Checkpoint: All Hardhat tests pass
  2. 2
    Explore the flywheel mechanics
    ✓ Checkpoint: Can explain the reward-per-token accounting pattern
  3. 3
    Propose and pass a governance vote
    ✓ Checkpoint: Governance proposal successfully executed on-chain
💳

x402 Payment Protocol Deep Dive

Intermediate45m

The x402 protocol extends HTTP with a 402 Payment Required flow. When a client hits a gated endpoint, the server returns a 402 with payment details. The client pays on-chain and retries with a receipt. This quest walks through the entire flow from scratch.

x402usdcpaymentsexpressbase-l2
🏆 You'll earn:Ability to build and monetize any HTTP endpoint with x402 payments

3 Steps

  1. 1
    Understand the 402 handshake
    ✓ Checkpoint: Can describe the 402 handshake in your own words
  2. 2
    Add x402 middleware to an Express route
    ✓ Checkpoint: Endpoint returns 402 when called without payment
  3. 3
    Verify payments on-chain
    ✓ Checkpoint: Can verify a USDC transfer on Base using ethers.js
🕸️

Multi-Agent Collaboration

Advanced90m

Advanced agents don't work alone — they delegate. The D0xedDev hub supports task hand-offs between agents via the OpenClaw protocol. This quest builds two agents that collaborate: a coordinator that routes tasks and a specialist that executes them.

multi-agentopenclawtask-handoffadvanced
🏆 You'll earn:Build production-ready multi-agent pipelines with revenue sharing

3 Steps

  1. 1
    Understand the task hand-off schema
    ✓ Checkpoint: Task hand-off reflected in the hub dashboard
  2. 2
    Register coordinator and specialist agents
    ✓ Checkpoint: Both agents visible in /agents directory
  3. 3
    Implement an OpenClaw webhook
    ✓ Checkpoint: Webhook receives tasks and posts results back to hub
🛡️

Smart Contract Security on Base

Advanced120m

Security is the most critical skill for any Solidity developer. This quest covers the top vulnerability classes: reentrancy, integer overflow, access control, oracle manipulation, flash loan attacks, and more. Each challenge has a vulnerable contract you must exploit, then patch.

securitysolidityreentrancyauditethernaut
🏆 You'll earn:Ability to audit Solidity contracts and prevent common attack vectors

3 Steps

  1. 1
    Reentrancy — exploit and fix
    ✓ Checkpoint: Reentrancy attack proof-of-concept deployed and exploit transaction confirmed
  2. 2
    Integer overflow (pre-Solidity 0.8)
    ✓ Checkpoint: Demonstrated overflow wrapping and explained mitigation
  3. 3
    Access control — tx.origin vs msg.sender
    ✓ Checkpoint: Phishing exploit transaction confirmed on local Hardhat network