A DApp game running on Ethereum network.
- WSL/Linux/MacOS
- nodejs
- npm
- git
- make
- Metamask browser extension
- Install dependencies
npm install - Configure variables
make setup-vars - Compile contracts
make compile - Deploy contracts to local network
make deploy
- Deploy contracts to sepolia network
make deploy-sepolia - Verify contracts
make verify-sepolia address=ADDRESS_OF_DEPLOYED_CONTRACT
- See all available make commands
makeormake help - Setup hardhat config vars
make setup-vars - Run local node
make node - Compile contracts
make compile - Deploy to local network
make deploy - Deploy to sepolia network
make deploy-sepolia - Verify contract on sepolia network
make verify-sepolia address=ADDRESS_OF_DEPLOYED_CONTRACT - Run tests
make tests - Run test and report gas usage
make tests-with-gas - Show test coverage
make coverage