Loops HouseSetoff

NEAR HACKATHON
Team
1 member- ELOwner
Elioz404
Overview
Small firms owe each other in circles: the bakery owes the mill, the mill owes the farm, and somewhere down the line someone owes the bakery. Each invoice waits for cash stuck in the next one. Setoff is a clearing house on NEAR that cancels that circular debt without moving money. Member firms record invoices the debtor accepts; solvers compete each round to propose the clearing that cancels the most; a NEAR contract accepts a proposal only if every firm stops owing exactly as much as it stops being owed, so nobody has to trust the solver. What remains is paid in a NEP-141 token. In the testnet demo, 8 firms with 15 invoices (63,600 tUSD) cancel 40,900 (64%) with no money moving: a greedy solver proposed 38,500, the optimal one (maximum circulation) outbid it, and the rest was paid. The contract is locked (no access keys), its wasm is reproducible, and its claims are backed by unit, property, brute-force and NEAR-sandbox tests. Testnet only; tUSD has no value.