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.

bonfida bare import in x402/pay-by-name (completes the sweep)

nirholasa602d9641078
diff --git a/api/x402/pay-by-name.js b/api/x402/pay-by-name.js
index 6bffce850..6af1df4dd 100644
--- a/api/x402/pay-by-name.js
+++ b/api/x402/pay-by-name.js
@@ -94,7 +94,7 @@ async function resolveName(rawName) {
}
}
try {
- const sns = await import('@bonfida/spl-name-service/dist/cjs/index.js');
+ const sns = await import('@bonfida/spl-name-service');
const conn = solanaConnection('mainnet');
const pk = await sns.resolve(conn, bare);
return {