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
economy-rebalance refinement
nirholas7c4769c1f9bb
diff --git a/api/cron/economy-rebalance.js b/api/cron/economy-rebalance.jsindex 92e28d5b6..c388265a7 100644--- a/api/cron/economy-rebalance.js+++ b/api/cron/economy-rebalance.js@@ -109,15 +109,22 @@ export default wrapCron(async (req, res) => {const spec = SOLANA_SIGNERS.find((s) => s.name === leg.name);let keypair;try {- keypair = await loadSignerKeypair(spec);+ // loadSignerKeypair returns { configured, keypair, decodeError } — the+ // web3.js Keypair lives on .keypair (same shape economy-sweepback uses).+ const loaded = await loadSignerKeypair(spec);+ keypair = loaded?.keypair || null;+ if (!keypair) {+ results.push({+ name: leg.name,+ status: 'skipped',+ reason: loaded?.decodeError ? 'signer_decode_error' : 'signer_unconfigured',+ });+ continue;+ }} catch (err) {results.push({ name: leg.name, status: 'failed', reason: `key: ${err.message}` });continue;}- if (!keypair) {- results.push({ name: leg.name, status: 'skipped', reason: 'signer_unconfigured' });- continue;- }try {const r = await executeSwap({ connection, keypair, leg, solPriceUsd, network: NETWORK });results.push(r);