CronusCapital
CronusCapital is a React and TypeScript agent that runs a real on-chain business end-to-end on Arc Testnet. A three-agent Scout/Analyst/Executor pipeline in src/agents/cronusAgents.ts pulls live Polymarket markets through api/polymarket.js, scores them with an OKX-fed Groq Llama-3.3 oracle (api/consult.js), and commits every decision to the CronusDecisions contract with wagmi, viem, and Reown AppKit. It also monetizes itself. api/signal.js serves a verifiable x402 paywall with on-chain USDC verification, a freshness window, and one-time-use replay proofs, discoverable through lib/manifest.js. Circle Gateway nanopayments stream gas-free with @circle-fin/x402-batching and scripts/buyer-agent.mjs, while api/agent-payout.js bridges revenue from Arc to Stellar over CCTP V2. Deeper primitives ship too: conviction staking that burns wrong calls (lib/resolveStake.js), parametric micro-insurance (lib/cover.js), spending limits, split payments, subscriptions, ERC-8004 identity and ERC-8183 escrow contracts, and an MCP server (cronus-mcp/index.mjs). A self-monitoring ops layer rounds it out: the alerts agent behind /api/alerts (lib/alerts.js) snapshot-diffs 19 live metrics across eight of the API's endpoints through Upstash KV and pages the operator over Telegram only on real state changes. Machine-to-machine price discovery is built in: api/nano-signal.js hands any agent a free personalized quote with per-payer loyalty pricing tracked in KV, and the discounted loyal tier is gated by ERC-8004 identity — the seller checks isRegistered on-chain before offering it. Rhea, the autonomous buyer agent in scripts/rhea-agent.mjs, negotiates against a reserve price and daily budget, decides BUY, WALK_AWAY, or DEFER, settles gas-free through Gateway, commits every decision to the public m2m-ledger/ from scheduled GitHub Actions runs, and registered her own on-chain identity through scripts/register-rhea.mjs to keep her discount.
Full-Stack Web3 Engineer | AI Architect | Security Researcher. Building the future of Autonomous Economy.
Artem Gromov