Loops HousePayGuard

NEAR HACKATHON
Links
Team
1 member- NEOwner
Nexora
Overview
PayGuard is an on-chain security system for AI agent payments, built on NEAR. AI agents need to make autonomous payments, but unrestricted wallet access exposes funds to unauthorized transfers, compromised agents, and excessive spending.
PayGuard solves this using a NEAR smart contract that enforces owner-approved recipients, per-payment limits, and daily spending budgets. Agents hold restricted function-call keys that can only invoke the guard's pay method. The contract verifies every request before initiating a token transfer.
On NEAR Testnet, we verified two successful payments and one rejected over-limit transaction. A 1 USDC.e payment settled successfully, while a 2 USDC.e request was rejected on-chain. PayGuard also includes replay protection, delayed policy changes, guardian veto, and emergency recovery controls.
Built with NEAR smart contracts, function-call access keys, and NEP-141 tokens, PayGuard demonstrates safer autonomous payments without giving AI agents unrestricted control of funds.
AI proposes. PayGuard checks. The authorized executor pays.
This is a Testnet prototype, not a formally audited production system.