← all projects

Arc Policy Envelope

@Jaydearcadian·Jaydearcadian·11 followers
0
stars
814
lines
23
files
0
forks
11
followers
languages
TypeScript 81%JavaScript 19%

A forkable, dependency-light TypeScript primitive for bounding agent and app spending on Arc before any USDC or EURC moves. It defines, canonicalizes (canonical.ts), hashes (hash.ts), and evaluates (evaluate.ts) policy "envelopes" — per-action and per-period spend caps, recipient and venue allowlists, and UTC schedule windows — emitting deterministic policyHash/approvalHash on allow, or denialHash plus reasons on deny, that downstream services can reference. It ships a typed API (api.ts, types.ts), an HTTP server (server.ts), and runnable examples; is Apache-2.0 and arc-testnet/arc-mainnet aware with 6-decimal stablecoin precision; and never holds keys, calls RPC, or submits transactions — it only decides whether money is allowed to move. Part of Jason Jude's Microcosm agent-payment layer, and composes directly into arc-proof-of-payable via a policy ref.

tags
builder bio

Just someone aspiring for something

team · solo

1 (Solo) — Jason Jude

repo description

Composable policy envelopes for bounded Arc-native value movement.

last pushed 2026-05-25