Loops HouseLeash

NEAR HACKATHON
Links
Team
1 member- MYOwner
Mykel Nelson
Overview
AI agents need money to buy APIs, data and compute, but handing an agent a private key means one prompt injection can drain it. Leash is a NEAR smart contract that is the agent's wallet. The human owner controls it from a separate account; the agent only gets a NEAR function-call access key limited to pay/request on the wallet, so the protocol itself blocks raw transfers, key changes and deploys. Every pay is checked on-chain against the owner's policy: recipient allowlist with per-recipient caps, per-transaction and rolling 24h caps, an approval queue for larger payments (owner approve/reject), a kill switch, and NEP-297 audit events. Live on testnet (leash-wallet-44846.testnet) with 19 unit tests and a reproducible demo where an injected payment, a policy change and a raw transfer are all blocked while legit purchases go through.