Loops HouseNema

NEAR HACKATHON
Team
1 member- JOOwner
joshua Kolawole
Overview
Private loans rarely trade, so every fund marks its own price, and a lender taking the loan as collateral has to trust one fund's number. Funds would compare marks, but not if it means showing their book to competitors, and a published average over a few funds lets anyone who knows two marks solve for the rest.
Nema lets a panel of funds agree on a price without showing each other a number. Each fund seals its mark in the browser to a key only an enclave can open. When the round closes, an Intel TDX enclave on OutLayer decrypts the marks, trims the extremes, rounds the result, and seals it to whoever pays to read it. The chain stores only ciphertext and a commitment, never a mark or the result. Funds that priced the loan read it free; lenders pay, and the fee goes to the funds. A fund can name an auditor who sees exactly what it sealed.
How NEAR fits in: a Rust contract holds the panel, a 2-of-3 council vote, the sealed submissions, the committed set, payments and refunds. It calls the enclave through OutLayer's request_execution, and OutLayer's secrets are locked to Nema's exact build and contract. The browser checks every enclave run's Intel TDX quote against the contract's own state. The contract source is verified on SourceScan, and sign-in uses NEAR Wallet Selector.
Honest limits: testnet only; privacy rests on the enclave hardware and its operator; rounding narrows what colluding funds can learn to about a point, not a formal guarantee; the contract account still holds a full-access key. All of it is in the README and threat model.
Demo: https://youtu.be/B65wrr5kksk | Live: https://nema-near.vercel.app | Code: https://github.com/Dami904/nema