Prizzly
Cart Create account

Sample wallet: Fernwick

Fernwick Wallet is fictional. It is a demonstration that ships with Prizzly (folder examples/fernwick-wallet), not a listing in or a deployment to any real wallet. It shows where each piece belongs: the secret on the backend, the rendering in the app, the checkout in Prizzly.

9:41

Fernwick Wallet

1,284.20 USDC

Prize drawsVerifiable draws by Prizzly

Capped draw

Harbor Lights 500

500.00 USDCprize

Ticket
5.00 USDC
Closes in
4d 23h
Odds
1 in 150 when full
Left
9
Get tickets

Draws by Prizzly · 18+ · terms apply

Version 1: one featured draw.
9:41

Fernwick Wallet

1,284.20 USDC

Prize drawsVerifiable draws by Prizzly

Draws by Prizzly · 18+ · terms apply

Version 2: three draws, same app build.
9:41

Fernwick Wallet

1,284.20 USDC

Prize drawsVerifiable draws by Prizzly

Draws by Prizzly · 18+ · terms apply

A draw sold out: it left the feed by itself.
9:41

Fernwick Wallet

1,284.20 USDC

Play todayVerifiable draws by Prizzly

Daily Draw

Sandbox Daily Pot

61.50 USDCand growing

Ticket
2.00 USDC
Draws in
6h 28m
Get tickets

Pick Your Numbers · 6 from 1–42

Sandbox Pick 6

3,427.00 USDCjackpot, growing

Ticket
2.00 USDC
Draws in
8h 28m
Odds
any prize 1 in 34.41
Choose numbers

Draws by Prizzly · 18+ · terms apply

Version 3: categories (cat_daily, cat_pick) show every Daily Draws and Pick Your Numbers round on sale.
9:41

Fernwick Wallet

1,284.20 USDC

Sandbox Pick 6 · choose 6 from 1–42

Jackpot 3,427.00 USDC

Ticket 1 ready

010203040506070809101112131415161718192021222324252627282930313233343536373839404142

1. 03 11 17 22 35 40

Continue on Prizzly · 2.00 USDC
Tapping a Pick 6 round: the player chooses numbers in the wallet, then reviews and pays on Prizzly.

Run it

  1. Create a sandbox credential in your dashboard and publish a sandbox placement with the key explore-tab.
  2. Copy examples/fernwick-wallet/.env.example to .env next to it and fill in the base address, client ID and secret.
  3. Run node examples/fernwick-wallet/server.mjs (Node 22, no packages) and open http://localhost:4400.
  4. Change the placement in the dashboard (one draw → three draws, or sell one out in the sandbox tools): the wallet shows it on its next refresh. Roll back and watch it return.

What it shows

  • server.mjs keeps the client secret, caches the access token and the feed (honouring ETag and max_age), opens checkout sessions with an idempotency key and verifies webhook signatures.
  • public/index.html is the “app”: it only talks to its own backend, renders the four formats, respects dismissal and daily frequency, and reports impressions and opens.
  • A tapped card checks the draw’s current status first, so a closed draw shows as closed instead of opening checkout.
  • Pick Your Numbers rounds open a number picker in the wallet (Quick Pick, up to five tickets); the numbers go with the checkout session and Prizzly shows them for review before payment. Draw times appear in the player’s own time zone.