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
feat: enhance Solana wallet detection for ThreeWs integration
fudjia1f190fad85be
diff --git a/src/privy-login.js b/src/privy-login.jsindex d7f6915f3..11eb7037d 100644--- a/src/privy-login.js+++ b/src/privy-login.js@@ -145,6 +145,12 @@ function withTimeout(promise, ms, message) {// ── Solana wallet detection ───────────────────────────────────────────────────function getSolanaProvider() {+ // Seeker/Saga TWA: solana-mobile/src/index.js injects a Phantom-shaped+ // wallet backed by Seed Vault with isPhantom=false (it isn't Phantom) —+ // check its own isThreeWs flag first, same order as+ // src/onchain/adapters/solana.js.+ if (window.threeWsWallet?.isThreeWs) return window.threeWsWallet;+ if (window.solana?.isThreeWs) return window.solana;if (window.phantom?.solana?.isPhantom) return window.phantom.solana;if (window.solana?.isPhantom) return window.solana;if (window.backpack?.solana) return window.backpack.solana;