MemesBay / CroRunner

CroRunner 2D game earn run tokens and reward NFTs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blockchain game

Build a play to earn blockchain runner game that rewards tokens and NFTs

Technology Stack & Dependencies

  • 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

1. Clone/Download the Repository

2. Install Dependencies:

$ cd contracts
$ npm install

3. Deploy NFT collection to Polygon Mumbai testnet

  • Setup your env file with both private key and mumbai RPC
$ $ npx hardhat run scripts/deployNFTCollection.js --network mumbai

4. Deploy Run token to Polygon Mumbai testnet

  • Setup your env file with both private key and mumbai RPC
$ $ npx hardhat run scripts/deployRunToken.js --network mumbai

5. Provide the smart contract addresses in blockchain.js file

Images in the game are taken from https://www.flaticon.com/

About

CroRunner 2D game earn run tokens and reward NFTs