- Run
npm install
at the root of your directory - Run
npm run start
to start the project - Start coding!
npx hardhat run scripts/run.js
npx hardhat run scripts/deploy.js --network rinkeby
- Update Contract Address in src/constants.js
- Copy json file from artifacts/contracts/MyEpicGame.sol/MyEpicGame.json
- Paste what copied in step 2 into src/utils/MyEpicGame.json
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help
Wallet: Metamask
Rinkeby Faucet: https://faucets.chain.link/rinkeby
Token: https://rinkeby.etherscan.io/token/0xD8605777E42DFD702BD0174b479421b380B7B528
Create your own mini turn-based NFT browser game
- Refill extinguisher (or mint another one)
- Yours
- Another player's
- Multiple players'
- Switch extinguisher
- Leaderboard
- Critical hit
- Audio effects
- Game history
- Mainnet donations towards causes e.g. climate change, public health, & security
- Responsive design
- Multiple extinguishers at once (multiplayer)
- Game levels
Dependency cruiser to validate and visualize dependencies
depcruise --exclude "^node_modules" --output-type dot src | dot -T svg > docs/dependencygraph-src.svg