Loops HouseSokoniPay

NEAR HACKATHON
Links
Team
1 member- CAOwner
Caleb Mokua
Overview
The problem: at a busy gate or till in Kenya, each customer reads out a phone number, waits for a payment prompt, and starts again when it fails, so queues build and owners check payments by hand. Handing payments to an AI agent would help, but an agent holding your wallet key can spend everything you own.
What I built: SokoniPay, where a customer's AI agent pays a shop's AI agent. The shop shows one printed code; customers scan it on their own phones at the same time. Their agent checks the shop is verified, agrees the price with the shop's agent, shows the total, and pays only after the customer says yes. Prices are in Kenyan shillings and settle in a dollar stablecoin. It covers ticketed venues (passes the gate scans), food stalls (agent-negotiated orders, discounts within the owner's rules, split bills), counters like petrol stations (the customer names the amount, the shop's agent works out the quantity, and the cashier hands over against a code), and monthly subscriptions. Owners get a console with sales, refunds, a daily statement, revenue splits and an agent they can ask about the business.
How NEAR fits in: our Rust contract on NEAR testnet is the register of verified shops and holds invoices, split-bill escrow, tickets, refunds, subscription mandates and each customer's per-payment and daily limits. Each agent holds a NEAR function-call access key that can pay invoices but cannot attach a deposit, so withdrawing, changing limits, refunding or subscribing need the owner's full key. The contract, not the app, refuses an agent's payment over the limit. The agents run on NEAR AI Cloud, and adding or withdrawing money is quoted live through NEAR Intents.
Testnet with demo dollars; keys are held by the server for now.