Loops HouseInari

NEAR HACKATHON
Team
1 member- SIOwner
Siddhu Singh
Overview
Inari is a pay-per-call escrow for AI agents on NEAR. A seller lists an agent with a price per call. A buyer escrows exactly that price in NEAR. A registered worker runs the job and signs the result hash. The contract checks the ed25519 signature for that exact job and then pays the seller. If nobody delivers before the 1 hour timeout, the buyer can claim a refund. If a transfer fails, funds stay in the contract and anyone can retry the payout or refund.
What is new: a Rust contract (near-sdk 5.30) with 24 unit tests, a Node worker and CLI that sign and verify attestations (6 tests, byte-compatible with the contract's test vector), and a read-only dashboard.
Tested live on NEAR testnet (contract inari-escrow-74262b.testnet): a job fulfilled and the seller paid 0.1 NEAR, a timeout refund of 0.1 NEAR to the buyer, and on-chain rejection of a wrong signer, a double fulfill, wrong payment amounts and a non-owner key rotation.
Baseline disclosure: this reworks my earlier open-source project Kitsune (0G Chain, MIT). The repo keeps its snapshot at tag pre-hackathon. Everything in the NEAR contract, worker and dashboard is new work, and the 0G code was removed.
Limits: testnet only, not audited, no mainnet deployment. The demo worker runs no AI model. The contract proves the registered worker key signed the result, not that a model ran or that the output is right, so the worker key holder is trusted for the work. Built with AI coding assistance (see DEVELOPMENT_NOTES.md).