Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Add new service catalog entries for various 3D asset processing and blockchain functionalities

fudjiaa7f5a3077fcb
diff --git a/api/_lib/service-catalog/services/agent-bouncer.js b/api/_lib/service-catalog/services/agent-bouncer.js
new file mode 100644
index 000000000..69f5c6d78
--- /dev/null
+++ b/api/_lib/service-catalog/services/agent-bouncer.js
@@ -0,0 +1,54 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'agent-bouncer',
+ title: 'Agent Bouncer',
+ category: 'trust',
+ useCase: 'Agent Bouncer — the Pole Club door check, opened to the whole platform’s Solana reputation.',
+ path: '/api/x402/agent-bouncer',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '10000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Agent Bouncer',
+ tags: ['reputation', 'trust', 'gate', 'agent', 'solana'],
+ description: 'Agent Bouncer — the Pole Club door check, opened to the whole platform’s Solana reputation. Given a three.ws agent_id and an optional trust policy, read the agent’s Solana track record (confirmed on-chain payments, distinct payers, payment failure rate, distribute/buyback follow-through, signed Solana attestations, Club ban/tip ledger) and return an admit/refuse verdict with a door tier (newcomer / regular / trusted / vip). Vet a counterparty before paying, hiring, or delegating.',
+ input: {
+ agent_id: '7b9a4f30-2d11-4e2d-9d12-1cdb1f6a3a55',
+ min_payments: 10,
+ min_distinct_payers: 3,
+ max_failure_rate: 0.2,
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['agent_id'],
+ properties: {
+ agent_id: {
+ type: 'string',
+ format: 'uuid',
+ },
+ min_payments: {
+ type: 'integer',
+ },
+ min_distinct_payers: {
+ type: 'integer',
+ },
+ max_failure_rate: {
+ type: 'number',
+ },
+ min_attestations: {
+ type: 'integer',
+ },
+ allow_newcomers: {
+ type: 'boolean',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/agent-reputation.js b/api/_lib/service-catalog/services/agent-reputation.js
new file mode 100644
index 000000000..593f9aa24
--- /dev/null
+++ b/api/_lib/service-catalog/services/agent-reputation.js
@@ -0,0 +1,38 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'agent-reputation',
+ title: 'Cross-chain Agent Reputation',
+ category: 'trust',
+ useCase: 'Cross-chain Agent Reputation — get a deterministic 0–100 trust score for ANY counterparty (Solana wallet, EVM wallet, pump.fun mint, ERC-8004 agent id, or three.ws agent_id — auto-detected) before you pay, trade, or delegate to it.',
+ path: '/api/x402/agent-reputation',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '10000',
+ acceptsBuilder: 'standard',
+ serviceName: 'Cross-chain Agent Reputation',
+ tags: ['reputation', 'trust', 'cross-chain', 'agent', 'x402'],
+ description: 'Cross-chain Agent Reputation — get a deterministic 0–100 trust score for ANY counterparty (Solana wallet, EVM wallet, pump.fun mint, ERC-8004 agent id, or three.ws agent_id — auto-detected) before you pay, trade, or delegate to it. Scored from real on-chain evidence: transaction history, age, distinct counterparties, holdings, settlement reliability, prior settled agent payments, and ERC-8004 feedback. Unknown subjects return score:null, not a fabricated score.',
+ input: {
+ subject: 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['subject'],
+ properties: {
+ subject: {
+ type: 'string',
+ },
+ chain: {
+ type: ['integer', 'string'],
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/analytics.js b/api/_lib/service-catalog/services/analytics.js
new file mode 100644
index 000000000..b98c4ec1d
--- /dev/null
+++ b/api/_lib/service-catalog/services/analytics.js
@@ -0,0 +1,67 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'analytics',
+ title: 'Social Analytics',
+ category: 'agent-infra',
+ useCase: 'three.ws Economy Analytics — pay $0.005 USDC per call for a live, aggregated view of platform activity.',
+ path: '/api/x402/analytics',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '5000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Social Analytics',
+ tags: ['analytics', 'club', 'social', 'metrics', 'solana'],
+ description: 'three.ws Economy Analytics — pay $0.005 USDC per call for a live, aggregated view of platform activity. "clubs": Pole Club economy — active stages, patrons, tip volume, cover charges, fastest-growing leaderboard. "agent_leaderboard": top agents by USDC spend over a trailing window. "marketplace": catalog stats — active listing count, price distribution normalised to USD + SOL at the live rate, new listings in the window, and the most-viewed / most-forked listing. All numbers are read live from the real ledgers and catalog tables.',
+ input: {
+ report: 'clubs',
+ period: '24h',
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ report: {
+ type: 'string',
+ enum: [
+ 'clubs',
+ 'agent_leaderboard',
+ 'marketplace',
+ 'revenue',
+ 'sniper_trades',
+ 'user_activity',
+ 'x402_volume',
+ ],
+ default: 'clubs',
+ },
+ period: {
+ type: 'string',
+ enum: ['1h', '6h', '24h', '7d', '30d', 'all'],
+ default: '24h',
+ },
+ limit: {
+ type: 'integer',
+ minimum: 1,
+ maximum: 100,
+ default: 10,
+ },
+ window_days: {
+ type: 'integer',
+ minimum: 1,
+ maximum: 90,
+ default: 7,
+ },
+ network: {
+ type: 'string',
+ enum: ['mainnet', 'devnet', 'all'],
+ default: 'mainnet',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/animation-download.js b/api/_lib/service-catalog/services/animation-download.js
new file mode 100644
index 000000000..05c154297
--- /dev/null
+++ b/api/_lib/service-catalog/services/animation-download.js
@@ -0,0 +1,38 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'animation-download',
+ title: 'Animation Bazaar',
+ category: '3d',
+ useCase: 'three.ws Animation Bazaar — pay once in USDC to unlock a 3D avatar animation (GLB).',
+ path: '/api/x402/animation-download',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '10000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Animation Bazaar',
+ tags: ['3d', 'animation', 'glb', 'motion', 'avatar'],
+ description: 'three.ws Animation Bazaar — pay once in USDC to unlock a 3D avatar animation (GLB). Each animation has its own price; the response carries a short-lived presigned URL the client fetches directly. Wallets that have already paid can re-download for free by signing in with SIWX.',
+ input: {
+ id: 'pole-dancer-rumba',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['id'],
+ properties: {
+ id: {
+ type: 'string',
+ minLength: 1,
+ maxLength: 128,
+ description: 'Animation slug or UUID from the animations catalog.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/api-key-health.js b/api/_lib/service-catalog/services/api-key-health.js
new file mode 100644
index 000000000..23ea1a0da
--- /dev/null
+++ b/api/_lib/service-catalog/services/api-key-health.js
@@ -0,0 +1,35 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'api-key-health',
+ title: 'API Key Health Check',
+ category: 'agent-infra',
+ useCase: 'API Key Validity Health Check — verifies that the platform has a valid, non-expired access key covering a given scope.',
+ path: '/api/x402/api-key-health',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws API Key Health Check',
+ tags: ['health', 'api-key', 'autonomous', 'access-control'],
+ description: 'API Key Validity Health Check — verifies that the platform has a valid, non-expired access key covering a given scope. Checks x402 subscription keys and the internal service key. Returns valid, scopes, expires_at, and key_type. Used by the autonomous loop to confirm its access lane is healthy before each tick. Pay-per-call in USDC on Solana or Base mainnet.',
+ input: {
+ scope: 'autonomous_loop',
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ scope: {
+ type: 'string',
+ default: 'autonomous_loop',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/asset-download.js b/api/_lib/service-catalog/services/asset-download.js
new file mode 100644
index 000000000..c89b5292a
--- /dev/null
+++ b/api/_lib/service-catalog/services/asset-download.js
@@ -0,0 +1,38 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'asset-download',
+ title: 'Asset Bazaar',
+ category: '3d',
+ useCase: 'three.ws Asset Bazaar — pay once in USDC to unlock a 3D asset (GLB, avatar, or accessory) hosted on R2.',
+ path: '/api/x402/asset-download',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '100000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Asset Bazaar',
+ tags: ['3d', 'asset', 'glb', 'avatar', 'download'],
+ description: 'three.ws Asset Bazaar — pay once in USDC to unlock a 3D asset (GLB, avatar, or accessory) hosted on R2. Wallets that have already paid can re-download for free by signing in with SIWX (CAIP-122). Each asset has its own price and creator payout address; the response carries a short-lived presigned R2 URL the client uses to fetch the file directly.',
+ input: {
+ slug: 'pole-dancer-rumba',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['slug'],
+ properties: {
+ slug: {
+ type: 'string',
+ minLength: 1,
+ maxLength: 128,
+ description: 'Unique asset slug from the paid_assets catalog.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/auth-health.js b/api/_lib/service-catalog/services/auth-health.js
new file mode 100644
index 000000000..7a9bd388a
--- /dev/null
+++ b/api/_lib/service-catalog/services/auth-health.js
@@ -0,0 +1,36 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'auth-health',
+ title: 'Auth Session Health',
+ category: 'agent-infra',
+ useCase: 'Auth Session Lifecycle Health — pay $0.001 USDC to exercise the full JWT auth session lifecycle: create, validate, refresh, and expiry-rejection.',
+ path: '/api/x402/auth-health',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Auth Session Health',
+ tags: ['auth', 'session', 'jwt', 'health', 'security'],
+ description: 'Auth Session Lifecycle Health — pay $0.001 USDC to exercise the full JWT auth session lifecycle: create, validate, refresh, and expiry-rejection. Returns { all_pass, failed_step, latency_ms } so a monitoring loop can detect a broken auth subsystem before users do.',
+ input: {
+ mode: 'session_lifecycle',
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ mode: {
+ type: 'string',
+ enum: ['session_lifecycle'],
+ default: 'session_lifecycle',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/avatar-optimize-batch.js b/api/_lib/service-catalog/services/avatar-optimize-batch.js
new file mode 100644
index 000000000..e26d907e4
--- /dev/null
+++ b/api/_lib/service-catalog/services/avatar-optimize-batch.js
@@ -0,0 +1,37 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'avatar-optimize-batch',
+ title: 'Avatar Optimizer',
+ category: '3d',
+ useCase: 'three.ws Avatar Optimization Pipeline — pay $0.001 USDC to trigger a batch glTF/GLB analysis of the top most-viewed public avatars.',
+ path: '/api/x402/avatar-optimize-batch',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Avatar Optimizer',
+ tags: ['3d', 'avatar', 'optimization', 'glb', 'batch'],
+ description: 'three.ws Avatar Optimization Pipeline — pay $0.001 USDC to trigger a batch glTF/GLB analysis of the top most-viewed public avatars. Returns a ranked list of optimization suggestions (Draco/Meshopt compression, oversized textures, non-indexed primitives) and stores results per-avatar so owners can be notified of actionable improvements.',
+ input: {
+ limit: 50,
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ limit: {
+ type: 'integer',
+ minimum: 1,
+ maximum: 50,
+ default: 50,
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/bazaar-feed.js b/api/_lib/service-catalog/services/bazaar-feed.js
new file mode 100644
index 000000000..17ff30bed
--- /dev/null
+++ b/api/_lib/service-catalog/services/bazaar-feed.js
@@ -0,0 +1,47 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'bazaar-feed',
+ title: 'Bazaar Feed',
+ category: 'agent-infra',
+ useCase: 'Bazaar Feed — pay $0.001 USDC per call for two live views of the x402 service marketplace.',
+ path: '/api/x402/bazaar-feed',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Bazaar Feed',
+ tags: ['bazaar', 'listings', 'discovery', 'market', 'x402'],
+ description: 'Bazaar Feed — pay $0.001 USDC per call for two live views of the x402 service marketplace. filter "new"/"active": newest service listings (id, name, price, networks, tags, first_seen) plus category rollup and listing-velocity signal (spike/active/quiet). filter "price_trends": 24h price-movement across all tracked services — trending up/down/stable and net market pressure as bullish/bearish/neutral. Live data from the platform bazaar index.',
+ input: {
+ filter: 'new',
+ limit: 10,
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ filter: {
+ type: 'string',
+ enum: ['new', 'active', 'price_trends'],
+ default: 'new',
+ },
+ limit: {
+ type: 'integer',
+ minimum: 1,
+ maximum: 50,
+ default: 10,
+ },
+ period: {
+ type: 'string',
+ default: '24h',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/billboard.js b/api/_lib/service-catalog/services/billboard.js
new file mode 100644
index 000000000..5e2f1bd19
--- /dev/null
+++ b/api/_lib/service-catalog/services/billboard.js
@@ -0,0 +1,46 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'billboard',
+ title: 'Coin-World Billboard',
+ category: 'agent-infra',
+ useCase: 'three.ws coin worlds — feature your content on a 3D world’s billboard.',
+ path: '/api/x402/billboard',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '50000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Coin-World Billboard',
+ tags: ['3d', 'world', 'billboard', 'content', 'placement'],
+ description: 'three.ws coin worlds — feature your content on a 3D world’s billboard. Pay once to hold the framed panel behind spawn: pass the coin-world mint plus an image URL and/or a short caption. The coin world renders your placement in place of its default content for everyone who walks in until the slot expires. It is a paid content canvas, not an ad unit — nothing is targeted or tracked.',
+ input: {
+ coin: 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump',
+ image: 'https://three.ws/og-image.png',
+ caption: 'gm from the gallery',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['coin'],
+ properties: {
+ coin: {
+ type: 'string',
+ pattern: '^[1-9A-HJ-NP-Za-km-z]{32,44}$',
+ },
+ image: {
+ type: 'string',
+ format: 'uri',
+ },
+ caption: {
+ type: 'string',
+ maxLength: 80,
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/club-cover.js b/api/_lib/service-catalog/services/club-cover.js
new file mode 100644
index 000000000..bec6497c4
--- /dev/null
+++ b/api/_lib/service-catalog/services/club-cover.js
@@ -0,0 +1,28 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'club-cover',
+ title: 'Pole Club Cover',
+ category: '3d',
+ useCase: 'three.ws Pole Club Cover Charge — pay $0.01 USDC to access the three.ws Pole Club.',
+ path: '/api/x402/club-cover',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '10000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Pole Club Cover',
+ tags: ['3d', 'avatar', 'club', 'access', 'cover'],
+ description: 'three.ws Pole Club Cover Charge — pay $0.01 USDC to access the three.ws Pole Club. Once the payment settles the caller receives an entry token granting access to the live club scene for 24 hours.',
+ input: {},
+ inputSchema: {
+ type: 'object',
+ properties: {},
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/cosmetic-purchase.js b/api/_lib/service-catalog/services/cosmetic-purchase.js
new file mode 100644
index 000000000..de9562b25
--- /dev/null
+++ b/api/_lib/service-catalog/services/cosmetic-purchase.js
@@ -0,0 +1,45 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'cosmetic-purchase',
+ title: 'Avatar Shop',
+ category: '3d',
+ useCase: 'three.ws Avatar Shop — pay once in USDC to unlock a premium avatar cosmetic (skin or emote) for an account.',
+ path: '/api/x402/cosmetic-purchase',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '500000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Avatar Shop',
+ tags: ['3d', 'avatar', 'cosmetic', 'shop', 'wearable'],
+ description: 'three.ws Avatar Shop — pay once in USDC to unlock a premium avatar cosmetic (skin or emote) for an account. Pay on Base or Solana; the cosmetic is recorded to the buyer-specified account and is wearable across /play and /walk. Wallets that already purchased an item re-confirm for free by signing in with SIWX (CAIP-122). Price varies by rarity ($0.25–$3.00 USDC).',
+ input: {
+ id: 'skin-midnight',
+ account: 'g_5f3c9a21b8',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['id', 'account'],
+ properties: {
+ id: {
+ type: 'string',
+ minLength: 1,
+ maxLength: 64,
+ description: 'Premium cosmetic id from /api/cosmetics/catalog.',
+ },
+ account: {
+ type: 'string',
+ minLength: 3,
+ maxLength: 64,
+ description: 'Account the cosmetic is granted to — a Solana wallet address or a guest id (g_…).',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/cross-chain.js b/api/_lib/service-catalog/services/cross-chain.js
new file mode 100644
index 000000000..eba341bff
--- /dev/null
+++ b/api/_lib/service-catalog/services/cross-chain.js
@@ -0,0 +1,36 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'cross-chain',
+ title: 'Bridge Status',
+ category: 'payments',
+ useCase: 'Cross-Chain Bridge Status Monitor — pay $0.005 USDC to receive the live operational status and latency of major Solana bridge providers (Wormhole, Li.Fi, deBridge).',
+ path: '/api/x402/cross-chain',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '5000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Bridge Status',
+ tags: ['bridge', 'cross-chain', 'health', 'solana', 'wormhole'],
+ description: 'Cross-Chain Bridge Status Monitor — pay $0.005 USDC to receive the live operational status and latency of major Solana bridge providers (Wormhole, Li.Fi, deBridge). Any bridge with status=down is flagged as a platform risk.',
+ input: {
+ mode: 'bridge_status',
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ mode: {
+ type: 'string',
+ enum: ['bridge_status'],
+ default: 'bridge_status',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/did.js b/api/_lib/service-catalog/services/did.js
new file mode 100644
index 000000000..90a0968c9
--- /dev/null
+++ b/api/_lib/service-catalog/services/did.js
@@ -0,0 +1,41 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'did',
+ title: 'DID Health',
+ category: 'agent-infra',
+ useCase: 'DID Verification Canary — pay $0.001 USDC to resolve three.ws\'s published W3C DID document over its real public route, structurally validate it, and measure end-to-end resolution latency.',
+ path: '/api/x402/did',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws DID Health',
+ tags: ['did', 'identity', 'health', 'verification', 'x402'],
+ description: 'DID Verification Canary — pay $0.001 USDC to resolve three.ws\'s published W3C DID document over its real public route, structurally validate it, and measure end-to-end resolution latency. Returns { verified, latency_ms } plus a per-check breakdown. verified=false when the document is unreachable, malformed, or slower than 1500ms — the same failure an external x402 verifier would hit resolving our offer/receipt signing key.',
+ input: {
+ did: 'did:three:canary',
+ mode: 'verify',
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ did: {
+ type: 'string',
+ default: 'did:three:canary',
+ },
+ mode: {
+ type: 'string',
+ enum: ['verify'],
+ default: 'verify',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/feed-health.js b/api/_lib/service-catalog/services/feed-health.js
new file mode 100644
index 000000000..3c3c8b4ea
--- /dev/null
+++ b/api/_lib/service-catalog/services/feed-health.js
@@ -0,0 +1,36 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'feed-health',
+ title: 'Feed Health',
+ category: 'agent-infra',
+ useCase: 'three.ws Feed Health Validator — fetches a named public feed (changelog RSS, sitemap, etc.) and returns a structural health verdict: { valid, item_count, latest_title }.',
+ path: '/api/x402/feed-health',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Feed Health',
+ tags: ['rss', 'feed', 'health', 'changelog', 'validation'],
+ description: 'three.ws Feed Health Validator — fetches a named public feed (changelog RSS, sitemap, etc.) and returns a structural health verdict: { valid, item_count, latest_title }. Pays $0.001 USDC per check. Supported feeds: changelog_rss. The latest_title is cross-checked against the canonical changelog record so both a broken XML feed and a stale/diverged feed surface as valid:false.',
+ input: {
+ feed: 'changelog_rss',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['feed'],
+ properties: {
+ feed: {
+ type: 'string',
+ enum: ['changelog_rss'],
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/forge.js b/api/_lib/service-catalog/services/forge.js
new file mode 100644
index 000000000..6ae1f3f2b
--- /dev/null
+++ b/api/_lib/service-catalog/services/forge.js
@@ -0,0 +1,63 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'forge',
+ title: 'Forge: text/image to 3D',
+ category: '3d',
+ useCase: 'three.ws Forge — pay-per-call text→3D and image→3D generation for autonomous agents.',
+ path: '/api/x402/forge',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '150000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Forge: text/image to 3D',
+ tags: ['3d', 'ai', 'text-to-3d', 'image-to-3d', 'utility'],
+ description: 'three.ws Forge — pay-per-call text→3D and image→3D generation for autonomous agents. Turn a text prompt (or up to four reference photos of one object) into a production-ready GLB mesh for game assets, NFT collections, 3D scenes, and product visualization — the only real 3D generation on any agent marketplace. Three quality tiers in USDC: draft $0.05 (fast low-poly blockout), standard $0.15 (balanced detail, the default), high $0.50 (maximum geometry + PBR textures). Pay autonomously in USDC on Solana mainnet — no API key, no account, no signup. Returns a job token you poll for FREE at GET /api/forge?job=<id>; draft prompts often finish inline and hand back the GLB url with status:"done". New here? Start on the free keyless draft lane at POST /api/3d/generate, then upgrade to a paid tier for standard/high quality or image→3D.',
+ input: {
+ prompt: 'a brass steampunk owl, full body',
+ tier: 'standard',
+ aspect_ratio: '1:1',
+ },
+ inputSchema: {
+ $schema: 'https://json-schema.org/draft/2020-12/schema',
+ type: 'object',
+ description: 'Provide exactly one of prompt (text→3D) or image_urls (image→3D). tier and aspect_ratio are optional; tier defaults to "standard".',
+ properties: {
+ prompt: {
+ type: 'string',
+ minLength: 3,
+ maxLength: 1000,
+ description: 'Describe one subject for text→3D. Omit when supplying image_urls.',
+ },
+ image_urls: {
+ type: 'array',
+ items: {
+ type: 'string',
+ format: 'uri',
+ },
+ minItems: 1,
+ maxItems: 4,
+ description: 'Up to four public https reference views of one object for image→3D. Omit when supplying a prompt.',
+ },
+ tier: {
+ type: 'string',
+ enum: ['draft', 'standard', 'high'],
+ default: 'standard',
+ description: 'Quality/price tier: draft $0.05 (low-poly), standard $0.15 (default), high $0.50 (PBR textures). The 402 quotes the price for the requested tier.',
+ },
+ aspect_ratio: {
+ type: 'string',
+ enum: ['1:1', '4:3', '3:4', '16:9', '9:16'],
+ default: '1:1',
+ description: 'Aspect ratio of the synthesized reference view for text→3D.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/index.js b/api/_lib/service-catalog/services/index.js
new file mode 100644
index 000000000..da76bd918
--- /dev/null
+++ b/api/_lib/service-catalog/services/index.js
@@ -0,0 +1,99 @@
+// Static barrel of every paid-service descriptor, in the order the x402
+// discovery doc lists them. Static imports are deliberate: Vercel's bundler
+// only reliably ships what static imports reach (a runtime glob assembled
+// EMPTY in the deployed lambda — see api/_lib/crypto-catalog/index.js for the
+// full account of that failure), so this barrel is the production source of
+// truth.
+//
+// >>> Adding a paid service: drop `services/<slug>.js` AND add its import +
+// >>> row here, in the position it should appear in the discovery doc.
+
+import modelCheck from './model-check.js';
+import agentReputation from './agent-reputation.js';
+import agentBouncer from './agent-bouncer.js';
+import onchainIdentityVerify from './onchain-identity-verify.js';
+import pumpLaunch from './pump-launch.js';
+import forge from './forge.js';
+import skillMarketplace from './skill-marketplace.js';
+import symbolAvailability from './symbol-availability.js';
+import vanity from './vanity.js';
+import vanityVerifiable from './vanity-verifiable.js';
+import vanityPremium from './vanity-premium.js';
+import permit2PaidDemo from './permit2-paid-demo.js';
+import assetDownload from './asset-download.js';
+import skillCall from './skill-call.js';
+import tokenIntel from './token-intel.js';
+import cosmeticPurchase from './cosmetic-purchase.js';
+import animationDownload from './animation-download.js';
+import clubCover from './club-cover.js';
+import analytics from './analytics.js';
+import apiKeyHealth from './api-key-health.js';
+import authHealth from './auth-health.js';
+import avatarOptimizeBatch from './avatar-optimize-batch.js';
+import pipelineRig from './pipeline-rig.js';
+import pipelineRemesh from './pipeline-remesh.js';
+import pipelineGameready from './pipeline-gameready.js';
+import pipelineStylize from './pipeline-stylize.js';
+import pipelineRembg from './pipeline-rembg.js';
+import bazaarFeed from './bazaar-feed.js';
+import billboard from './billboard.js';
+import crossChain from './cross-chain.js';
+import did from './did.js';
+import feedHealth from './feed-health.js';
+import llmProxy from './llm-proxy.js';
+import mcpToolCatalog from './mcp-tool-catalog.js';
+import modelValidationSweep from './model-validation-sweep.js';
+import notify from './notify.js';
+import payByName from './pay-by-name.js';
+import rateLimitProbe from './rate-limit-probe.js';
+import schemaCheck from './schema-check.js';
+import solanaRegisterHealth from './solana-register-health.js';
+import spendSession from './spend-session.js';
+import telegramHealth from './telegram-health.js';
+import walletConnect from './wallet-connect.js';
+
+export const PAID_SERVICES = Object.freeze([
+ modelCheck,
+ agentReputation,
+ agentBouncer,
+ onchainIdentityVerify,
+ pumpLaunch,
+ forge,
+ skillMarketplace,
+ symbolAvailability,
+ vanity,
+ vanityVerifiable,
+ vanityPremium,
+ permit2PaidDemo,
+ assetDownload,
+ skillCall,
+ tokenIntel,
+ cosmeticPurchase,
+ animationDownload,
+ clubCover,
+ analytics,
+ apiKeyHealth,
+ authHealth,
+ avatarOptimizeBatch,
+ pipelineRig,
+ pipelineRemesh,
+ pipelineGameready,
+ pipelineStylize,
+ pipelineRembg,
+ bazaarFeed,
+ billboard,
+ crossChain,
+ did,
+ feedHealth,
+ llmProxy,
+ mcpToolCatalog,
+ modelValidationSweep,
+ notify,
+ payByName,
+ rateLimitProbe,
+ schemaCheck,
+ solanaRegisterHealth,
+ spendSession,
+ telegramHealth,
+ walletConnect,
+]);
diff --git a/api/_lib/service-catalog/services/llm-proxy.js b/api/_lib/service-catalog/services/llm-proxy.js
new file mode 100644
index 000000000..e6c572aa4
--- /dev/null
+++ b/api/_lib/service-catalog/services/llm-proxy.js
@@ -0,0 +1,49 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'llm-proxy',
+ title: 'LLM Inference Proxy',
+ category: 'agent-infra',
+ useCase: 'three.ws LLM Inference Proxy — pay per completion with no API key required.',
+ path: '/api/x402/llm-proxy',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '5000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws LLM Inference Proxy',
+ tags: ['llm', 'inference', 'completion', 'proxy', 'benchmark'],
+ description: 'three.ws LLM Inference Proxy — pay per completion with no API key required. Runs one-shot text prompts through the platform\'s free-first provider chain. Response includes measured latency, token counts, and the provider actually used. Ideal for latency benchmarking, agent pipelines, and one-off completions. Model aliases: "fast" (sub-second) · "smart" (quality backstop). Price: $0.005 USDC per completion on Base or Solana.',
+ input: {
+ model: 'fast',
+ prompt: 'Count to 3.',
+ max_tokens: 10,
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['prompt'],
+ properties: {
+ model: {
+ type: 'string',
+ default: 'fast',
+ },
+ prompt: {
+ type: 'string',
+ minLength: 1,
+ maxLength: 4000,
+ },
+ max_tokens: {
+ type: 'integer',
+ minimum: 1,
+ maximum: 2048,
+ default: 256,
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/mcp-tool-catalog.js b/api/_lib/service-catalog/services/mcp-tool-catalog.js
new file mode 100644
index 000000000..7125dae75
--- /dev/null
+++ b/api/_lib/service-catalog/services/mcp-tool-catalog.js
@@ -0,0 +1,37 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'mcp-tool-catalog',
+ title: 'MCP Tool Discovery',
+ category: 'agent-infra',
+ useCase: 'three.ws MCP Tool Discovery — pay $0.001 USDC to discover MCP tools that were registered (or whose price/shape changed, or that were removed) on the three.ws MCP server since you last probed.',
+ path: '/api/x402/mcp-tool-catalog',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws MCP Tool Discovery',
+ tags: ['mcp', 'discovery', 'tools', 'catalog', 'agent'],
+ description: 'three.ws MCP Tool Discovery — pay $0.001 USDC to discover MCP tools that were registered (or whose price/shape changed, or that were removed) on the three.ws MCP server since you last probed. Returns the diff against a durable tool registry so agents can feature-flag new capabilities the moment they ship instead of re-fetching and diffing tools/list themselves.',
+ input: {
+ mode: 'discover',
+ },
+ inputSchema: {
+ type: 'object',
+ additionalProperties: false,
+ properties: {
+ mode: {
+ type: 'string',
+ enum: ['discover', 'sync', 'list'],
+ default: 'discover',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/model-check.js b/api/_lib/service-catalog/services/model-check.js
new file mode 100644
index 000000000..7d5896ec2
--- /dev/null
+++ b/api/_lib/service-catalog/services/model-check.js
@@ -0,0 +1,37 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'model-check',
+ title: 'Model Check',
+ category: '3d',
+ useCase: 'Model Check — an agent handed a 3D asset URL verifies it before using or paying for it: $0.001 USDC per call returns structural stats (vertex/triangle counts, materials, textures, animations, extensions) and prioritized optimization recommendations.',
+ path: '/api/x402/model-check',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'cdp-bazaar',
+ serviceName: 'three.ws Model Check',
+ tags: ['3d', 'gltf', 'glb', 'inspection', 'validation'],
+ description: 'Model Check — an agent handed a 3D asset URL verifies it before using or paying for it: $0.001 USDC per call returns structural stats (vertex/triangle counts, materials, textures, animations, extensions) and prioritized optimization recommendations. Single GET with ?url=…; USDC on Solana, Base, or Arbitrum. Free tier: the same inspection is keyless at /api/3d/inspect.',
+ input: {
+ url: 'https://three.ws/avatar/character-studio/sample.glb',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['url'],
+ properties: {
+ url: {
+ type: 'string',
+ format: 'uri',
+ description: 'Public HTTPS URL of a glTF/GLB model.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/model-validation-sweep.js b/api/_lib/service-catalog/services/model-validation-sweep.js
new file mode 100644
index 000000000..2fc51c5c0
--- /dev/null
+++ b/api/_lib/service-catalog/services/model-validation-sweep.js
@@ -0,0 +1,29 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'model-validation-sweep',
+ title: 'Model Validation Sweep',
+ category: '3d',
+ useCase: 'three.ws model quality sweep — picks the next public GLB avatar in the database that has never been inspected (or whose inspection is older than 24 hours), downloads the file, runs the glTF-Transform inspector, computes a 0-100 quality score, and records a time-series row.',
+ path: '/api/x402/model-validation-sweep',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Model Validation Sweep',
+ tags: ['3d', 'gltf', 'glb', 'validation', 'quality'],
+ description: 'three.ws model quality sweep — picks the next public GLB avatar in the database that has never been inspected (or whose inspection is older than 24 hours), downloads the file, runs the glTF-Transform inspector, computes a 0-100 quality score, and records a time-series row. Use to proactively detect geometry errors, missing rigs, and unsupported features before users encounter them in the viewer.',
+ input: {},
+ inputSchema: {
+ type: 'object',
+ additionalProperties: false,
+ properties: {},
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/notify.js b/api/_lib/service-catalog/services/notify.js
new file mode 100644
index 000000000..6a86942d2
--- /dev/null
+++ b/api/_lib/service-catalog/services/notify.js
@@ -0,0 +1,48 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'notify',
+ title: 'Notification Delivery',
+ category: 'agent-infra',
+ useCase: 'Notification Delivery Probe — pay $0.001 USDC to send a canary message through the platform notification channel and confirm delivery.',
+ path: '/api/x402/notify',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Notification Delivery',
+ tags: ['notification', 'canary', 'health', 'delivery', 'ops'],
+ description: 'Notification Delivery Probe — pay $0.001 USDC to send a canary message through the platform notification channel and confirm delivery. Returns { delivered, channel, latency_ms } so the autonomous loop can assert the notification subsystem is alive within a 2-second SLA. Channel "canary" is the x402 loop heartbeat lane; "ops" and "system" route to the ops alert surface.',
+ input: {
+ channel: 'canary',
+ message: 'x402 loop heartbeat',
+ priority: 'low',
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ channel: {
+ type: 'string',
+ enum: ['canary', 'ops', 'system'],
+ default: 'canary',
+ },
+ message: {
+ type: 'string',
+ maxLength: 500,
+ default: 'x402 loop heartbeat',
+ },
+ priority: {
+ type: 'string',
+ enum: ['low', 'normal', 'high'],
+ default: 'low',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/onchain-identity-verify.js b/api/_lib/service-catalog/services/onchain-identity-verify.js
new file mode 100644
index 000000000..d4b75151f
--- /dev/null
+++ b/api/_lib/service-catalog/services/onchain-identity-verify.js
@@ -0,0 +1,46 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'onchain-identity-verify',
+ title: 'Identity Verify',
+ category: 'trust',
+ useCase: 'Cross-platform On-Chain Identity Verifier — prove any claim that an identity controls an address.',
+ path: '/api/x402/onchain-identity-verify',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '5000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Identity Verify',
+ tags: ['identity', 'verification', 'agent', 'trust', 'onchain'],
+ description: 'Cross-platform On-Chain Identity Verifier — prove any claim that an identity controls an address. `identity` can be an ENS name, an SNS (.sol) name, an EVM or Solana wallet, an ERC-8004 agent id, or a three.ws agent_id; `address` is the contract/mint/wallet it claims. Returns on-chain evidence (deploy tx + deployer, mint/update authority, ENS/SNS resolution, ERC-8004 registration, three.ws deploy record) with verified true/false/unverifiable. Trust primitive before paying counterparty agents.',
+ input: {
+ identity: 'vitalik.eth',
+ address: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045',
+ chain: 'eip155:1',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['identity', 'address'],
+ properties: {
+ identity: {
+ type: 'string',
+ description: 'ENS/SNS name, EVM/Solana wallet, ERC-8004 id (eip155:8453:42), or three.ws agent_id (uuid)',
+ },
+ address: {
+ type: 'string',
+ description: 'the contract/mint/wallet the identity claims to control',
+ },
+ chain: {
+ type: 'string',
+ description: 'optional CAIP-2 chain hint',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/pay-by-name.js b/api/_lib/service-catalog/services/pay-by-name.js
new file mode 100644
index 000000000..0ab9d98aa
--- /dev/null
+++ b/api/_lib/service-catalog/services/pay-by-name.js
@@ -0,0 +1,36 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'pay-by-name',
+ title: 'Pay-By-Name Resolution',
+ category: 'payments',
+ useCase: 'Pay-By-Name Resolution — pay $0.001 USDC to resolve a wallet name (@username, a *.sol name, or a raw base58 address) to a verified on-chain Solana address via the three.ws pay-by-name registry.',
+ path: '/api/x402/pay-by-name',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'Pay-By-Name Resolution',
+ tags: ['identity', 'resolution', 'solana'],
+ description: 'Pay-By-Name Resolution — pay $0.001 USDC to resolve a wallet name (@username, a *.sol name, or a raw base58 address) to a verified on-chain Solana address via the three.ws pay-by-name registry. Returns the resolved address, an on-curve verification flag, and the resolution source.',
+ input: {
+ name: 'nich.threews.sol',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['name'],
+ properties: {
+ name: {
+ type: 'string',
+ description: '@username, a *.sol name, or a base58 address.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/permit2-paid-demo.js b/api/_lib/service-catalog/services/permit2-paid-demo.js
new file mode 100644
index 000000000..ac444f22d
--- /dev/null
+++ b/api/_lib/service-catalog/services/permit2-paid-demo.js
@@ -0,0 +1,37 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+//
+// acceptsBuilder 'permit2-only': the discovery entry advertises ONLY the
+// gasless Permit2 accept (no EIP-3009 sibling), and is omitted entirely when
+// CDP creds are absent — permit2VariantOf() returns null there, matching the
+// runtime 402 behavior. tests/api/x402-discovery-parity.test.js documents the
+// same exemption.
+
+export default {
+ slug: 'permit2-paid-demo',
+ title: 'Permit2 Demo',
+ category: 'payments',
+ useCase:
+ 'Permit2 + EIP-2612 Gas Sponsoring Demo — forces the gasless Permit2 path so a fresh wallet holding USDC but ZERO ETH can complete the flow.',
+ path: '/api/x402/permit2-paid-demo',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'permit2-only',
+ serviceName: 'three.ws Permit2 Demo',
+ tags: ['x402', 'permit2', 'eip2612', 'gasless', 'demo'],
+ description:
+ "Permit2 + EIP-2612 Gas Sponsoring Demo — forces the gasless Permit2 path so a fresh wallet holding USDC but ZERO ETH can complete the flow. CDP's x402ExactPermit2Proxy submits the EIP-2612 permit + Permit2 transfer atomically via settleWithPermit. Response surfaces the on-chain tx hash and a Basescan link.",
+ input: {},
+ inputSchema: {
+ type: 'object',
+ properties: {},
+ additionalProperties: false,
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/pipeline-gameready.js b/api/_lib/service-catalog/services/pipeline-gameready.js
new file mode 100644
index 000000000..eb4898960
--- /dev/null
+++ b/api/_lib/service-catalog/services/pipeline-gameready.js
@@ -0,0 +1,55 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'pipeline-gameready',
+ title: 'Pipeline - Game-Ready',
+ category: '3d',
+ useCase: '3D Asset Pipeline — Game-Ready: pay $0.03 USDC to make a GLB engine-ready.',
+ path: '/api/x402/pipeline-gameready',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '30000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Pipeline - Game-Ready',
+ tags: ['3d', 'gameready', 'retopology', 'glb', 'pipeline'],
+ description: '3D Asset Pipeline — Game-Ready: pay $0.03 USDC to make a GLB engine-ready. The mesh is retopologized to a fixed polygon budget (quad QuadriFlow or silhouette-preserving low-poly) with PBR re-baked onto the new topology. POST a public glb_url + poly_budget; get back a durable first-party GLB URL.',
+ input: {
+ glb_url: 'https://three.ws/forge/prop.glb',
+ topology: 'quad',
+ poly_budget: 12000,
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['glb_url'],
+ properties: {
+ glb_url: {
+ type: 'string',
+ format: 'uri',
+ description: 'Public HTTPS URL of the source .glb mesh.',
+ },
+ topology: {
+ type: 'string',
+ enum: ['quad', 'tri'],
+ default: 'quad',
+ },
+ poly_budget: {
+ type: 'integer',
+ minimum: 1000,
+ maximum: 500000,
+ default: 15000,
+ },
+ texture_size: {
+ type: 'integer',
+ enum: [1024, 2048],
+ default: 1024,
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/pipeline-rembg.js b/api/_lib/service-catalog/services/pipeline-rembg.js
new file mode 100644
index 000000000..d7a274389
--- /dev/null
+++ b/api/_lib/service-catalog/services/pipeline-rembg.js
@@ -0,0 +1,43 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'pipeline-rembg',
+ title: 'Pipeline - RemBG',
+ category: '3d',
+ useCase: '3D Asset Pipeline — Background Removal: pay $0.01 USDC to strip the background from an image, returning a transparent PNG — the clean reference view image→3D reconstruction needs so it never bakes a room into the mesh.',
+ path: '/api/x402/pipeline-rembg',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '10000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Pipeline - RemBG',
+ tags: ['image', 'rembg', 'cutout', 'segmentation', 'pipeline'],
+ description: '3D Asset Pipeline — Background Removal: pay $0.01 USDC to strip the background from an image, returning a transparent PNG — the clean reference view image→3D reconstruction needs so it never bakes a room into the mesh. POST a public image_url; get back a durable first-party PNG URL.',
+ input: {
+ image_url: 'https://three.ws/uploads/photo.jpg',
+ model: 'rmbg2',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['image_url'],
+ properties: {
+ image_url: {
+ type: 'string',
+ format: 'uri',
+ description: 'Public HTTPS URL of the source image (PNG, JPEG, WEBP, or GIF).',
+ },
+ model: {
+ type: 'string',
+ enum: ['rmbg2', 'u2net', 'isnet', 'u2net_human_seg', 'silueta'],
+ default: 'rmbg2',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/pipeline-remesh.js b/api/_lib/service-catalog/services/pipeline-remesh.js
new file mode 100644
index 000000000..94d6a29ed
--- /dev/null
+++ b/api/_lib/service-catalog/services/pipeline-remesh.js
@@ -0,0 +1,60 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'pipeline-remesh',
+ title: 'Pipeline - Remesh',
+ category: '3d',
+ useCase: '3D Asset Pipeline — Remesh: pay $0.03 USDC to retopologize a GLB.',
+ path: '/api/x402/pipeline-remesh',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '30000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Pipeline - Remesh',
+ tags: ['3d', 'remesh', 'retopology', 'glb', 'pipeline'],
+ description: '3D Asset Pipeline — Remesh: pay $0.03 USDC to retopologize a GLB. Triangle, quad, or low-poly remeshing plus repair and decimation to a target face count, with the texture re-baked onto the new topology. POST a public glb_url and options; get back a durable first-party GLB URL.',
+ input: {
+ glb_url: 'https://three.ws/forge/sample.glb',
+ remesh_mode: 'quad',
+ target_faces: 20000,
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['glb_url'],
+ properties: {
+ glb_url: {
+ type: 'string',
+ format: 'uri',
+ description: 'Public HTTPS URL of the source .glb mesh.',
+ },
+ remesh_mode: {
+ type: 'string',
+ enum: ['triangle', 'quad', 'lowpoly'],
+ default: 'triangle',
+ },
+ operation: {
+ type: 'string',
+ enum: ['full', 'simplify', 'repair', 'convert'],
+ default: 'full',
+ },
+ target_faces: {
+ type: 'integer',
+ minimum: 1000,
+ maximum: 500000,
+ default: 50000,
+ },
+ texture_size: {
+ type: 'integer',
+ enum: [512, 1024, 2048],
+ default: 1024,
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/pipeline-rig.js b/api/_lib/service-catalog/services/pipeline-rig.js
new file mode 100644
index 000000000..4147071f5
--- /dev/null
+++ b/api/_lib/service-catalog/services/pipeline-rig.js
@@ -0,0 +1,43 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'pipeline-rig',
+ title: 'Pipeline - Rig',
+ category: '3d',
+ useCase: '3D Asset Pipeline — Rig: pay $0.05 USDC to make a static GLB animation-ready.',
+ path: '/api/x402/pipeline-rig',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '50000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Pipeline - Rig',
+ tags: ['3d', 'rigging', 'skeleton', 'glb', 'pipeline'],
+ description: '3D Asset Pipeline — Rig: pay $0.05 USDC to make a static GLB animation-ready. A humanoid skeleton is inferred and bound to the mesh with skin weights so the model can walk, wave, and emote. POST a public glb_url; get back a durable first-party rigged GLB URL. No other x402 resource rigs a mesh.',
+ input: {
+ glb_url: 'https://three.ws/forge/character.glb',
+ rig_type: 'biped',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['glb_url'],
+ properties: {
+ glb_url: {
+ type: 'string',
+ format: 'uri',
+ description: 'Public HTTPS URL of the static .glb mesh to rig.',
+ },
+ rig_type: {
+ type: 'string',
+ enum: ['biped', 'quadruped'],
+ default: 'biped',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/pipeline-stylize.js b/api/_lib/service-catalog/services/pipeline-stylize.js
new file mode 100644
index 000000000..150c654db
--- /dev/null
+++ b/api/_lib/service-catalog/services/pipeline-stylize.js
@@ -0,0 +1,48 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'pipeline-stylize',
+ title: 'Pipeline - Stylize',
+ category: '3d',
+ useCase: '3D Asset Pipeline — Stylize: pay $0.03 USDC to geometrically restyle a GLB.',
+ path: '/api/x402/pipeline-stylize',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '30000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Pipeline - Stylize',
+ tags: ['3d', 'stylize', 'voxel', 'glb', 'pipeline'],
+ description: '3D Asset Pipeline — Stylize: pay $0.03 USDC to geometrically restyle a GLB. Voxel, brick, Voronoi-shatter, or faceted low-poly filters that rebuild the mesh itself (not a shader), so the look survives export to any engine. POST a public glb_url + style; get back a durable first-party GLB URL.',
+ input: {
+ glb_url: 'https://three.ws/forge/statue.glb',
+ style: 'voxel',
+ resolution: 48,
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['glb_url'],
+ properties: {
+ glb_url: {
+ type: 'string',
+ format: 'uri',
+ description: 'Public HTTPS URL of the source .glb mesh.',
+ },
+ style: {
+ type: 'string',
+ enum: ['voxel', 'brick', 'voronoi', 'lowpoly'],
+ default: 'voxel',
+ },
+ resolution: {
+ type: 'integer',
+ description: 'Style density, clamped per filter.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/pump-launch.js b/api/_lib/service-catalog/services/pump-launch.js
new file mode 100644
index 000000000..bc80cb157
--- /dev/null
+++ b/api/_lib/service-catalog/services/pump-launch.js
@@ -0,0 +1,93 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'pump-launch',
+ title: 'Pump Launcher',
+ category: 'launch',
+ useCase: 'Pump Launcher — launch a pump.fun token autonomously in one paid call: no SOL, no wallet, no account.',
+ path: '/api/x402/pump-launch',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '5000000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Pump Launcher',
+ tags: ['pump.fun', 'launch', 'deploy', 'token', 'solana'],
+ description: 'Pump Launcher — launch a pump.fun token autonomously in one paid call: no SOL, no wallet, no account. You pay USDC; the server fronts the ~0.022 SOL deploy cost, optionally grinds a vanity mint, and signs the bonding-curve create tx. Supply name + symbol and either a pre-pinned metadataUri or an imageUrl (we pin the image + descriptor to pump.fun IPFS). Creator rewards accrue to any Solana wallet you nominate; optional vanity prefix/suffix brands the mint address. Funnel: check the ticker is free first with the FREE GET /api/crypto/symbol, then confirm the deploy on the FREE GET /api/crypto/launches feed. Returns mint + tx signature + metadataUri + pump.fun URL.',
+ input: {
+ name: 'Helios',
+ symbol: 'HELIO',
+ imageUrl: 'https://example.com/helios.png',
+ creator: 'wwwPqsM4N7T9J69tB82nLyzxqsH159j4orftLTQfUGV',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['name', 'symbol'],
+ oneOf: [
+ {
+ required: ['metadataUri'],
+ },
+ {
+ required: ['imageUrl'],
+ },
+ ],
+ properties: {
+ name: {
+ type: 'string',
+ minLength: 1,
+ maxLength: 32,
+ },
+ symbol: {
+ type: 'string',
+ minLength: 1,
+ maxLength: 10,
+ },
+ metadataUri: {
+ type: 'string',
+ maxLength: 2048,
+ },
+ imageUrl: {
+ type: 'string',
+ maxLength: 2048,
+ },
+ description: {
+ type: 'string',
+ maxLength: 2000,
+ },
+ twitter: {
+ type: 'string',
+ maxLength: 2048,
+ },
+ telegram: {
+ type: 'string',
+ maxLength: 2048,
+ },
+ website: {
+ type: 'string',
+ maxLength: 2048,
+ },
+ creator: {
+ type: 'string',
+ minLength: 32,
+ maxLength: 44,
+ },
+ vanityPrefix: {
+ type: 'string',
+ maxLength: 5,
+ },
+ vanitySuffix: {
+ type: 'string',
+ maxLength: 5,
+ },
+ vanityIgnoreCase: {
+ type: 'boolean',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/rate-limit-probe.js b/api/_lib/service-catalog/services/rate-limit-probe.js
new file mode 100644
index 000000000..867752d70
--- /dev/null
+++ b/api/_lib/service-catalog/services/rate-limit-probe.js
@@ -0,0 +1,36 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'rate-limit-probe',
+ title: 'Rate-Limit Probe',
+ category: 'agent-infra',
+ useCase: 'Rate-Limit Capacity Probe — pay $0.001 USDC to learn how many more calls the x402 autonomous loop can make to a target endpoint today before hitting its daily USDC spend cap.',
+ path: '/api/x402/rate-limit-probe',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Rate-Limit Probe',
+ tags: ['rate-limit', 'capacity', 'health', 'oracle', 'agent'],
+ description: 'Rate-Limit Capacity Probe — pay $0.001 USDC to learn how many more calls the x402 autonomous loop can make to a target endpoint today before hitting its daily USDC spend cap. Returns remaining_calls, reset_at, and cooldown_active so agents can throttle dynamically instead of discovering the cap by failure.',
+ input: {
+ endpoint: '/api/x402/forge',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['endpoint'],
+ properties: {
+ endpoint: {
+ type: 'string',
+ pattern: '^/api/',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/schema-check.js b/api/_lib/service-catalog/services/schema-check.js
new file mode 100644
index 000000000..52489bd5c
--- /dev/null
+++ b/api/_lib/service-catalog/services/schema-check.js
@@ -0,0 +1,37 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'schema-check',
+ title: 'JSON API Schema Check',
+ category: 'agent-infra',
+ useCase: 'three.ws JSON API schema conformance checker — pay $0.001 USDC to fetch a named three.ws public API and validate its response against the declared schema.',
+ path: '/api/x402/schema-check',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws JSON API Schema Check',
+ tags: ['schema', 'validation', 'changelog', 'health', 'api'],
+ description: 'three.ws JSON API schema conformance checker — pay $0.001 USDC to fetch a named three.ws public API and validate its response against the declared schema. Surfaces breaking schema changes before users notice a broken feed. Current target: changelog_json — the /changelog.json feed holders and RSS consumers depend on. Returns { valid, version, entry_count, schema_errors }.',
+ input: {
+ api: 'changelog_json',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['api'],
+ additionalProperties: false,
+ properties: {
+ api: {
+ type: 'string',
+ enum: ['changelog_json'],
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/skill-call.js b/api/_lib/service-catalog/services/skill-call.js
new file mode 100644
index 000000000..3879c93ee
--- /dev/null
+++ b/api/_lib/service-catalog/services/skill-call.js
@@ -0,0 +1,38 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'skill-call',
+ title: 'Skill Call',
+ category: 'agent-infra',
+ useCase: 'three.ws Skill Call — pay the per-call price of a marketplace skill in USDC (Base or Solana) and receive its executable payload: the tool schema and content the calling agent runs.',
+ path: '/api/x402/skill-call',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '10000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Skill Call',
+ tags: ['skill', 'agent', 'tool', 'pay-per-call'],
+ description: 'three.ws Skill Call — pay the per-call price of a marketplace skill in USDC (Base or Solana) and receive its executable payload: the tool schema and content the calling agent runs. Payment settles straight to the skill author\'s wallet. Per-call pricing — every invocation is a fresh payment.',
+ input: {
+ skill: 'wallet-balance',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['skill'],
+ properties: {
+ skill: {
+ type: 'string',
+ minLength: 1,
+ maxLength: 128,
+ description: 'Unique skill slug from the marketplace_skills catalog.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/skill-marketplace.js b/api/_lib/service-catalog/services/skill-marketplace.js
new file mode 100644
index 000000000..649ba0bab
--- /dev/null
+++ b/api/_lib/service-catalog/services/skill-marketplace.js
@@ -0,0 +1,40 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'skill-marketplace',
+ title: 'Skill Market',
+ category: 'agent-infra',
+ useCase: 'Skill Marketplace — list active skill listings with prices across all three.ws agents.',
+ path: '/api/x402/skill-marketplace',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Skill Market',
+ tags: ['marketplace', 'agent', 'skills', 'pricing', 'discovery'],
+ description: 'Skill Marketplace — list active skill listings with prices across all three.ws agents. Filter by skill name to find the cheapest provider for a given capability. Returns price atomics, chain, currency, trial offer, and time-pass terms.',
+ input: {
+ skill: 'inspect_model',
+ limit: 20,
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ skill: {
+ type: 'string',
+ },
+ limit: {
+ type: 'integer',
+ minimum: 1,
+ maximum: 200,
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/solana-register-health.js b/api/_lib/service-catalog/services/solana-register-health.js
new file mode 100644
index 000000000..53aa72ff1
--- /dev/null
+++ b/api/_lib/service-catalog/services/solana-register-health.js
@@ -0,0 +1,28 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'solana-register-health',
+ title: 'Solana Reg Health',
+ category: 'agent-infra',
+ useCase: 'Solana Agent Registration Health Check — verifies three.ws\'s server-custodial Solana agent-registration subsystem end-to-end by resolving a known canary agent\'s on-chain Metaplex Agent Registry record (Identity PDA + Core asset) and confirming both accounts exist on-chain right now.',
+ path: '/api/x402/solana-register-health',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Solana Reg Health',
+ tags: ['health', 'solana', 'registration', 'agent', 'canary'],
+ description: 'Solana Agent Registration Health Check — verifies three.ws\'s server-custodial Solana agent-registration subsystem end-to-end by resolving a known canary agent\'s on-chain Metaplex Agent Registry record (Identity PDA + Core asset) and confirming both accounts exist on-chain right now. Returns a health snapshot with latency and the checked asset. Pay-per-call in USDC on Solana or Base mainnet.',
+ input: {},
+ inputSchema: {
+ type: 'object',
+ properties: {},
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/spend-session.js b/api/_lib/service-catalog/services/spend-session.js
new file mode 100644
index 000000000..438c4c87e
--- /dev/null
+++ b/api/_lib/service-catalog/services/spend-session.js
@@ -0,0 +1,41 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'spend-session',
+ title: 'Spend Session Health',
+ category: 'payments',
+ useCase: 'three.ws Spend Session Health — pay $0.01 USDC to probe the Agent Payment Sessions governance layer.',
+ path: '/api/x402/spend-session',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '10000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Spend Session Health',
+ tags: ['health', 'governance', 'payment-session', 'canary', 'x402'],
+ description: 'three.ws Spend Session Health — pay $0.01 USDC to probe the Agent Payment Sessions governance layer. mode:"canary" creates a canary session row and immediately consumes it, returning { created, consumed, latency_ms } — the most important health check for the x402 governance layer. mode:"audit" returns a live aggregate snapshot of all payment sessions (active count, remaining budget, expired_count_24h). Pay-per-call in USDC on Solana mainnet.',
+ input: {
+ mode: 'canary',
+ budget: 0.01,
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ mode: {
+ type: 'string',
+ enum: ['canary', 'audit'],
+ default: 'canary',
+ },
+ budget: {
+ type: 'number',
+ minimum: 0,
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/symbol-availability.js b/api/_lib/service-catalog/services/symbol-availability.js
new file mode 100644
index 000000000..d8a2b073a
--- /dev/null
+++ b/api/_lib/service-catalog/services/symbol-availability.js
@@ -0,0 +1,42 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'symbol-availability',
+ title: 'Symbol Check',
+ category: 'launch',
+ useCase: 'Symbol Availability — pre-launch ticker collision check against three.ws\'s pump.fun mint index.',
+ path: '/api/x402/symbol-availability',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Symbol Check',
+ tags: ['ticker', 'pump.fun', 'collision', 'launch', 'solana'],
+ description: 'Symbol Availability — pre-launch ticker collision check against three.ws\'s pump.fun mint index. Returns exact-symbol collisions plus trigram-similar tickers so launch agents can avoid name confusion and aggregator-search dilution.',
+ input: {
+ ticker: 'HELIO',
+ network: 'mainnet',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['ticker'],
+ properties: {
+ ticker: {
+ type: 'string',
+ minLength: 1,
+ maxLength: 32,
+ },
+ network: {
+ type: 'string',
+ enum: ['mainnet', 'devnet'],
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/telegram-health.js b/api/_lib/service-catalog/services/telegram-health.js
new file mode 100644
index 000000000..1cc6cb0e4
--- /dev/null
+++ b/api/_lib/service-catalog/services/telegram-health.js
@@ -0,0 +1,37 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'telegram-health',
+ title: 'Telegram Bot Health',
+ category: 'agent-infra',
+ useCase: 'Changelog Telegram Bot Health Check — pays $0.001 USDC to verify that the three.ws platform bot can reach the Telegram API and is alive.',
+ path: '/api/x402/telegram-health',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Telegram Bot Health',
+ tags: ['health', 'telegram', 'bot', 'changelog', 'canary'],
+ description: 'Changelog Telegram Bot Health Check — pays $0.001 USDC to verify that the three.ws platform bot can reach the Telegram API and is alive. Returns { reachable, bot_id, bot_username, latency_ms }. If unreachable, new changelog entries will not reach $THREE holders until the bot is restored.',
+ input: {
+ bot: 'changelog',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['bot'],
+ additionalProperties: false,
+ properties: {
+ bot: {
+ type: 'string',
+ enum: ['changelog'],
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/token-intel.js b/api/_lib/service-catalog/services/token-intel.js
new file mode 100644
index 000000000..ee99373c3
--- /dev/null
+++ b/api/_lib/service-catalog/services/token-intel.js
@@ -0,0 +1,36 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'token-intel',
+ title: 'Token Oracle',
+ category: 'market-data',
+ useCase: 'three.ws Token Oracle — pay $0.01 USDC per call for live market intel on ANY token by contract address: price, 24 h change, market cap, liquidity, 24 h volume, and a bullish / bearish / neutral signal with a two-sentence rationale.',
+ path: '/api/x402/token-intel',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '10000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Token Oracle',
+ tags: ['crypto', 'market', 'signal', 'oracle', 'solana'],
+ description: 'three.ws Token Oracle — pay $0.01 USDC per call for live market intel on ANY token by contract address: price, 24 h change, market cap, liquidity, 24 h volume, and a bullish / bearish / neutral signal with a two-sentence rationale. Pass ?mint=<contract-address> (Solana mint or EVM 0x). The mint is supplied at runtime — generic coin-agnostic plumbing. Powered by live DexScreener data; this is the paid endpoint the CA-to-x402 resolver generates.',
+ input: {
+ mint: 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['mint'],
+ properties: {
+ mint: {
+ type: 'string',
+ description: 'Token contract address — Solana base58 mint or EVM 0x address.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/vanity-premium.js b/api/_lib/service-catalog/services/vanity-premium.js
new file mode 100644
index 000000000..64363078f
--- /dev/null
+++ b/api/_lib/service-catalog/services/vanity-premium.js
@@ -0,0 +1,39 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'vanity-premium',
+ title: 'Premium Vanity',
+ category: 'launch',
+ useCase: 'Premium Vanity Inventory — buy a PRE-GROUND Solana address with a long (4–5+ char) brandable prefix, delivered instantly from stock.',
+ path: '/api/x402/vanity-premium',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Premium Vanity',
+ tags: ['solana', 'vanity', 'wallet', 'address', 'premium'],
+ description: 'Premium Vanity Inventory — buy a PRE-GROUND Solana address with a long (4–5+ char) brandable prefix, delivered instantly from stock. Browse available patterns and prices with a plain GET; buy one with GET ?address=<base58> via x402 (USDC on Base or Solana). Price scales with grind difficulty ($1–$50). The key is delivered exactly ONCE and its stored ciphertext is destroyed on delivery (delete-after-reveal). Optional sealTo=<X25519 public key> seals the key to you so plaintext never appears in the response. CUSTODY: keys are platform-generated — use one as a token MINT address or sweep assets to self-generated custody, not as a long-term treasury. Distinct from the live /api/x402/vanity grinder (fresh <=3-char keypair per request) — this tier sells rarer addresses too slow to grind on demand.',
+ input: {
+ address: '<base58 from the listing>',
+ },
+ inputSchema: {
+ type: 'object',
+ properties: {
+ address: {
+ type: 'string',
+ description: 'A Base58 address from the premium inventory listing (GET with no address to browse). Buys that exact pre-ground address.',
+ },
+ sealTo: {
+ type: 'string',
+ description: 'Optional. Your 32-byte X25519 public key (Base58/Base64url/hex) to receive the key ECIES-sealed — plaintext never appears in the response.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/vanity-verifiable.js b/api/_lib/service-catalog/services/vanity-verifiable.js
new file mode 100644
index 000000000..9664d5928
--- /dev/null
+++ b/api/_lib/service-catalog/services/vanity-verifiable.js
@@ -0,0 +1,61 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'vanity-verifiable',
+ title: 'Provable Vanity Grinder',
+ category: 'launch',
+ useCase: 'Provably-Fair Vanity Grinder — generate a brand-new Solana keypair whose Base58 address starts with a chosen prefix and/or ends with a chosen suffix, with a SIGNED receipt that proves the key was ground fresh and never kept.',
+ path: '/api/x402/vanity-verifiable',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '20000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Provable Vanity Grinder',
+ tags: ['solana', 'vanity', 'keypair', 'wallet', 'verifiable'],
+ description: 'Provably-Fair Vanity Grinder — generate a brand-new Solana keypair whose Base58 address starts with a chosen prefix and/or ends with a chosen suffix, with a SIGNED receipt that proves the key was ground fresh and never kept. The server commits to a random 32-byte seed (commitment = SHA-256(serverSeed)) BEFORE grinding, mixes in your optional clientSeed, derives each candidate deterministically (HMAC-SHA256 → Ed25519), and signs the receipt with its long-lived service key (published at /.well-known/three-vanity.json). Pass sealTo=<X25519 public key> and the secret is ECIES-sealed to you — plaintext never appears in the response or any log. Verify entirely client-side with @three-ws/solana-agent verifyVanityReceipt(), the CLI, or three.ws/vanity/verify. Combined pattern capped at 3 Base58 chars, priced $0.02–$0.40; settlement runs only after a successful grind, so an exhausted budget costs nothing.',
+ input: {
+ prefix: 'So',
+ suffix: '',
+ ignoreCase: '0',
+ sealTo: '',
+ },
+ inputSchema: {
+ type: 'object',
+ anyOf: [
+ {
+ required: ['prefix'],
+ },
+ {
+ required: ['suffix'],
+ },
+ ],
+ properties: {
+ prefix: {
+ type: 'string',
+ maxLength: 3,
+ description: 'Base58 characters the address must start with (excludes 0, O, I, l). Combined with suffix, max 3.',
+ },
+ suffix: {
+ type: 'string',
+ maxLength: 3,
+ description: 'Base58 characters the address must end with. Combined with prefix, max 3.',
+ },
+ ignoreCase: {
+ type: 'string',
+ enum: ['0', '1', 'true', 'false'],
+ description: 'When 1/true, match case-insensitively (faster, less specific).',
+ },
+ sealTo: {
+ type: 'string',
+ description: 'Recommended. Your 32-byte X25519 public key (Base58/Base64url/hex). When set, the secret is ECIES-sealed to it and omitted from the response.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/vanity.js b/api/_lib/service-catalog/services/vanity.js
new file mode 100644
index 000000000..5d6ceab3d
--- /dev/null
+++ b/api/_lib/service-catalog/services/vanity.js
@@ -0,0 +1,71 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'vanity',
+ title: 'Vanity Grinder',
+ category: 'launch',
+ useCase: 'Vanity Grinder — put your brand on-chain: get a Solana address that starts with your ticker/prefix and/or ends with a chosen suffix, for a branded token MINT address, a recognizable agent/treasury wallet, or any wallet identifiable at a glance.',
+ path: '/api/x402/vanity',
+ method: 'GET',
+ free: false,
+ status: 'live',
+ priceAtomics: '10000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Vanity Grinder',
+ tags: ['solana', 'vanity', 'keypair', 'wallet', 'address'],
+ description: 'Vanity Grinder — put your brand on-chain: get a Solana address that starts with your ticker/prefix and/or ends with a chosen suffix, for a branded token MINT address, a recognizable agent/treasury wallet, or any wallet identifiable at a glance. The server grinds a brand-new keypair to match (no wallet, account, or SOL needed) and never stores it — the secret is served once over TLS and stripped from the replay cache. format=keypair (default) returns the address + secret key (Base58 + 64-byte array) importable into any Solana wallet, capped at 3 Base58 chars, priced $0.01 (1 char) / $0.05 (2) / $0.25 (3). format=mnemonic returns a BIP-39 seed phrase (12/24 words) whose derived key lands on the address, capped at 2 chars (~100× slower), priced $0.05 / $0.50. Optional sealTo=<X25519 pubkey> ECIES-seals the secret to you so plaintext never appears in the response or any log. Settlement runs only after a successful grind, so an exhausted budget costs nothing. Keyless — no API keys, no accounts.',
+ input: {
+ prefix: 'So',
+ suffix: '',
+ ignoreCase: '0',
+ format: 'keypair',
+ },
+ inputSchema: {
+ type: 'object',
+ anyOf: [
+ {
+ required: ['prefix'],
+ },
+ {
+ required: ['suffix'],
+ },
+ ],
+ properties: {
+ prefix: {
+ type: 'string',
+ maxLength: 3,
+ description: 'Base58 characters the address must start with (excludes 0, O, I, l). Combined with suffix, max 3 (keypair) or 2 (mnemonic).',
+ },
+ suffix: {
+ type: 'string',
+ maxLength: 3,
+ description: 'Base58 characters the address must end with. Combined with prefix, max 3 (keypair) or 2 (mnemonic).',
+ },
+ ignoreCase: {
+ type: 'string',
+ enum: ['0', '1', 'true', 'false'],
+ description: 'When 1/true, match case-insensitively (faster, less specific).',
+ },
+ format: {
+ type: 'string',
+ enum: ['keypair', 'mnemonic'],
+ description: 'keypair (default): raw 64-byte Ed25519 secret key, up to 3 chars, $0.01–$0.25. mnemonic: BIP-39 seed phrase importable into any wallet, up to 2 chars, $0.05–$0.50.',
+ },
+ strength: {
+ type: 'string',
+ enum: ['128', '256'],
+ description: 'Mnemonic mode only. 128 → 12 words (default), 256 → 24 words. Ignored for keypair.',
+ },
+ sealTo: {
+ type: 'string',
+ description: 'Optional. Your 32-byte X25519 public key (Base58/Base64url/hex). When set, the secret is ECIES-sealed to it and the plaintext is omitted from the response.',
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/api/_lib/service-catalog/services/wallet-connect.js b/api/_lib/service-catalog/services/wallet-connect.js
new file mode 100644
index 000000000..631545898
--- /dev/null
+++ b/api/_lib/service-catalog/services/wallet-connect.js
@@ -0,0 +1,36 @@
+// Service-catalog descriptor — the single written-once listing for this
+// service. api/wk.js derives its /.well-known/x402.json resource entry from
+// this file via api/_lib/service-catalog/index.js (toBazaarDiscovery), and
+// the OKX storefront projection reads the same record (toOkxCatalog).
+// Contract: specs/service-catalog.md. Do not re-add a hand-written mirror
+// for this route in api/wk.js — edit this descriptor instead.
+
+export default {
+ slug: 'wallet-connect',
+ title: 'Wallet Connect Health',
+ category: 'agent-infra',
+ useCase: 'Wallet Connection Session Health Check — probes the SIWS (Sign-In With Solana) session initiation path: issues a real nonce challenge against the platform auth gateway, validates its structure and expiry, and measures roundtrip latency.',
+ path: '/api/x402/wallet-connect',
+ method: 'POST',
+ free: false,
+ status: 'live',
+ priceAtomics: '1000',
+ acceptsBuilder: 'standard',
+ serviceName: 'three.ws Wallet Connect Health',
+ tags: ['health', 'wallet', 'siws', 'session', 'auth'],
+ description: 'Wallet Connection Session Health Check — probes the SIWS (Sign-In With Solana) session initiation path: issues a real nonce challenge against the platform auth gateway, validates its structure and expiry, and measures roundtrip latency. Returns { session_created, latency_ms }. Pay-per-call in USDC on Solana or Base mainnet.',
+ input: {
+ mode: 'health',
+ },
+ inputSchema: {
+ type: 'object',
+ required: ['mode'],
+ properties: {
+ mode: {
+ type: 'string',
+ enum: ['health'],
+ },
+ },
+ },
+ storefronts: ['x402scan'],
+};
diff --git a/pages/tour.html b/pages/tour.html
index 3d9dac568..d22839104 100644
--- a/pages/tour.html
+++ b/pages/tour.html
@@ -454,6 +454,32 @@
</div>
</section>
+ <section class="tour-section">
+ <h2 class="tour-section__title">Or drive it yourself</h2>
+ <p class="tour-section__lead">Rather play than watch? Take the controls: each page gets a glowing checkpoint, and you steer the guide to it — arrow keys or WASD on desktop, a joystick on your phone. Press <strong>M</strong> anytime to flip between the two movement styles.</p>
+ <div class="tour-tracks">
+ <button class="tour-track" id="tour-start-explore">
+ <span class="tour-track__icon">🕹</span>
+ <span class="tour-track__body">
+ <span class="tour-track__title">Explore</span>
+ <span class="tour-track__meta">walk the guide anywhere — no falling</span>
+ </span>
+ <span class="tour-track__go">▶</span>
+ </button>
+ <button class="tour-track" id="tour-start-platformer">
+ <span class="tour-track__icon">🎮</span>
+ <span class="tour-track__body">
+ <span class="tour-track__title">Platformer</span>
+ <span class="tour-track__meta">gravity on — run and jump across the page</span>
+ </span>
+ <span class="tour-track__go">▶</span>
+ </button>
+ </div>
+ <p class="tour-section__lead" style="margin-top:14px; font-size:13.5px">
+ Want this on your own site or store? Build one in the <a href="/tour-builder">Tour Builder</a> — no code, both modes included.
+ </p>
+ </section>
+
<section class="tour-section">
<h2 class="tour-section__title">What you'll see</h2>
<p class="tour-section__lead">The tour runs as chapters — from building your first agent to taking it on-chain.</p>
@@ -501,6 +527,14 @@
document.getElementById('tour-start-full').addEventListener('click', () => startTour('full'));
document.getElementById('tour-start-2').addEventListener('click', () => startTour('quick'));
+ // Interactive modes are single-surface (one checkpoint per page), so they
+ // start on the homepage — the engine boots there via the deep link.
+ function startInteractive(mode) {
+ location.href = '/?tour=start&mode=' + mode;
+ }
+ document.getElementById('tour-start-explore').addEventListener('click', () => startInteractive('explore'));
+ document.getElementById('tour-start-platformer').addEventListener('click', () => startInteractive('platformer'));
+
// Resume affordance: an in-progress tour this session (sessionStorage)
// takes priority; otherwise a durable cross-session bookmark
// (localStorage) lets a returning visitor pick up where they left off.
diff --git a/public/features.json b/public/features.json
index 57a023ef2..a19a8857f 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-07T02:58:42.669Z",
+ "generated_at": "2026-07-07T03:24:14.787Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",