Loops HouseAgent CRS

NEAR HACKATHON
Links
Team
1 member- ISOwner
Isaac Adekunle
Overview
An agent that signs with a full access key can move every token on the account. Agent CRS is a release check for agent spending on NEAR testnet. A policy vault contract holds the NEAR; the agent holds only a function call key limited to request_spend, so it cannot transfer NEAR or call the approval methods, which require one yoctoNEAR. The contract pays only when the receiver is allowlisted and the amount fits the per transaction and daily caps. Anything else is queued for the owner to approve or reject, and the design is fail closed: an empty allowlist, a zero cap, a pause or an unknown receiver does not pay. Every proposal, queue, approval, rejection and execution is stored in contract state and shown on a small board. On testnet the protocol rejected a real approve_spend from the agent key with MethodNameMismatch before the contract ran, and the agent account's full access key was deleted after setup. Built in Rust with near-sdk, near-api-js and near-cli-rs.