Build a play to earn blockchain runner game that rewards tokens and NFTs
- Solidity (Writing Smart Contract)
- HTML, Css, Javascript For the website
- Infura Account on Infura as a node provider
- NodeJS To install Dependencies
- Hardhat Ethereum development environment
- Ethers.js To interact with the blockchain
$ cd contracts
$ npm install
- Setup your env file with both private key and mumbai RPC
$ $ npx hardhat run scripts/deployNFTCollection.js --network mumbai
- Setup your env file with both private key and mumbai RPC
$ $ npx hardhat run scripts/deployRunToken.js --network mumbai
Images in the game are taken from https://www.flaticon.com/
References: https://github.com/dappuniversity/Runner-blockchain-game-