A decentralized betting game on Ethereum & Hedera. Bet on a number; the closest guess wins!
DIGITHunt is a decentralized, blockchain-based betting game that offers a simple and transparent way to win. The game is deployed across both the Ethereum mainnet and the Hedera EVM, allowing users to choose the network that best suits them—whether they prefer Ethereum's large ecosystem or Hedera's high speed and low fees.
DIGITHunt is a multi-chain dApp built with a focus on security, speed, and verifiable randomness.
Core Logic (Smart Contracts): The game's logic is encapsulated in a Solidity smart contract (DIGITHunt.sol). This single codebase is compiled and deployed to both Ethereum and the Hedera EVM, taking advantage of Hedera's full EVM compatibility. This allows the dApp to have a presence on two major networks, offering users a choice.
Verifiable Randomness (The Oracle): The "winning number" is the most critical and sensitive part of the game. To ensure this number is fair and cannot be manipulated by players, the contract, or even the developers, we use the Pyth Network.
Specifically, our Solidity contract integrates the Pyth Entropy SDK.
When a round ends, the contract calls the Pyth oracle to request a secure, hardware-generated random number.
Pyth delivers this random number directly to our smart contract on-chain in a verifiable way, which the contract then uses to determine the winner. Using Pyth as our oracle is crucial for the game's integrity.
Technology Stack:
Blockchains: Ethereum (Mainnet) & Hedera (EVM)
Smart Contracts: Solidity
Oracle (Random Number): Pyth Network (Pyth Entropy)
Development / Deployment: Hardhat or Truffle (for compiling, testing, and deploying to both EVM-compatible chains)
Frontend: A web-based frontend (using React/Ethers.js) would interact with the deployed smart contracts on both chains, allowing users to connect their wallets (like MetaMask) and place bets.

