Loops HouseCred402 — SpendGuard

NEAR HACKATHON
Team
1 member- AROwner
arhan
Overview
Cred402 is a pay-per-call credit-score API for AI agents, paid via the x402 protocol (HTTP 402 challenge/response). This submission adds a native NEAR settlement rail alongside its existing Algorand and QIE integrations, plus SpendGuard: a real NEAR smart contract that turns an agent's verified revenue into a protocol-enforced spending limit — nearcore itself caps spend via a Function Call Access Key allowance, not just an app-level check. Deployed live on NEAR Testnet (spendguard-024e8dd6f7.testnet): 25+ real on-chain spends, a real repay, a real top-up that re-mints the same key with restored headroom, one more real spend past the original allowance, then a dispute-spike circuit breaker that freezes the key — nearcore itself then rejects the frozen key's next call. 18/18 Rust unit tests, 14/14 NEAR integration tests, 450/450 full suite green. Recorded, unedited demo video included in the repo.