# Frequently asked questions · POLLA

Static copy of the default text. The live FAQ, edited by the organiser, is at https://polla21.org/faq.html (and `GET /api/faq`). Guide for agents: https://polla21.org/llms.txt

## The project

### What is POLLA?

POLLA stands for «Permissionless Open Lightning Lottery Audit»: a lottery that asks no state for permission, with free code, running on bitcoin over Lightning, whose draws anyone can audit. It is non-profit: everything goes to prizes except the costs. More in [What is POLLA?](what-is-polla.html)

### Why a lottery outside the state?

Because the lotteries we know are monopolies: the state decides who may run a draw, sets the terms and keeps a large share of every ticket, with the same logic as a tax. Depending on the game and the country, between half and 70 % of what is sold comes back as prizes, and nobody outside can audit how the draw is done.

POLLA turns that around: everything sold goes to the pot and only 3 % is deducted when someone collects a prize, to pay the costs; the result is decided by a Bitcoin block anyone can check; and because the code is free, anyone can run their own lottery without asking permission. If an organiser does a bad job, someone else can take over: that exit option is what keeps the system honest, just like in Bitcoin.

### Why Bitcoin and Lightning?

Because bitcoin is money that no politician or central bank issues, and Lightning lets you pay instantly, from any country and for a few satoshis, without a bank account. To play you only need a Lightning wallet: no user name, no password, no ID document. The ticket you bought is your secret code.

### Who is behind it?

An operator runs POLLA, but you do not need to trust them for the draw: sales, the closed list and the result are signed automatically with the lottery's Nostr key, with no human in the loop, and checked against Bitcoin. The money does go through the operator: today they review and approve every payment, by their own choice, so the funds are not exposed to an attack. The code can already pay claims automatically, and another operator could run their own version of POLLA with their own rules and automatic payments. Read [Who holds the sats and who pays the prizes?](#custody)

The goal is for POLLA to depend on nobody: because the code is free, anyone can review it, improve it or run their own version.

### Can I see the code or help improve it?

Yes. POLLA is free software under the MIT licence. The code will be open and available on GitHub in **January 2027**, once the first operator's testing phase is over. From then on, anyone will be able to read it, copy it, improve it or use it to run their own lottery.

The goal is for POLLA to run as **multiple instances by different operators**: that way none of them is essential and, if one fails or goes bad, the game goes on in another.

The project is open to improvements, suggestions and translation fixes; the languages marked β are in testing and may have mistakes. The link to the public repository will be published here.

## Playing

### How do I buy?

Pick your numbers: they are held for you for 5 minutes in the basket. Then you pay the Lightning invoice with any compatible wallet. When the payment arrives the numbers are yours and you get your secret code and your tickets. You can sign the payment with your public Nostr identity so they are recorded in «My tickets».

A draw announced in the calendar is not always on sale yet: you can only pay when it says «On sale». If it says «Announced · not on sale yet», the server does not sell it yet.

### Do I have to give personal data?

No. A purchase can be completely anonymous, but you must keep the claim code you get after paying: without it no prize of that purchase can be claimed. A contact method is optional. If you do not add one, keep the PDF or the claim code. The recommended one is your Nostr **npub**: with it you see your tickets on any device. Seeing the front of your tickets needs a signature from your signer; your private key is never asked for.

If you do not use Nostr, you can leave an email, X or Telegram. It is encrypted in your browser, only the organiser can read it and it is never published.

### What are the costs? How much does POLLA keep?

Nothing is kept from sales: the pot is everything sold. When a winner collects, the costs percentage announced in the rules (3 % today) is deducted from the prize. It pays for hosting, domain, Lightning fees and development. With today's 3 %, out of every 100 sats played, at least 97 end up with the winners.

If nobody collects a prize, nothing is deducted and the whole amount goes back to prizes. The tip is voluntary and goes to the operator.

### Who can play?

Any adult who can make a payment over the Lightning Network, from anywhere in the world. POLLA is not an official lottery; it is an experimental code project. Only play what you can afford to lose: Bitcoin and Lightning carry technical risks, such as failed payments, lost keys or software bugs. The contact you give when paying is used if something goes wrong, and you can always claim or report a problem at info@polla21.org.

### Can an agent or an AI play?

Yes. An agent can buy, check results and claim prizes without a browser, through the public API. Only what is «On sale» can be bought; the purchase's secret code is generated and kept by the agent (only its hash reaches the server), and a claim is never paid on its own: the operator reviews and pays it. Start with [llms.txt](llms.txt); the step-by-step guide is [docs/AGENT-BUY.md](docs/AGENT-BUY.md) and every route is in [openapi.json](openapi.json). Production is mainnet: real sats.

## The draw

### Who decides the winning number?

