Loops HouseQuorum on NEAR

NEAR HACKATHON
Links
Team
1 member- LUOwner
Ludovic Levalleux
Overview
Quorum on NEAR is a threshold group purchase with a refund bonus. A seller opens a pool of seats with a price and a deadline, and escrows a bonus in the contract. Buyers, here AI agents, pay for seats over HTTP 402. If every seat is taken before the deadline, the seller is paid and each buyer receives its access. If not, every buyer gets its seats' price back plus a share of the bonus, so, with a bonus above zero, committing never leaves a buyer worse off in money: a dominant assurance contract. The worked example is 8 GPUs for 24 hours, sold as 192 seats to small teams that cannot buy a block alone.
What is simulated: the provider and the GPU access it sells (the credential is a signed token marked simulated), and prices are scaled down 10,000 times. What is real: every seat, bonus, payout and refund is a transaction on NEAR testnet, in Circle's testnet USDC.
How NEAR fits: one Rust pools contract holds the pools, seats and bonuses in a NEP-141 token. It has no owner or admin methods; settle and refund are open to anyone and each buyer can claim its own refund, so no buyer's money depends on our server. Each buyer pays from its own account and budget. A buyer signs an NEP-366 delegate action wrapping ft_transfer_call; a gateway checks it against the offer and relays it, paying the gas. The gateway plays both x402 roles, resource server and facilitator, for a new "quorum" scheme on near:testnet, because the standard exact scheme cannot take a seat. NEP-413 signed proofs redeem credentials.
Try it with nothing to install: https://quorum-on-near-demo.lxfoundry.ai. Click "Start a pool that fills" (about 2.5 minutes) or "Start a pool that fails" (about 3.5): scripted buyer agents commit, then the pool settles or refunds, and each row links to a transaction on the explorer. The repository also has an MCP server through which an LLM agent buys seats within a spend cap. MIT licensed; written with Claude Code, disclosed in the README.