← all projects

AgentTreasury Lite

@kenvin-maker·added 2026-07-19
0
stars
1.5k
lines
29
files
0
forks
0
followers
languages
JavaScript 55%TypeScript 45%

AgentTreasury Lite is a policy-gated USDC payment agent for Arc Testnet. A shared treasury policy engine in src/policy.js enforces recipient allowlists, per-payment caps, minimum reserve balances, required invoice IDs, and deterministic bytes32 memo IDs for offchain reconciliation. It powers two surfaces: a dry-run CLI (src/agentTreasuryLite.js) that returns auditable APPROVED/REJECTED decisions, and a Vite browser demo (src/browser/main.ts) built on @circle-fin/app-kit and viem that checks live MetaMask account, network, and balance state before handing an approved payment to App Kit estimateSend() and send() behind an explicit human signature boundary. A node --test suite in test/ covers approvals, limits, reserves, and memo determinism, with example policy and payment-request JSON in config/ and examples/.

events
tags
circle components
team · solo

1 (Solo) — JACK LI

on xx/jay443991053
repo description

Simple Arc Network Testnet smart contract deployment and interaction log.

last pushed 2026-07-24