Nobody. At the draw time the server records the latest Bitcoin block seen by mempool.space, blockstream.info and blockchain.info (the highest of the three) and publishes it, signed, on Nostr within 60 seconds. The first block after that one decides, and nobody can predict or change it. If that record is missing or late, the first block whose timestamp is at least 2 hours after the draw time decides: Bitcoin does not let it appear before the draw time. The website computes it on its own and it is final after 6 confirmations. Every draw has a step-by-step explanation and a calculator to repeat it yourself.

### Why not the block timestamp directly?

The time each block carries is set by the miner, and Bitcoin accepts it up to 2 hours ahead. A block stamped 21:40:01 can appear at 21:39: if «the first block with a time equal to or later than the draw time» decided, the result of a 21:40 draw could be known before 21:40. That is why the latest block is recorded right at the draw time and the next one, which does not exist yet, decides. The fallback does use the block time, but with a 2-hour margin: such a block cannot appear before the draw time.

### How does the LOTTO21 jackpot work?

In LOTTO21 the **4-match category is a jackpot**: only the combinations that hit all 4 numbers collect it, in equal shares.

- **If nobody hits 4**, the **whole** jackpot moves to the 4-match category of the next week's draw. It is never shared among the 3- or 2-match winners. That is how it keeps growing week after week until someone hits it.
- **If nobody hits 3**, its share is split among the 2-match winners (and the other way round). If there are no 3- or 2-match winners at all, that share is added to next week's jackpot.
- **Where each draw's jackpot comes from**: 50 % of that draw's sales + what was not paid out in the previous ones + the operator's contribution (10,000 sats in each of the first 21 LOTTO21 draws, paid over Lightning and published). The home page and the Treasury show the three parts separately.
- **How it moves to the next week**: every signed result publishes how much rolls over to the next draw (`carryNext`) and where it comes from (jackpot nobody hit, categories without winners, rounding). The next draw says which draw it receives the jackpot from (`carryFrom`) and receives exactly that amount, computed by the server, not typed by hand. The Treasury ledger records it as a transfer from one draw to the other.

This rule applies to the LOTTO21 draws that go on sale from 2 December 2026. The rules of a draw do not change once its tickets are on sale, and earlier draws are not recomputed.

## Collecting

### How do I collect a prize?

With your purchase's secret code (or your ticket's) in «My tickets · Claim». The most private and verifiable way is a Lightning invoice (BOLT11) for the exact amount we show you, with at least 23 hours of validity. A Lightning address also works.

The code is never sent: you sign the claim with a key derived from it. When it is paid, the proof of payment is published without revealing your wallet.

### How long do I have to collect?

30 days from the draw. Whatever is not collected in time goes back to prizes in full.

### Can I give a ticket away?

Yes. Each ticket carries its own code and whoever holds it collects it: it is a bearer ticket. Careful: the purchase's master code collects every ticket of that purchase, so do not give it away and keep it safe. You can hand out the individual sheets: their claim code only collects that number.

## Trust and money

### How do I know everything is clean?

Before the draw, the list of what was sold is published, signed with the lottery key and stamped in Bitcoin with OpenTimestamps. Both are needed: a signed Nostr event cannot be changed without breaking the signature, but its date is set by whoever signs it, so the operator could sign another list later with an earlier date, and a relay can delete an event or never store it. The OpenTimestamps stamp is anchored in a Bitcoin block and proves that this exact list already existed before the draw block. Sales, results and payments are published as Nostr events signed by the lottery key. The accounts are in [Audit](treasury.html), and the code includes an independent verifier that recomputes the winner from the Bitcoin chain. Once the result is verified with 6 confirmations, it is sealed in POLLA's public record.

### Who holds the sats and who pays the prizes?

The draw depends on nobody, but the money does: what you pay goes to the operator's Lightning wallet, so the operator holds the sats, and validates and pays each prize after checking the claim, within 23 hours at most of your claim. Nothing pays out automatically today, for safety: to pay on its own, a server connected to the internet would have to hold a key able to spend the pot.

That is why everything is in the open: in [Audit](treasury.html) you see what was collected, what was paid and the prizes still pending, and every payment is published, signed, on Nostr. If a prize does not reach you, use the [emergency contact](#contact): [info@polla21.org](mailto:info@polla21.org).

### Why are prizes not paid automatically?

To keep the pot safe. Collecting and paying are separate: the server that sells can only receive, because its connection to the wallet has no permission to spend. Paying prizes automatically would mean leaving, on a server connected to the internet, a key able to spend the money being played with, and a bug or a malicious claim could empty it.

It is technically possible already, and the code supports it, but for now every payment goes through the operator's validation, with a one-time payment connection that never reaches the server.

## Help

### I paid and something went wrong. What do I do?

If you pay after sales have closed, or for a number someone else paid first, that payment does not take part and is refunded. If you have a problem with a claim, use the [emergency contact](#contact): [info@polla21.org](mailto:info@polla21.org).

### Emergency contact

Write to [info@polla21.org](mailto:info@polla21.org).

Say which draw, your numbers and the purchase reference or the claim hash. Never send your secret claim code or your private key: nobody will ask you for them, not even the operator.
