Skip to content

liebentech/blockrunner-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published