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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(x402): green-light /api/x402-status health probe
nirholasd2a586dea2a6
diff --git a/api/_lib/env.js b/api/_lib/env.jsindex c9e447df4..8fd9dc21b 100644--- a/api/_lib/env.js+++ b/api/_lib/env.js@@ -275,10 +275,11 @@ export const env = {// api/_lib/siwx-server.js) to validate EIP-1271 / EIP-6492 smart-contract// wallet signatures via viem's publicClient.verifyMessage. Without this,// SIWX falls back to EOA-only verification (still works for MetaMask /- // Phantom EOAs; rejects Coinbase Smart Wallet, Safe, etc.). Defaults to- // the same RPC the club-payouts cron uses so a single env var works.+ // Phantom EOAs; rejects Coinbase Smart Wallet, Safe, etc.). Falls back to+ // the club-payouts cron RPC, then the per-chain RPC_URL_8453 the delegation+ // + indexing crons use, so one provisioned Base RPC serves all of them.get BASE_RPC_URL() {- return opt('BASE_RPC_URL', opt('CLUB_BASE_RPC_URL'));+ return opt('BASE_RPC_URL', opt('CLUB_BASE_RPC_URL', opt('RPC_URL_8453')));},// ── ERC-7710 Delegation Relayer ──────────────────────────────────────────diff --git a/api/_lib/x402-spec.js b/api/_lib/x402-spec.jsindex a4774dd03..7bbe1013b 100644--- a/api/_lib/x402-spec.js+++ b/api/_lib/x402-spec.js@@ -84,17 +84,18 @@ export const ERC20_APPROVAL_EXTENSION_KEY = ERC20_APPROVAL_GAS_SPONSORING.key;export const NETWORK_BASE_MAINNET = 'eip155:8453';export const NETWORK_BASE_SEPOLIA = 'eip155:84532';export const NETWORK_ARBITRUM_MAINNET = 'eip155:42161';-export const NETWORK_OPTIMISM_MAINNET = 'eip155:10';export const NETWORK_BSC_MAINNET = 'eip155:56';export const NETWORK_SOLANA_MAINNET = 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp';export const NETWORK_SOLANA_DEVNET = 'solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1';// Networks the CDP facilitator settles when credentials are configured.+// Confirmed against the live /supported probe — CDP advertises exact for Base+// and Arbitrum but NOT Optimism, so Optimism is deliberately absent: no accept+// entry routes there, and listing it only made /api/x402-status report 503.const CDP_EVM_NETWORKS = new Set([NETWORK_BASE_MAINNET,NETWORK_BASE_SEPOLIA,NETWORK_ARBITRUM_MAINNET,- NETWORK_OPTIMISM_MAINNET,]);// Networks that settle via on-chain pay(bytes32) calls rather than a