A Fully On-Chain, Provably-Fair Casino Powered by Pyth Entropy 6 blocks lightning speedVRF
A couple of days back, I was was on etherscan exploring some transactions and saw an advertisement of https://stake.com/ which was giving 200% bonus on first deposit, I deposited 120 USDT into stake.com they gave 360 USDT as total balance in their controlled custodial wallet and when I started playing casino games I was shocked to see that I was only able to play with $1 per game and was unable to increase the betting amount beyond $1 coz and when I tried to explore and play other games on the platform the issue was persisting, I reached the customer support and got to know that this platform has cheated him under the name of wager limits as I was using the bonus scheme of 200%.
When I asked the customer support to withdraw money they showed a rule list of wager limit, which said that if I wanted to withdraw the deposited amount, then I have to play $12,300 worth of gameplay and this was a big shock for me, as I was explained a maths logic by their live support. Thereby, In the hope of getting the deposited money back, I played the different games of stake.com like roulette, mines, spin wheel, etc, the entire night and lost all the money.
I was very annoyed of that's how APT-Casino was born, all in one platform where new web3 users can play games, perform gambling, but have a safe, secure, transparent platform that does not scam any of their users. Also, I wanted to address common issues in traditional gambling platforms.
Problems The traditional online gambling industry is plagued by several issues, including:
Solution APT-Casino addresses these problems by offering:
Casino games as modular, composable primitives (Roulette, Mines, Plinko, Spin Wheel), designed to be:
Roulette (European): Supported bets: Straight, Split, Street, Corner, Line, Dozen, Column, Red/Black, Odd/Even, High/Low. Resolution: n = randomWord % 37. Payouts follow standard 35:1 down to 1:1. Fairness: No biases; same distribution for all spins; house edge encoded as payout schedule.
Mines: Grid: 5×5 with 1–24 mines configured per round. Seeded layout: Mines placement derived from randomWord with Fisher-Yates permutation. Cash-out anytime: Progressive multiplier curve; payout locked at cash-out event.
Plinko: Tree depth configurable; path bits read from randomWord. Slot table defines multipliers; risk modes adjust tail heaviness.
Spin Wheel: Segments with different multipliers; segment index = randomWord % N. Risk tiers (low/med/high) mapped to segment tables with different EVs.
Arbitrum Blockchain: Ensures transparency, security, and efficiency in all transactions and game outcomes.
PYTH Entropy: Guarantees fair and unbiased game results.
Frontend → Next.js + TailwindCSS for smooth, responsive UI.
Relayers → Gasless UX powered by treasury-funded relayer infrastructure.
Livepeer → Live video streaming integrated for casino games & tournaments.
Socket.IO & Supabase→ Real-time on-chain chat with cryptographic message signing.

