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
test: match x402 modal balance-read mock to same-origin solana-rpc proxy
miniaturization2ef9e8aaf71f
diff --git a/tests/public/x402-modal-dom.test.js b/tests/public/x402-modal-dom.test.jsindex bcc0a5c67..15ea2c367 100644--- a/tests/public/x402-modal-dom.test.js+++ b/tests/public/x402-modal-dom.test.js@@ -120,7 +120,10 @@ describe('x402 payment modal — trust + a11y', () => {throw new Error('should not reach signing when underfunded');};global.fetch = vi.fn(async (url) => {- if (String(url).includes('mainnet')) {+ // The modal reads the buyer's SPL balance through the same-origin+ // /api/solana-rpc proxy (getTokenAccountsByOwner); an empty value[]+ // means a 0 balance, which must surface the insufficient-funds state.+ if (String(url).includes('solana-rpc')) {return { ok: true, json: async () => ({ result: { value: [] } }) }; // 0 balance}return stub402();