Loops HousePR
ProofPay

Event
NEAR HACKATHON
Links
Team
1 member- VIOwner
Vijayalakshmi S
Overview
ProofPay is a trust-minimized automated milestone escrow and verification protocol built on NEAR Testnet designed to solve the "Over-Privileged AI Agent" security flaw in Web3. Standard autonomous agents executing micro-transactions require full wallet private keys, exposing project treasuries to complete drain attacks. ProofPay eliminates this vulnerability by pairing NEAR Function-Call Key Delegation with TEE-backed off-chain verification and NEAR Intents cross-chain routing.
Core Architecture & Technical Features:
- Restricted Function-Call Access Keys: We delegate restricted key permissions to an off-chain TEE verifier backend (
proofpay-escrow.testnet). Key authority is strictly locked torecord_attestation, blocking rogue agents from initiating direct wallet balance transfers. - Adversarial Policy Limit Protection: The smart contract enforces per-milestone budget caps. If an autonomous worker attempts an over-budget withdrawal, the Rust WASM contract panics on-chain (
PolicyLimitExceeded), preserving treasury safety. - Automated Attestation & Payout: Upon task completion, the backend verifier validates execution off-chain, signs a cryptographic proof, and calls
record_attestationto trigger automatic milestone releases without manual overhead. - NEAR Intents 1Click Routing: Features dry-run quote estimation via
api.near-intents.org/v1for real-time cross-chain payout estimation (NEAR to SOL/BTC).
Production Status & Testnet Verification:
- WASM contract deployed and live at
proofpay-escrow.testnet. - Automated test suite (
npm run test:demo) verifying 56/56 unit and integration tests across smart contracts, verifier, and Next.js frontend. - Verified on-chain attestation (
7ore3KT...) and payout settlement (Gs2tqDj...).