Cryptophecy, which stands for Cryptocurrency Prophecy, is a simple bet game developed using Chainlink reference data contract at the backend side and React for the Web UI interaction.
Gamblers can come to play whenever and as many times as they want by guessing whether the Bitcoin exchange rate after 1 hour will raise, drop, or be unchanged and then betting an arbitrary amount of Ethereum (at least 0.01 ETH) for that prediction. If the actual exchange after 1 hour since the moment their requests were submitted matched their guess, the gamblers would be rewarded an amount of 2.9 times their stake. Otherwise, they receive nothing.
-
Install your browser extension of your prefered cryptocurrency wallet and unlock it.
-
Clone this repository to your computer
git clone [email protected]:DrNguyen2525/Crypto_Supreme_Prophecy.git
- Navigate to
frontend
directory
cd frontend
- Install dependent packages
yarn
- Run the development server and have some fun
yarn start
The application is hosted at Firebase Hosting. If you're interested, give it a try here.
Explanation video is available here.