One payment: the business adds a ticket, the draw is public, and Fade's vault pays the reward.
How it works
Pay as usual, a fair draw, sometimes money back.
Use cases
Card payments, swaps, DeFi yield, and the list goes on.
Quickstart
Open a ticket from TypeScript and have it settled.
Provide liquidity
How the vault that pays every reward works.
Why fixed odds need a vault
A giveaway with one fixed prize (“one of this month’s buyers wins a gift card”) only needs a random draw. Any VRF can run it, and Fade adds nothing there. A fixed-odds promise (“every order has a 1 in 100 chance to be on us”) is different. It must pay if only one customer buys that day, and it must pay if three customers win in a row. That takes capital that carries the variance. Fade is that capital, as a public protocol: one vault that every app can draw on, with rules every party can check on-chain.The three roles
Anyone can also move a ticket or an epoch forward and be paid a flat, prepaid fee for it. Those parties are called keepers.
Apps
An app is whoever signsopen_ticket: a program calling over cross-program invocation (CPI), a server, or a wallet. That signature is its whole identity. There is no allowlist and no registration: the app’s on-chain record is created by its first ticket. The app chooses the ticket price, the payout table (up to 32 outcomes, each a probability and a multiplier), its app share and the account the reward goes to. Fade works only with integrators that name their own account, and the business then credits its customer.
Users
Users see the app, not Fade, and never deal with Fade. The business funds the ticket (a card issuer’s rewards budget, a merchant promotion, a platform paying out of its fees), so the user signs nothing for the reward. Fade’s vault pays the reward to the account the business names, and the business credits it to its customer, as it would a cashback. The full payout table is stored in the ticket account before the randomness exists, so anyone can check the real odds in an explorer.Liquidity providers
Liquidity providers deposit USDC and receive transferable SPL vault shares. Every payout table must leave the vault a margin, checked in exact integer arithmetic before any money moves, so the vault earns on average. Any single epoch can end up or down. Deposits and withdrawals are priced together at each epoch’s close, at one price for everyone.What the protocol guarantees
- No ticket price without a signature. The ticket price is taken only from a
funderthat signs the open. In Fade’s use cases that is the business, so the customer pays nothing extra and never more than the normal price. - Odds before the draw. A payout table whose expected return exceeds
1 − marginis refused before a token moves. The payout table, the margin and the split are frozen into the ticket at open. - Verifiable. The oracle seed is derived from a block hash that did not exist when the ticket opened, and anyone can recompute a draw from public data.
- Capped, then paid in full. No single ticket can put more than 1.5 % of the vault at risk. A ticket whose worst case does not fit the vault’s caps is refused at open; a ticket that was accepted is paid in full, and Fade never trims a reward.
- Settlement is permissionless. Anyone can request the randomness and settle. No pause can block a settlement.
In Fade’s use cases, the business funds the ticket and the customer pays nothing extra: each reward is designed as a sales promotion. The business offering the reward runs it as organiser and is responsible for the rules of each market it serves. Fade is the technology provider. See Legal framework for the design rules and a summary by region.