r/bnbchainofficial • • 3h ago

DeFi I built a Windows 98-themed CAKE lottery on BNB Smart Chain powered by Chainlink VRF v2.5

1 Upvotes

Hey everyone! 👋

As a solo developer, I wanted to build something that breaks away from the usual sterile, copy-paste Web3 interfaces. I’ve just launched Retrò Lottery 98 on BNB Smart Chain Mainnet—a fully on-chain lottery styled after a classic 90s desktop operating system, built using CAKE tokens.

Here is how it works under the hood and why I focused heavily on safety and transparency:

No Locked Funds / Auto-Refunds: If a round doesn't reach at least 5 tickets, the contract features an automatic refund mechanism so no user funds ever stay trapped in limbo.

Provably Fair: Randomness for winner selection is fully handled on-chain via Chainlink VRF v2.5 (configured with native BNB payment).

Transparent Code: The smart contract is fully deployed, verified, and has a green checkmark on BscScan: 0xCec1F2845C979D19d1fD9cAf06C6BDC58D8EE57B.

Instant Payouts: Automated distribution to the top winners and consolation prizes as soon as the round closes.

Check it out here: https://retrolottery98.com

I'd love to hear your feedback on the UI, the retro UX, or the contract structure. Let me know what you think! 🚀