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(app): deploy badge prioritizes Solana over legacy EVM chain
nirholasbf900ccbeca1
diff --git a/src/app-next-overlay.js b/src/app-next-overlay.jsindex ce1867bb6..477265f4c 100644--- a/src/app-next-overlay.js+++ b/src/app-next-overlay.js@@ -910,7 +910,7 @@ function wirePrimaryCTA() {// ── Deploy on-chain mirror ────────────────────────────────────────────────//// /src/app.js owns the canonical deploy CTA via #deploy-onchain-btn — it sets-// .href, .hidden, and the inner [data-state-label] (e.g. "Deployed ✓ base").+// .href, .hidden, and the inner [data-state-label] (e.g. "Deployed ✓ Solana").// We mirror that state into two visible Next surfaces://// • #nxt-deploy-btn — pill in the secondary action bardiff --git a/src/app.js b/src/app.jsindex 9ae00b91e..148dd9fb2 100644--- a/src/app.js+++ b/src/app.js@@ -736,6 +736,31 @@ class App {btn.dataset.avatarPrefilled = '1';}+ // Solana-first: three.ws prioritizes Solana over any EVM registration.+ // A Metaplex Core identity (sol_mint_address) or a Solana wallet+ // (solana_address) means this agent lives on Solana — surface that+ // even when a legacy ERC-8004 chain_id is also present on the record.+ const meta = agent.meta || {};+ const solRef = meta.sol_mint_address || meta.solana_address || null;+ if (solRef) {+ const onDevnet = meta.network === 'devnet';+ const path = meta.sol_mint_address ? 'token' : 'account';+ const url = onDevnet+ ? `https://explorer.solana.com/address/${solRef}?cluster=devnet`+ : `https://solscan.io/${path}/${solRef}`;+ btn.classList.add('is-deployed');+ btn.href = url;+ btn.target = '_blank';+ btn.rel = 'noopener';+ if (label) label.textContent = 'Deployed ✓ Solana';+ btn.setAttribute(+ 'aria-label',+ 'This agent is on Solana. Open the explorer in a new tab.',+ );+ btn.setAttribute('title', 'On-chain on Solana — view on explorer');+ return;+ }+const isDeployed = agent.erc8004_agent_id && agent.chain_id;if (!isDeployed) return;