Bet1 is a lightweight on-chain gaming protocol that enables players to compete, earn, and interact through provably fair smart-contract mechanics. Designed for speed, transparency, and extensibility, Bet1 provides a seamless Web3 experience powered by modern game-engine architecture and secure blockchain infrastructure.
Bet1 showcases how decentralized applications can deliver engaging, trustless gameplay while ensuring asset ownership, reward verifiability, and tamper-proof win logic.
All core game mechanics — wagering, scoring, reward distribution — run on smart contracts, ensuring every outcome is transparent and verifiable.
New games, tournaments, or reward types can be added with minimal friction. The system is built for expansion into full ecosystems.
Players earn tokens based on performance, participation, or special events. Payout logic is trustless and automated.
The client is optimized for speed, smooth animations, and instant synchronization with contract state.
Easily connect with common Web3 wallets for seamless onboarding and transactions.
Clean TypeScript client, game logic separation, and reusable hooks/components for rapid iteration.
- Next.js for server-side rendering and optimized performance
- React for a dynamic UI and smooth game interactions
- TailwindCSS for elegant, responsive styling
- Solidity smart contracts
- Token reward logic
- Gas-optimized game state transitions
- TypeScript SDK
- Wallet adapters
- On-chain event listeners
- Hardhat / Foundry (depending on your setup) for contract deployment
├── application/ # Frontend logic, UI components, hooks, pages
├── contracts/ # Smart contracts for wagering, scoring, and rewards
├── public/ # Assets used in the UI
└── README.md # Project documentation
- Player connects wallet
- Player initiates game or bet
- Contract verifies entry / wager
- Gameplay events sync with client
- Contract validates outcome
- Rewards are transferred automatically
Bet1 isn’t just a single game — it’s a foundation for:
- Competitive Web3 tournaments
- On-chain mini-games with shared reward pools
- Skill-based esports systems
- GameFi integrations with token ecosystems
- NFT-based character or item boosts
- Prediction markets for casual players
cd application
npm install
npm run dev
Inside the contracts directory, configure your network and run:
npx hardhat run scripts/deploy.js --network <network>
Update environment variables with deployed contract addresses.
You can test game rounds, payouts, and user flows directly in your browser via the development server. The system includes modular helpers for simulating:
- Wagers
- Game outcomes
- Reward distributions
- Player history tracking
Contributions to new game modes, better UI/UX, and ecosystem tools are welcome. Fork the repo, open a PR, or start a discussion.