Welcome to CodeNYC and EthGlobal NYC! Ready to build the future of programmatic payments and agentic commerce?This guide covers how to quickly get started building with x402, an open payment protocol that enables instant, automatic stablecoin payments directly over HTTP. We’ll show you how to monetize APIs, enable AI agents to pay for services, and create frictionless payment experiences. Plus, we have thousands of dollars in prizes across multiple tracks!
x402 is a new open payment protocol developed by Coinbase that revives the HTTP 402 Payment Required status code to enable instant, programmatic stablecoin payments. Think of it as bringing native payments to the internet - no accounts, no API keys, just pay and access.Key capabilities:
Instant Micropayments: Pay-per-request APIs with USDC on Base (fee-free!)
Agent-Native Payments: AI agents can autonomously discover and pay for services
No Authentication Required: No API keys, accounts, or complex auth flows
Simple Integration: Add payments to any HTTP endpoint with minimal code
🆕 Discovery Layer (x402 Bazaar): Agents can find and use services programmatically - learn more
Network Support: Currently supporting USDC on Base (mainnet) and Base Sepolia (testnet). To use x402 on mainnet, you’ll need to use the CDP facilitator
Challenge: Agents that earn. Use x402 to build AI tools that transact, invoice, or stream value — then plug in CDP Wallets or Onramp to complete the loop.Requirements:
Must use x402 protocol
Integration with CDP Wallets or other CDP products
Challenge: Web3 infra shouldn’t feel like Web2 SaaS. No more API keys or credit cards. Build using DIN’s permissionless infrastructure access powered by x402 tokens.Requirements:
DIN RPC endpoint (Ethereum, Base, Linea)
USDC (ERC-20) for payment
Ethereum dev stack (Ethers.js, Viem, etc.)
Optional: React, Next.js, Hardhat, Foundry
Example Project:
An application that pays for RPC with x402 on demand
Challenge: Most Viable & Most Innovative Monetized Agent Experience — 2 Awards!Build the most creative and practical MonetizedMCP server listed on the Fluora marketplace. We’re looking for:
Novel monetization strategies
Real-world readiness
Innovative bundling and pricing
Project Ideas:
Sales/Marketing: SEO audit tools, lead generators, competitor intelligence
Web3: DeFi data feeds, wallet intelligence reports, cross-chain bridges