3 Commits

Author SHA1 Message Date
b1e89f8e82 feat(arc): real ERC-8183 ABI + Circle DCW adapters + runnable example scripts
- erc8183-viem: rewritten to the REAL deployed AgenticCommerce ABI/address (createJob/setBudget/approve+fund/submit/complete/getJob, JobCreated jobId decode, status enum, USDC 6-dec); refund now throws (no on-chain function).
- @settlekit/erc8004-dcw + @settlekit/erc8183-dcw: Circle Developer-Controlled-Wallet adapters via circle-wallets contract-execution + polling (injected keccak + reader; no viem dep).
- circle-wallets: ARC/ARC-TESTNET added to CircleBlockchain.
- apps/examples: runnable offline erc8004-agent + erc8183-job lifecycle demos (Local ports; live viem/DCW wiring documented).
- 1302 tests / 213 suites, typecheck + full build green.
2026-06-20 23:57:15 +03:00
7d0589fb2e feat(arc): live viem adapters (erc8004/erc8183/app-kit) + worker Arc settlement wiring
- @settlekit/erc8004-viem: viem adapter implementing Erc8004Port against deployed ERC-8004 registries (real ABIs, keccak256 hash derivation, Transfer-log agentId lookup).
- @settlekit/erc8183-viem: ABI-injectable viem adapter for Erc8183Port.
- @settlekit/app-kit-viem: viem-backed AppKitSdk (USDC ERC-20 transfer for Send + estimate; bridge/swap/unified throw a clear unsupported error).
- apps/worker: env-gated Arc settlement provider (SETTLEMENT_PROVIDER=arc) via app-kit-viem -> configureAppKit -> ArcSettlementProvider, falling back to local when unconfigured (default unchanged).
- apps/examples: Arc-commerce checkout demo (offline via LocalAppKitSdk).
- fixes: viem chain/account typing, app-kit-viem unsupported methods made async.
1233 tests / 208 suites, typecheck + full build green.
2026-06-20 23:42:01 +03:00
598cd03f05 feat: implement all 8 SettleKit apps + fix x402 nonce round-trip
apps:
- api: Hono REST server, all §26 endpoints, 14 tests
- worker: delivery runner + payment-confirm + access-sync + renewal + webhook-retry jobs wired to real package clients
- dashboard: Next.js merchant dashboard, full §16/§27 sections + §28 product builder
- checkout: Next.js hosted USDC checkout with real delivery materialization
- marketplace: Next.js public marketplace + agent metadata.json route
- admin: Next.js risk/ops console wired to @settlekit/risk + database
- docs: Next.js docs site (9 static routes)
- examples: 5 runnable end-to-end examples

fix(x402): support pinned config.nonce so a stateless verifier can confirm
the challenge nonce round-trips (default stays random; package tests intact).

Full workspace: 590 tests passing (122 files), tsc green for all packages +
api/worker/examples, all 5 Next apps typecheck clean, docs next build green.
2026-06-15 10:49:14 +03:00