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.

Document $THREE micro-buy env vars in .env.example

nirholascec3d0085bff
diff --git a/.env.example b/.env.example
index ad18c977e..a5ea495b6 100644
--- a/.env.example
+++ b/.env.example
@@ -1103,6 +1103,40 @@ THREE_BUYBACK_MIN_USD=
# Jupiter slippage tolerance in basis points (0 < bps ≤ 5000). Default 300 (3%).
THREE_BUYBACK_SLIPPAGE_BPS=
+# ── $THREE micro-buy loop (api/x402/three-buy + api/cron/three-buy-loop) ──────
+# High-frequency sibling of the daily buyback: many tiny, real USDC→$THREE market
+# buys per minute, each triggered by (and paid through) a settled x402 call, so the
+# platform shows continuous, verifiable buy pressure. BUY-ONLY — it never sells.
+# Execution is OFF until this flag is truthy AND a funded signer exists; until then
+# every call is a recorded no-op and the x402 toll is refused (no charge).
+THREE_MICROBUY_ENABLED=
+# Set to false to pause ONLY the driver loop while leaving the endpoint payable.
+THREE_MICROBUY_LOOP_ENABLED=
+# Base64-encoded 64-byte Solana keypair that holds the micro-buy USDC float and
+# signs the Jupiter buys. Optional — when unset, the micro-buy lane reuses the
+# buyback wallet (THREE_BUYBACK_SECRET_KEY_B64). Set a DEDICATED key to keep the
+# two lanes' USDC from competing. Fund it with USDC and a little SOL for fees.
+THREE_MICROBUY_SECRET_KEY_B64=
+# USD spent per single micro-buy. Default 0.01 (hard-capped at 5).
+THREE_MICROBUY_USD=
+# UTC-daily ceiling on total micro-buy USD — the hard bound on real market spend
+# AND SOL fee burn, enforced atomically (Redis reserve-before-buy). Default 50.
+THREE_MICROBUY_DAILY_CAP_USD=
+# Buys fired per per-minute tick. Default 10; hard-capped at 60. Set 60 for the
+# "~60 buys/min" target. Real spend still bounded by THREE_MICROBUY_DAILY_CAP_USD.
+THREE_MICROBUY_PER_TICK=
+# Concurrent buy workers per tick (1–20). Default 8 — sized so a full 60-buy tick
+# finishes inside the economy-tick 60s call budget.
+THREE_MICROBUY_CONCURRENCY=
+# Jupiter slippage tolerance in bps (0 < bps ≤ 5000). Default 300 (3%).
+THREE_MICROBUY_SLIPPAGE_BPS=
+# Sweep accrued $THREE to the treasury every N ticks. Default 30 (~30 min).
+THREE_MICROBUY_SWEEP_EVERY_N_TICKS=
+# Per-tick ceiling on internal x402 tolls (USDC atomics, 6dp). Default 1000000 ($1).
+X402_THREE_BUY_TOLL_CAP_ATOMIC=
+# Override the per-call x402 toll price (USDC atomics). Default 1000 ($0.001).
+X402_PRICE_THREE_BUY=
+
# Base58-encoded 64-byte Solana keypair for the agent that signs outbound
# x402 payments from /api/x402-pay. Leave unset if you only RECEIVE x402.
X402_AGENT_SOLANA_SECRET_BASE58=