A base template for multiplayer turn-based game on Ethereum...
in a second terminal window:
in a third terminal window:
minesweeper.js
Debug Contracts
tab to figure out what address is the owner
of YourCollectible
?deploy.js
in packages/hardhat/scripts
YourContract.sol
in packages/hardhat/contracts
PushTheButton.jsx
in packages/react-app/src/views
Change thedefaultNetwork
inpackages/hardhat/hardhat.config.js
yarn generate
yarn account
(You'll need to fund this account. Hint: use an instant wallet to fund your account via QR code)โ๏ธ Edit your frontendApp.jsx
inpackages/react-app/src
to change thetargetNetwork
to wherever you deployed your contract:
โ๏ธ build and upload your frontend and share the url with your friends...
๐ฉโโค๏ธโ๐จ Share your public url with a friend and invite them for a game!!