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(claim-wallet): drop the duplicated fmtPctPoints declaration that broke every build on main
nirholas9ca79294aa68
diff --git a/src/claim-wallet.js b/src/claim-wallet.jsindex 7ef2a9e39..9829e48c6 100644--- a/src/claim-wallet.js+++ b/src/claim-wallet.js@@ -116,14 +116,6 @@ function fmtPctPoints(points) {if (points == null || !Number.isFinite(Number(points))) return LAMP_NA;return `${Math.round(Number(points))}%`;}-// `wallet_reputation` stores win_rate / early_win_rate / dump_rate already in-// percentage points (see pct() in src/pump/wallet-reputation.js, which divides-// then multiplies by 100), so these values must NOT be scaled again. Running a-// 5.7% lifetime win rate through fmtPct printed "570%" on the live card.-function fmtPctPoints(points) {- if (points == null || !Number.isFinite(Number(points))) return LAMP_NA;- return `${Math.round(Number(points))}%`;-}function fmtRoi(roi) {if (roi == null) return LAMP_NA;const pct = Math.round(roi * 100);