← all projects

ArcSteward

@Lakshmikanth-3·Lakshmi Kanth S·14 followers·added 2026-10-24
0
stars
5.3k
lines
102
files
0
forks
14
followers
languages
TypeScript 83%JavaScript 9%Solidity 8%

ArcSteward lets an AI agent capture supplier early-payment discounts without being able to lose the company's money. Suppliers sign their payout address and each invoice offer with EIP-712 from a phone, and a gasless relay (api/earlypay/relay/route.ts) posts them to contracts/arc/EarlyPayLedger.sol via registerSupplierBySig and submitOffer, with a payout-change cooldown against bank-detail fraud. The engine in app/src/lib/earlypay/decide.ts computes a deterministic ceiling from discount APR versus hold yield, liquidity buffer and risk flags, and a Groq-hosted LLM may only pick at or below that ceiling (the ALLOWED map): PAY_EARLY can become HOLD while REJECT can never become a payment. Money moves through ArcVault.sol, a USDC vault enforcing per-payment, daily and total limits, a payee allowlist, expiry, instant revoke and a duplicate-payment guard inside the transaction, created by ArcVaultFactory and curated by MerchantRegistry. Every decision is hash-chained on Arc via recordDecision and verified in the browser on /earlypay/audit. The @velo402/arc-sdk package and an HTTP 402 pay-per-request server (x402-server.ts) complete the kit.

events
tags
builder bio

I'm a passionate developer who loves building things—whether it's web apps, APIs, or tools that solve real problems. I enjoy clean code, open-source collaborati

team · solo

1 (Solo) — Lakshmikanth s

on xx/lakchu_3
repo description

AI treasury agent that pays supplier invoices early in USDC on Arc — only good deals, only to verified accounts, inside on-chain vault limits, with every decision recorded publicly. Built for the Tameion Agents Hackathon.

last pushed 2026-10-17