Loops HouseVeiled Markets

NEAR HACKATHON
Links
Team
1 member- MDOwner
MDLog
Overview
On a public chain every prediction-market bet is tied to the account that placed it: anyone can read what an account holds, copy it or trade against it. Veiled Markets is a prediction market on NEAR where prices, pools and trades stay public but who holds which position does not.
Users deposit NEAR or USDC into a private balance, a note pool inside the contract. Each trade is proven in the browser with a Groth16 zero-knowledge proof and submitted by a relayer, so the bettor's account never signs it. The contract verifies the proof on chain with NEAR's alt_bn128 host functions (about 68 Tgas per trade). One contract holds the note pool and the markets, so a private trade is a single call that either happens or does not. The key to the private balance comes from one NEP-413 wallet signature, so the same wallet finds its positions in any browser.
Live on NEAR testnet at https://veiledmarkets.xyz: markets with two to four outcomes priced by an on-chain market maker, in NEAR or Circle USDC; five-minute BTC/ETH/SOL turbo rounds; parlays; liquidity provision; resolution by bonded vote, dispute window and committee.
The product existed on Aleo before the hackathon. The NEAR contract, the circuit, the relayer, the oracle and the app's NEAR layer were built during it (git tags pre-hackathon and hackathon-submission, diff linked in the README). The same person also submits YieldForge, an independent project.