This is the frontend implementation of the BattleZips protocol which debuted at Eth Denver 2022. This is still a WIP and will have a hosted version soon that will be linked here.
Subgraph: https://github.com/battlezips/battlezip-subgraph
Contracts: https://github.com/battlezips/BattleZips
- Goerli
- Mumbai
- Polygon
- Clone repo
git clone [email protected]:battlezips/battlezip-frontend.git
- Install dependenices with yarn or npm install
yarn
---
npm install
- Add .env file and add the following lines:
REACT_APP_BATTLESHIP_GAME_CONTRACT_GOERLI=0x75649E85EeA2b90fdcDF40DA18f38b3FCecB83A5
REACT_APP_BATTLESHIP_GAME_CONTRACT_MUMBAI=0xfD38c8C8dC0d56230A19013B3b213E0f823d2Df7
REACT_APP_BATTLESHIP_GAME_CONTRACT_POLYGON=0xfaf0eD1F58132C88279dBB24C33787eAFc365DfD
- Start app
yarn start
---
npm start