LIVE ON NEAR TESTNET · CONTRACT VERIFIED

Don't buy a seat.
Pool for one.

Buyers pool funds together, sellers bid blindly (commit–reveal), and the contract settles every seat pass at the median cap — no price gouging, no sniping, no queue.

Why we built this.

The problem

Drops break the same way everywhere: presale "sells out in 60 seconds" while resale hits 8× face value the same minute. Bot wallets grab paid role slots before a human finishes the captcha. Whitelist sells a "guaranteed mint" at 2 Ⓝ, public mint opens at 0.5 Ⓝ an hour later.

The fix

Seat Pool flips pricing from "highest shout" to pooled median: buyers escrow flat contributions, sellers bid blind (commit–reveal), finalize settles every seat at the median cap. Overpayment auto-refunds, seat passes mint as NFTs.

Why NEAR

The guarantees live in the contract, so the chain keeps them cheap: sub-second finality, fees in fractions of a cent, one transaction to deploy your own pool. Human and agent wallets sign the exact same four calls.

A seat drop in six moves.

Every round runs itself: funds sit in escrow, bids are hashed until the deadline, and finalize settles all at once.

1

Host opens a round

A deadline and a bid bond are fixed on-chain. Nobody can move them later.

2

Seller declares inventory

Exactly how many seats are for sale — recorded before any money arrives.

3

Buyers join the pool

Each sends a flat contribution into escrow. Joined or refunded, never stuck.

4

Blind bids

Sellers commit a hashed price + bond. The number stays secret until reveal.

5

Deadline → reveal

After the deadline, bids unlock. Late or fake reveals lose the bond.

6

Finalize & mint

Median cap is computed, seat passes mint to buyers, escrow settles. Disputes refund everyone.

Three seats at the table.

Anyone with a NEAR account can take one. No signup, no backend — the role you play is just which function you call.

H

The host

Deploy a pool (one transaction: create sub-account + attach the contract) and you own it. As owner, your signature alone can open_round — you set the deadline, the minimum pool, and the bid bond that keeps sellers honest. finalize is yours too.

S

The seller

No permission needed. Call declare_inventory with how many seats you hold, then bid a hashed price during the round. Reveal after the deadline and get paid straight out of escrow.

B

The buyer — or its agent

Any wallet, any bot: join a round with the deposit attached and it's escrowed instantly. If the round settles, a seat pass is minted to you. If it doesn't, every yocto comes back. An agent signs the same four calls an auctioneer-human would.

Round #11 below is exactly that story: a host opened it, declared one seat, an agent wallet joined with 0.55 N, the seller blind-bid 0.30 N, and finalize minted pass #3 to the agent — while the pool escrow stayed flat. Watch the same flow scripted end-to-end: demo.mjs in the repo.

Read straight off the chain.

No backend, no dummy data — this page calls the testnet contract live. Hit refresh if the free RPC is catching its breath.

Rounds

contract:

Seat passes minted

Play the round yourself.

Every card below is a real transaction from round #17 on this very contract — same hashes, same logs, same balances. Press a step and watch how the host opens the round and how an agent gets in. Wallet-connected signing is the next milestone; today you can drive the whole story here, step by step.

Bring your own agent.

Seat Pool is an open protocol on-chain — anyone can be a buyer without our app. If you run your own AI agent (Claude Code, Hermes, a script), give it our AGENT.md skill file. It contains the contract address, RPC endpoints, exact call formats, and the gotchas — no API key, no signup. The agent signs transactions with its own NEAR testnet key, straight to pool2.spmw9b03jw.testnet.

AGENT SKILLAGENT.md
# SEAT POOL — AGENT SKILL
Contract: pool2.spmw9b03jw.testnet (NEAR testnet)
Read:     POST https://near-testnet.drpc.org  (call_function)
Push tx:  https://rpc.testnet.near.org (broadcast_tx_commit)

To join a live round as a buyer:
  function call "join" {"round": <id>} + attached deposit = your budget (≥0.1 N)
Find the joinable round: scan round_summary {"round":N} until error,
keep the highest N whose round_deadline {"round":N} is still in the
future vs the chain's block timestamp (nanoseconds).

After finalize: cheapest seats allocated at the median cap, overpayment
auto-refunded, seat pass NFT minted to you.

Proven live: external wallet b1.seatpool1.testnet joined round 32
with 0.3 N — tx VnjRlauWzwFoAaJgUllHMVVl0gdlUwsN73RC7vQBQAc=

Full spec + gotchas (u128 strings, nonce floors, RPC lag):
https://raw.githubusercontent.com/jinkatama105/seatpool/main/AGENT.md

Your agent keeps its own keys — the protocol only accepts what the contract accepts. Same game the host plays, no privileges, no handshakes.

Straight answers.

How do I become a host?

You deploy the pool contract into your own NEAR sub-account (~6 N covers account + code storage) and one transaction sets you as owner. From then on only your key can open and finalize rounds — the contract you're looking at was hosted exactly this way. The repo ships the deploy script and the wasm.

How does an agent join a round?

Four plain function calls on the pool account: join (attach your budget), wait, then the contract handles the rest. There's no registration, API key, or session — if the agent can sign a NEAR transaction, it can buy seats. Round #17 in the table below was run end-to-end by scripted agent wallets — step through it yourself in the Replay section.

Why median cap instead of highest bid?

Highest-bid pricing lets one colluding bid raise everyone's price. The median of blind bids can't be pushed around without a majority of sellers, so a lone greedy bidder can't gouge the pool.

What stops a seller from peeking at bids?

Bids are committed as hashes before the deadline. The plain price only exists at reveal — after every seller has already locked in. A no-show reveal forfeits their bond.

What if the round goes wrong?

Any dispute path finalizes as a full refund: every buyer's escrow goes back to their wallet, nothing mints. Money is never stranded in the contract.

What is a seat pass?

A non-transferable NFT minted to the buyer's wallet at finalize. It proves which pool round bought which seat — redeemable by the seller out-of-band, or on-chain in the next milestone.

Is it mainnet?

Not yet — this is NEAR testnet, deliberately: the demo moved real (test) N through escrow and minted real passes, so the numbers you see here are genuine contract state. Mainnet after audit.