Skip to main content

Lottery

An observer paired with a fee recipient.

Not selectable yet

The lottery is built and ready but not yet deployed. It appears in the catalog, and the app will mark it selectable the day it ships.

The lottery turns trading activity into a recurring draw. It has two halves, both configured at creation.

The observer watches settled swaps and mints tickets to the buyer in proportion to the fees that swap paid. Trading more, or trading when the fee is higher, means more tickets.

The recipient holds the prize pool, funded from the creator's own side of the fees. The same stream that would otherwise reach the creator's wallet funds the draws instead.

A trader pays nothing extra for it. The cost sits with the creator, deliberately.

The draws

The pot is not emptied by each draw. Every round pays out a share and rolls the rest forward, which keeps early rounds from being trivial and stops a single large fee collection from landing in one wallet.

Draws are permissionless: anyone can trigger a round that is due, and rounds can be settled out of order if nobody did it earlier. None of it runs inside a swap, so the lottery cannot slow a trade or make one fail.

Randomness comes from a block hash that does not yet exist when a round closes, so no one, including the creator, can know a winner in advance.

Settings

SettingDefault
Round length1 hour
Share of the pot paid per draw20%, the rest rolls over

Both are permanent, like every other extension setting.

Trade-offs

Wash trading to farm tickets loses money by construction, since tickets cost the full fee.

What it costs the creator is income: the pot is their fee share. A lottery is a decision to convert part of that income into a reason to trade the coin, and it cannot be switched off later.