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.

feat(dashboard): integrate vanity grinder card into avatar wallet section

nirholas4988a804aa1c
diff --git a/public/dashboard/dashboard.js b/public/dashboard/dashboard.js
index 3aefbfbea..305cef085 100644
--- a/public/dashboard/dashboard.js
+++ b/public/dashboard/dashboard.js
@@ -2,6 +2,7 @@
// Keeps bundle small and ensures anything rendering <model-viewer> works without bundler.
import { mountAgentSolanaWalletCard } from '/src/agent-solana-wallet.js';
+import { mountAgentVanityGrinderCard } from '/src/agent-vanity-grinder.js';
export const state = { user: null };
@@ -241,10 +242,16 @@ function mountAvatarWalletSection(host, a) {
} catch {}
});
}
- mountAgentSolanaWalletCard({
- panel: host.querySelector('[data-sol-wallet]'),
+ const solPanel = host.querySelector('[data-sol-wallet]');
+ const walletCard = mountAgentSolanaWalletCard({
+ panel: solPanel,
identity: { id: a.agent_id, name: a.name },
});
+ mountAgentVanityGrinderCard({
+ panel: solPanel,
+ identity: { id: a.agent_id, name: a.name },
+ onProvisioned: () => walletCard?.refresh?.(),
+ });
}
// Lazy-load preview when card scrolls into view. For private avatars, fetch