How it works
The rules, the arithmetic, and how it is built. Nothing here is hidden behind a terms page, because the whole point is that there is no catch.
The rules
Points have no value
There is no way to buy points and no way to turn them into money, goods or prizes. Everyone starts with the same balance and can claim a free top-up every day. The top-up is the same every day: there is no streak, so missing one costs nothing.
Prices are fair
If the market puts a chance at 40%, a right forecast returns 2.5 times the stake: 1 ÷ 0.40. That is the whole formula. On average a forecast is worth exactly what was staked on it, so over time your points track how good your judgement is.
Several picks multiply
Several questions can go on one slip. The odds multiply and every pick has to be right. Two picks from the same event are refused, because their outcomes are tied together and multiplying them would misprice the pair.
Long shots are capped
The longest price a slip can carry is capped, and questions that are all but settled are closed to forecasts. Without that the quickest way up the leaderboard would be a lottery ticket, and this is not a lottery.
Results come from the real world
A question settles when the market it mirrors resolves. If the source voids a question, that pick is treated as though it was never on the slip and the rest stand.
The leaderboard is for bragging
It ranks settled forecasts each month and shows players by a single initial. There are no prizes. Prizes are the thing that turns a game into a reason to chase.
Where the questions come from
Questions and live prices are read from Polymarket's public market data. Middlemost is not affiliated with Polymarket, takes no part in its markets and places no trades anywhere. It only borrows the questions and the crowd's estimate of the odds.
What was deliberately left out
This codebase started life as a conventional betting-style product. These were removed, not switched off:
- Buying points with real money
- A house margin on every pick, compounding on longer slips
- Prizes, and anything redeemable
- Limited-time boosted odds
- A bonus for adding more picks to a slip
- A balance that decays if you stay away
- Streak bonuses that punish a missed day
- A ticker of other people's wins
- Rewards for recruiting friends
How it is built
A small system with the parts a larger one has, each doing one job. The source is open.
Web tier
Next.js on the server holds the session in an HttpOnly cookie and forwards an explicit allowlist of requests. The browser never sees a token or the API's address.
API
FastAPI over asyncpg. Sign-in is email and password hashed with Argon2id off the event loop, throttled per address and per account in Redis.
Ledger
Every point that moves is a row in an append-only PostgreSQL ledger. A trigger keeps the balance in step and refuses an overdraft; idempotency keys make a retried request safe.
Workers
Scheduled jobs discover markets, sync prices, settle results and roll up the leaderboard. A lease in the database keeps several replicas from doing the same work twice.
Safer-play rules
Limits and breaks are checked under a row lock in the same transaction that places a forecast, so two requests arriving together cannot both slip through.
Tests
More than five hundred automated tests cover pricing, settlement, sign-in, throttling and the safer-play rules, alongside schema invariants checked in SQL.