x402 icon indicating copy to clipboard operation
x402 copied to clipboard

Add ClearWallet to x402 Ecosystem

Open iolloyd opened this issue 3 months ago • 0 comments

Category: Services/Endpoints

Production URL: https://x402-git-main-iolloyd-dev.vercel.app

GitHub Repository: https://github.com/iolloyd/x402

Description

Agent-optimized API for real-time OFAC sanctions screening of cryptocurrency addresses. Provides sub-second response times with comprehensive risk assessment.

Key Features

  • Real-time OFAC sanctions screening
  • Support for Ethereum and Base chains
  • Sub-second response times via Vercel Edge Functions
  • Multi-layer Redis caching strategy
  • Automated daily OFAC data updates
  • X402 payment protocol integration ($0.005 USDC per check)
  • AI agent discoverable with complete API schemas
  • Coinbase onramp integration for seamless payments

Technical Details

  • Payment Network: Base mainnet
  • Currency: USDC
  • Price: $0.005 per screening check
  • Uptime: 99.5%+ (Vercel infrastructure)
  • API Documentation: Complete (README, middleware setup, deployment guide)
  • x402 Integration: Production-ready with discoverable: true flag

Metadata

{
  "name": "ClearWallet",
  "description": "Agent-optimized API for real-time OFAC sanctions screening of cryptocurrency addresses. Sub-second response times, supports Ethereum and Base chains, with Redis caching and automated daily
OFAC data updates.",
  "logoUrl": "/logos/clearwallet.png",
  "websiteUrl": "https://x402-git-main-iolloyd-dev.vercel.app",
  "category": "Services/Endpoints"
}

API Endpoints

Health Check

GET /api/health

Screening Endpoint (Protected by x402)

GET /api/screen/{chain}/{address}
- Chains: ethereum, base
- Response: Sanctioned status, risk level, flags, timestamp
- Payment Required: 402 status with x402 payment requirements

Use Case

This API enables AI agents and compliance applications to:
1. Screen cryptocurrency addresses against OFAC sanctions lists
2. Get instant risk assessments
3. Make automated compliance decisions
4. Pay per use with USDC micropayments

Requirements Met

Mainnet integration (Base USDC)
Complete API documentation
99%+ uptime
Working x402 payment integration
Discoverable with complete schemas

Additional Resources

- API Documentation: See repository README
- Deployment Guide: X402_DEPLOYMENT_GUIDE.md
- Middleware Setup: MIDDLEWARE_SETUP.md

iolloyd avatar Oct 01 '25 14:10 iolloyd