hackquest logo

ATH - Against The House

Wager against the House in this On-Chain Lucky-Draw Game! Guess the number at every "Play" win 15% of the matched stake!

Videos

Description

ATH - Against the House is a Lottery Game built using ChainLink VRF for randomization of Numbers On-Chain and web3auth for Social Login. The Game has 2 players: The House and the Wager!

- The House loads a Smart Contract with Native ETH.

- The Wager guesses the number set by a House at every "Play" to win 15% of his matched stake against the House. In the event of a loss, the Wager loses 10% against the House.

Progress During Hackathon

The Project comprises a Smart Contract Deployed on Linea Sepolia Testnet and a UI built using NextJS - Smart Contract: https://sepolia.lineascan.build/address/0x8fa509ab0087755fdd5fb49df1d5fad95f9d9eb7 The Smart Contract is written in Solidity. It has a couple of Write States: - DepositToHouse - Play - WithdrawToHouse - WithdrawLink

Sector
GameFi