The first casino where YOU can be the house
Built by Alexandria - an open-source gaming studio on the Internet Computer.
Note: This repository contains only the frontend. Backend canisters are maintained separately in the OpenHouse-backend repository.
Traditional online casinos keep all the profits and hide their odds. OpenHouse flips this entirely:
You can own the house - Instead of playing against a faceless corporation, users provide the house liquidity and own shares of the games. The house money is provided by users like you, who earn a portion of the casino's profits.
Transparent 1% house edge - Every game maintains exactly 1% house edge, verifiable through:
- Open-source code you can audit
- Internet Computer's VRF (Verifiable Random Function) for provably fair randomness
- Publicly visible multiplier tables and payout calculations
$ALEX stakers earn 100% of revenue - OpenHouse is built by Alexandria studio, and all revenue flows to $ALEX token stakers. The revenue model is beautifully simple: a 1% fee on house money withdrawals goes directly to $ALEX stakers.
- Provably Fair: Every game result is cryptographically verifiable using IC's VRF
- Bot Resistant: VRF randomness cannot be predicted or manipulated
- Fully Transparent: All code is open-source, all odds are public
- Community Owned: Users provide liquidity, users own shares, users verify fairness
The name "OpenHouse" is a triple play on words:
- We're the house (casino)
- Everything is open-source with transparent odds
- The house is open to everyone - you can become the house
| Game | Description | House Edge | Max Win | Play Now |
|---|---|---|---|---|
| Crash | Multiplier rises until crash - cash out before it's too late | 1% | 1000x | Play |
| Plinko | Drop a ball through pegs into multiplier slots | 1% | 1000x | Play |
| Roulette | European roulette with single zero | 2.7% | 35x | Play |
| Dice | Roll over or under your target number | 1% | 100x | Play |
| Life | Conway's Game of Life simulation | - | - | Play |
Frontend: https://pezw3-laaaa-aaaal-qssoa-cai.icp0.io
In traditional casinos, the house provides all liquidity and takes all profits. At OpenHouse:
- Users provide house liquidity - Deposit ckUSDT (stablecoin pegged to $1) to become a liquidity provider (LP)
- Receive ownership shares - Get LP tokens representing your share of the house
- Earn from the edge - The 1% house edge flows to LP holders proportionally
- Withdraw anytime - Pull your liquidity plus earnings whenever you want
OpenHouse has a transparent, simple revenue model:
- Players play games with a transparent 1% house edge using ckUSDT
- Liquidity providers earn from the house edge on every bet
- $ALEX stakers receive 100% of platform revenue via a 1% fee on LP withdrawals
- No hidden fees - That's it. No rake, no VIP programs, no misleading promos
OpenHouse is created by Alexandria, an open-source gaming studio building on the Internet Computer. All OpenHouse revenue flows to $ALEX token stakers, making this casino a revenue-generating product for the Alexandria ecosystem.
Why this matters:
- Aligned incentives: Alexandria succeeds when OpenHouse succeeds
- Long-term thinking: Not a cash grab, but ecosystem building
- Open-source commitment: Transparency is core to Alexandria's mission
- Community first: $ALEX stakers benefit from all Alexandria products
OpenHouse is split into two repositories:
openhouse/
โโโ openhouse_frontend/ # React/TypeScript UI
โ โโโ src/ # Source code
โ โโโ dist/ # Built assets
โโโ deploy.sh # Frontend deployment script
โโโ dfx.json # IC configuration
โโโ CLAUDE.md # Developer guide
Backend canisters are maintained in OpenHouse-backend:
| Canister | ID | Purpose |
|---|---|---|
| Crash | fws6k-tyaaa-aaaap-qqc7q-cai |
Crash game logic |
| Plinko | weupr-2qaaa-aaaap-abl3q-cai |
Plinko game logic |
| Roulette | wvrcw-3aaaa-aaaah-arm4a-cai |
Roulette game logic |
| Dice | whchi-hyaaa-aaaao-a4ruq-cai |
Dice game logic |
| Life1 | pijnb-7yaaa-aaaae-qgcuq-cai |
Game of Life - Server 1 |
| Life2 | qoski-4yaaa-aaaai-q4g4a-cai |
Game of Life - Server 2 |
| Life3 | 66p3s-uaaaa-aaaad-ac47a-cai |
Game of Life - Server 3 |
# Deploy frontend to mainnet
./deploy.sh
# Deploy with tests
./deploy.sh --testNote: Backend canisters are deployed separately from the OpenHouse-backend repository.
Every game uses the Internet Computer's raw_rand() function, which provides cryptographically secure randomness that:
- Cannot be predicted before generation
- Cannot be manipulated after request
- Can be verified by anyone on-chain
The house edge is hardcoded in the backend game logic and visible in the source code (see OpenHouse-backend).
Anyone can:
- Read the game logic on GitHub
- Verify the deployed canister matches the source code
- Calculate expected return from multiplier tables
- Confirm house edge matches claims
- Multiplier starts at 1.00x and increases
- Cash out before the crash to win
- Crash point determined by VRF
- Min bet: 0.01 USDT | Max win: 1000x
- Drop ball through 8, 12, or 16 rows of pegs
- Choose risk level: Low, Medium, or High
- Different multiplier distributions per configuration
- Min bet: 0.01 USDT | Max win: 1000x
- European roulette (single zero)
- Multiple bet types: straight, split, street, corner, etc.
- Min bet: 0.01 USDT | Max win: 35x (straight bet)
- Roll a number from 0-100
- Predict over or under your target
- Adjustable win chance from 1% to 98%
- Min bet: 0.01 USDT | Max win: 100x
- dfx (IC SDK)
- Node.js and npm
- Git
openhouse/
โโโ openhouse_frontend/
โ โโโ src/ # React/TypeScript source
โ โโโ public/ # Static assets
โ โโโ package.json # Dependencies
โ โโโ vite.config.ts # Build configuration
โโโ deploy.sh # Deployment script
โโโ dfx.json # IC configuration
โโโ CLAUDE.md # Developer guide
cd openhouse_frontend
npm install
npm run dev./deploy.sh# Deploy with automated tests
./deploy.sh --test
# Or manually check
open https://pezw3-laaaa-aaaal-qssoa-cai.icp0.ioOpenHouse is open-source and welcomes contributions:
- Fork the repository
- Create a feature branch
- Make your changes
- Deploy and test on mainnet
- Submit a pull request
- Frontend changes: Submit PRs to this repository
- Backend changes: Submit PRs to OpenHouse-backend
- Live Frontend: https://pezw3-laaaa-aaaal-qssoa-cai.icp0.io
- Backend Repo: https://github.com/AlexandriaDAO/OpenHouse-backend
- Developer Guide: CLAUDE.md
- IC Documentation: https://internetcomputer.org/docs
- VRF Spec: https://internetcomputer.org/docs/current/references/ic-interface-spec#ic-raw_rand
- All randomness from IC's VRF - cryptographically secure
- Each game manages its own treasury independently
- Open source allows public security audits
- Mainnet-only deployment ensures production-grade security
OpenHouse is open-source software. See LICENSE file for details.
The house always has an edge. At OpenHouse, that edge is transparent - and you can own it.
Built with โค๏ธ by Alexandria