Skip to content

KahanMajmudar/turn-based-NFT-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Turn Based NFT Game

To run the blockchain project

  1. Clone the repo
  2. cd hardhat
  3. npm i
  4. npx hardhat run scripts/run.js to test locally
  5. create a .env file and add the following values
   ALCHEMY_API_KEY
   ACCOUNT_PRIVATE_KEY
  1. npx hardhat run scripts/deploy.js --network rinkeby to deploy on the testnet

To run the react app

  1. cd react-app
  2. copy the artifacts from hardhat/artifacts to react-app/src/artifacts
  3. npm i
  4. Replace the contract address in constants.js
  5. npm run start

Enjoy Playing 🔥

Click to view project completion NFT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published