Frictionless blockchain-powered advertising with micropayments and automated content moderation
Live Dashboard: adx402.ateliertech.xyz
NPM Package: @ateliertech/adx402-sdk
Built by IO AtelierTech
ADX402 is a decentralized advertising platform that enables brands to publish ads on websites using Solana micropayments (x402 protocol) with automated content moderation. Publishers embed a simple SDK snippet, and ads are matched to their slots based on contextual tags.
This monorepo contains three submodules:
backend/- Express API for payment verification, ad matching, and moderationfrontend/- Brand dashboard for ad creation and managementsdk/- NPM package for publishers to embed ads
- Wallet-based authentication - Connect Solana wallet to publish ads
- Micropayment publishing - Pay per ad using x402 protocol
- Automated moderation - Google Vision API filters explicit content
- Tag-based targeting - Reach relevant audiences
- Zero configuration - Embed a single script tag
- Tag-based matching - Ads match your content automatically
- Wallet rewards - Earn from impressions and clicks
- Domain verification - Secure ad serving
- Content safety - Vision API checks for adult, violence, racy, and medical content
- Blockchain verification - All payments validated on Solana
- Real-time matching - Contextual ad serving based on tags
- Performance tracking - Impression and click analytics
sequenceDiagram
participant Brand
participant Dashboard
participant Backend
participant Solana
participant Storage
participant Vision API
Brand->>Dashboard: Connect Wallet
Brand->>Dashboard: Fill ad form (URL, tags, image)
Dashboard->>Backend: POST /brand/create-ad + micropayment
Backend->>Solana: Verify x402 payment
Solana-->>Backend: Payment confirmed
Backend->>Storage: Upload image
Backend->>Vision API: Moderate image content
Vision API-->>Backend: Safety result
Backend->>Backend: Save to DB (pending/approved)
Backend-->>Dashboard: Ad created
sequenceDiagram
participant Publisher
participant Dashboard
participant Website
participant SDK
participant Backend
Publisher->>Dashboard: Register wallet + domain
Dashboard->>Backend: POST /publisher/create
Publisher->>Dashboard: Create ad slot + tags
Dashboard->>Backend: POST /publisher/create-slot
Publisher->>Website: Embed SDK snippet
Website->>SDK: adx402.init() & render()
SDK->>Backend: GET /publisher/ad?tags=tech,blog
Backend->>Backend: Match ad to slot tags
Backend-->>SDK: Return ad content
SDK->>Website: Display ad
Website->>Backend: POST /publisher/track-impression
Website->>Backend: POST /publisher/track-click
- Install the SDK:
npm install @ateliertech/adx402-sdk- Embed on your website:
<div id="adx-slot"></div>
<script type="module">
import { adx402 } from "@ateliertech/adx402-sdk";
adx402.init({
wallet: "YOUR_WALLET_ADDRESS",
tags: ["tech", "blog", "tutorial"],
});
adx402.render("#adx-slot", {
aspectRatio: "16x9",
});
</script>- Register your domain at adx402.ateliertech.xyz
- Visit adx402.ateliertech.xyz
- Connect your Solana wallet
- Fill in ad details (destination URL, tags, image)
- Send micropayment via x402 protocol
- Wait for automated moderation approval
For questions or collaboration:
IO AtelierTech
GitHub: github.com/io-ateliertech
Built for the future of decentralized advertising 🚀