Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pkiage/testnet-Gamefi-NFT-MiniTurnBasedGame-ZimaMoto
https://github.com/pkiage/testnet-Gamefi-NFT-MiniTurnBasedGame-ZimaMoto
alchemy blockchain buildspace css erc721 ethereum game gamefi hardhat html ipfs javascript nft openzeppelin react rinkeby solidity testnet turnbased web3
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pkiage/testnet-Gamefi-NFT-MiniTurnBasedGame-ZimaMoto
- Owner: pkiage
- License: mit
- Created: 2022-03-06T18:57:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-29T11:18:33.000Z (over 2 years ago)
- Last Synced: 2024-03-18T13:57:47.542Z (9 months ago)
- Topics: alchemy, blockchain, buildspace, css, erc721, ethereum, game, gamefi, hardhat, html, ipfs, javascript, nft, openzeppelin, react, rinkeby, solidity, testnet, turnbased, web3
- Language: JavaScript
- Homepage: https://testnet-gamefi-nft-mini-turnbased-game.vercel.app/
- Size: 169 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-buildspace - testnet-Gamefi-NFT-MiniTurnBasedGame-ZimaMoto
README
# Zima Moto
## Installation and Setup to Contribute/Remix:
1. Run `npm install` at the root of your directory
2. Run `npm run start` to start the project
3. Start coding!## Running Contract Locally
npx hardhat run scripts/run.js## Deploying to Rinkeby Testnet
```shell
npx hardhat run scripts/deploy.js --network rinkeby
```
## Connecting Web App to Deployed Smart Contract on Rinkeby Testnet
1. Update Contract Address in src/constants.js
2. Copy json file from artifacts/contracts/MyEpicGame.sol/MyEpicGame.json
3. Paste what copied in step 2 into src/utils/MyEpicGame.json## Hardhat tasks
```shell
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help
```## Wallet & Coin:
Wallet:
[Metamask](https://metamask.io/)Rinkeby Faucet:
https://faucets.chain.link/rinkeby## Token:
Token: https://rinkeby.etherscan.io/token/0xD8605777E42DFD702BD0174b479421b380B7B528## Pin Manager
[Pinata](https://www.pinata.cloud/)## Inspiration:
[Create your own mini turn-based NFT browser game](https://github.com/buildspace/buildspace-projects/tree/main/NFT_Game)## Further development ideas:
- [ ] 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## Docs creation
### [Dependency cruiser](https://github.com/sverweij/dependency-cruiser) to validate and visualize dependencies
```shell
depcruise --exclude "^node_modules" --output-type dot src | dot -T svg > docs/dependencygraph-src.svg
```