Bitcoin Forum
December 02, 2026, 11:00:52 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Retro Lottery 98 - Decentralized CAKE Lottery | Chainlink VRF v2.5  (Read 40 times)
John_Titor_1991 (OP)
Newbie
*
Offline

Activity: 1
Merit: 0


View Profile
November 18, 2026, 03:39:21 PM
Last edit: Today at 10:39:07 PM by John_Titor_1991
 #1

Retro Lottery 98 — Verifiable Windows 98 CAKE Lottery & Arcade on BNB Smart Chain (V3 Live)

Official Website: https://retrolottery98.com
Verified V3 Smart Contract (BSC Mainnet): 0x87C95bAe52F8CEcBad452BC4b748BeacD971744a
Open-Source Repository: https://github.com/JohnTitor1991/retro-lottery-98
Ticket Token (CAKE): 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82
Support: retrolottery98@proton.me



What is Retro Lottery 98?
Retro Lottery 98 is a non-custodial, verifiable on-chain CAKE lottery on BNB Smart Chain styled like a classic Windows 98 desktop. Alongside the lottery, the desktop includes a 0% platform fee PancakeSwap V3 swap tool and two free zero-gas retro crypto arcade games with a Top 10 leaderboard.

Core V3 Lottery Mechanics
  • Ticket Price & Round Cap: 1 CAKE per ticket, max 150 tickets per round. Multiple tickets can be bought in a single transaction (
Code:
compraBiglietti
), using exact-amount token approvals (no unlimited CAKE approvals).
  • Standby Timer (Starts on 1st Ticket): Every round waits in standby (
    Code:
    READY (24H)
    ) until the first ticket is purchased, which starts the immutable 24-hour countdown.
  • Instant Draw or Permissionless 24h Trigger: At 150 tickets, the Chainlink VRF v2.5 draw triggers automatically. Otherwise, once the 24h timer expires with at least 5 tickets sold, any user can trigger the official VRF draw via the "Draw Winners (24h)" button — zero reliance on a central operator.
  • Auto-Refund Protection (1–4 Tickets): If fewer than 5 tickets are sold when the 24h timer expires, anyone can trigger "Claim Refund" to return 100% of CAKE to buyers with 0% fee.
  • Chainlink VRF v2.5 Fairness: Randomness is supplied by Chainlink VRF v2.5 on BSC Mainnet (Coordinator
    Code:
    0xd691f04bc0C9a24Edb78af9E005Cf85768F694C9
    ). Winners are computed deterministically with a Fisher-Yates shuffle without replacement (each ticket can win at most once per round).
  • Pull-Based Prize Claims (No Expiration): In V3, the VRF callback only records the verified seed and immediately opens the next round (150,000 callback gas limit). Winners withdraw their CAKE directly from the contract anytime via "Claim Prize" (
    Code:
    riscattaPremio
    or batch
    Code:
    riscattaPremiMultipli
    ). Unclaimed prizes never expire.
Prize Distribution (Up to 28 Winners on 150 Tickets)
A 5% maintenance fee funds protocol upkeep and Chainlink VRF costs; the remaining 95% Net Pool is distributed as follows:
  • 1st Place: 50% of Podium Pool (58.75 CAKE on a full round)
  • 2nd Place: 30% of Podium Pool (35.25 CAKE on a full round)
  • 3rd Place: 20% of Podium Pool (23.50 CAKE on a full round)
  • 4th – 28th Place (25 winners): Guaranteed 1.00 CAKE each (scaled proportionally when fewer than 150 tickets are sold, always keeping 3rd place strictly above 1 CAKE).
Security & Trustless Design
  • Non-Custodial Funds: All ticket CAKE stays locked inside the verified smart contract. The admin has no function to withdraw the prize pool — only the accrued 5% maintenance fee (
    Code:
    ritiraFeeManager
    ).
  • Emergency Anti-Lock Refund:
    Code:
    sbloccaERimborsaEmergenza
    can only refund 100% of active round tickets back to buyers, never to the admin.
  • Immutable Core Constants: Ticket price (1 CAKE), cap (150), duration (24h), CAKE address, and Chainlink Coordinator are hardcoded as
    Code:
    constant
    /
    Code:
    immutable
      .

    Built-In Desktop Apps
    • Retro_Swap_98.exe: Direct BNB Chain token swap routed via PancakeSwap V3 Smart Router with 0% platform fee.
    • Crypto_Sweeper_98.exe: Classic Minesweeper (Beginner 9x9, Intermediate 16x16, Expert 30x16) — free to play, zero gas.
    • Crypto_Solitaire_98.exe: Classic Klondike Solitaire with undo and auto-complete — free to play, zero gas.
    • Top 10 Arcade Leaderboard: Off-chain zero-gas leaderboard (wallet or nickname) completely separated from the lottery smart contract.
    Verify the contract directly on BscScan before interacting and play responsibly.
John_Titor_1991 (OP)
Newbie
*
Offline

Activity: 1
Merit: 0


View Profile
Today at 10:39:57 PM
 #2

Update — Smart Contract V3 Live & Verified on BSC Mainnet

Retro Lottery 98 has been upgraded to LotteriaCakeV3 (0x87C95bAe52F8CEcBad452BC4b748BeacD971744a).

Key upgrades tested end-to-end on Mainnet:
  • Pull-Based Prize Claims: Prizes are now withdrawn directly by winners anytime via the "Claim Prize" button (single or batch multi-round claim, no expiration), reducing Chainlink VRF v2.5 callback gas to 150,000.
  • Standby 24h Timer: Each round stays in
Code:
READY (24H)
    standby until the 1st ticket is purchased, ensuring every active round gets a full 24-hour window (or instant draw at 150 tickets).
  • Immutable Parameters: 24-hour duration, 1 CAKE ticket price, 150-ticket cap, and Chainlink VRF Coordinator are locked as constants/immutables on-chain.
OP and GitHub README have been updated with the new V3 contract details.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!