Loops HouseLinguaLedger

NEAR HACKATHON
Links
Team
1 member- EROwner
Erkin Karabacak
Overview
LinguaLedger is an autonomous translation business on NEAR. One AI agent sells, translates, accounts and pays out; a human only sets the rules.
Problem: small teams and other agents need fast Turkish, English and Spanish translation. Agencies are slow and want a bank invoice. A raw model call does not prove what was delivered, or where the source text went.
What we built:
-
A storefront at https://lingualedger.vercel.app. Paste text, get a fixed quote floored at the on-chain minimum. Demo pay records the job without moving mainnet funds. "Pay with any token" returns a live NEAR Intents 1Click EXACT_OUTPUT quote into native USDC on NEAR, marked DRY RUN so no funds move.
-
A treasury contract on NEAR testnet, lingualedger584b.testnet, holding the minimum price, a daily inference spend cap, a payee allowlist, a 70/20/10 split (operating reserve / owner / contributors) and a kill switch. The agent's function-call key can only call record_sale, request_spend and settle; it cannot change policy, withdraw or add keys. A repo script proves withdraw is rejected.
-
Settled jobs are written on chain (deliverable hash, receipt id, price, cost) and the split is paid automatically. A public ledger lists sales, costs and payouts. A settled smoke job, ll-smoke-mwc7net4, is on testnet.
-
With NEAR_AI_API_KEY set, translation runs on NEAR AI Cloud. The hosted demo has no key, so it uses a local sample engine and receipt ids start with demo: — they are not TEE attestations. A webhook and poll worker for NEAR AI Agent Market are in the repo; the agent is not listed yet.
How NEAR fits: Intents give chain-agnostic quotes; a restricted function-call key and a contract give an agent a treasury without the keys to everything; on-chain records and a public ledger make the books inspectable; NEAR AI Cloud is wired for private inference when a key is present. Judges can reproduce the path with git clone, npm install, npm test, npm run demo and npm run dev, with no API keys required.