Skip to content

apm1001/RPS-with-oracle

Repository files navigation

🏗 RPS on-chain game with Oracle!

Already deployed and verified contract on BSC Testnet: 0xcd7d31435cA97D2ddf3833e7868e578a32E745dE

Built using open-source Web3 workshop scaffold-eth

🏄‍♂️ Quick Start

Prerequisites: Node (v18 LTS) plus Yarn (v1.x) and Git

🚨 If you are using a version < v18 you will need to remove openssl-legacy-provider from the start script in package.json

1️⃣ clone the repository and install dependency:

yarn install

2️⃣ Configure the .env in packages/hardhat/ according to example.env

3️⃣ Deploy contract to BSC Testnet using this command:

yarn deploy --network bscTest

4️⃣ In a second terminal window, start your 📱 frontend:

yarn start