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(economy): register the reasoning-ledger attester wallet in SOLANA_SIGNERS
nirholasf9c44c41bab0
diff --git a/api/_lib/solana-signers.js b/api/_lib/solana-signers.jsindex 877b8ec50..74f9b062d 100644--- a/api/_lib/solana-signers.js+++ b/api/_lib/solana-signers.js@@ -107,6 +107,15 @@ export const SOLANA_SIGNERS = [purpose: 'signs lottery/reflection distribution txs for launched coins',network: 'mainnet',},+ {+ name: 'reasoning-ledger-attester',+ env: 'ATTEST_AGENT_SECRET_KEY',+ minSol: 0.02,+ refillTo: 0.05,+ purpose:+ 'signs the SPL-Memo tx that anchors the reasoning-ledger hash-chain head on-chain (api/_lib/ledger-anchor.js) and the separate trader-score attestation (api/_lib/trader-score-attest.js); both load this same key via loadAttesterKeypair(). Memo-only, pubkey Fcwqit9x1KmfUboPtoVWBUdEuonNyTA8T6xtfAEPpPeH: never holds tokens or user funds, only needs enough SOL for its own tx fees.',+ network: 'mainnet',+ },{name: 'three-buyback',env: 'THREE_BUYBACK_SECRET_KEY_B64',diff --git a/tests/solana-signers-attester.test.js b/tests/solana-signers-attester.test.jsnew file mode 100644index 000000000..06cd509a2--- /dev/null+++ b/tests/solana-signers-attester.test.js@@ -0,0 +1,25 @@+// The reasoning-ledger attester wallet (ATTEST_AGENT_SECRET_KEY) must be+// registered in SOLANA_SIGNERS so treasury-topup.js and relayer-balance-check.js+// can see and auto-fund it. Before this entry existed, the wallet was invisible+// to both self-heal mechanisms: it could run dry forever with nothing noticing+// or refilling it, which is exactly what happened in production (10k+ repeats+// of the generic "anchoring is down" alert, never the specific low-balance one).++import { describe, it, expect } from 'vitest';+import { SOLANA_SIGNERS } from '../api/_lib/solana-signers.js';++describe('SOLANA_SIGNERS: reasoning-ledger attester', () => {+ it('contains exactly one entry for ATTEST_AGENT_SECRET_KEY', () => {+ const matches = SOLANA_SIGNERS.filter((s) => s.env === 'ATTEST_AGENT_SECRET_KEY');+ expect(matches).toHaveLength(1);+ });++ it('is a memo-only signer with a small floor and refill target', () => {+ const spec = SOLANA_SIGNERS.find((s) => s.env === 'ATTEST_AGENT_SECRET_KEY');+ expect(spec.minSol).toBe(0.02);+ expect(spec.refillTo).toBe(0.05);+ expect(spec.network).toBe('mainnet');+ expect(spec.holdsTokens).toBeFalsy();+ expect(spec.isMaster).toBeFalsy();+ });+});