public URL https://polygon-nft.web.app/
Latest deployed contract addresses:
- (Child) Polygon Mumbai NFT - 0x62da2F5132B4e3CBE5afD3905F3D4888b975f8f9
- (Child) Polygon Mumbai Tunnel - 0x24d1cdf9a1e5C589A2981E07CE06e7E0E9Edce75
- (Root) Ethereum Goerli NFT - 0x610CE1cf222a50d9000BD05Da14f93475011C094
- (Root) Ethereum Goerli Tunnel - 0xc09f72Fa66CC411069220a86B1f8Db418098fab8
- Create a .env file using the .env.example and provide all required keys.
- run yarn install at the root of the project.
yarn install
- to start the react app run:
yarn react-app:start
- Run commands
yarn hardhat:deploy:mumbai
yarn hardhat:deploy:goerli
yarn hardhat:connect --root "<root tunnel address>" --child "<child tunnel address>" --child-token "<child nft address>"
yarn hardhat:mint --address "<root nft address>"
- Copy and Replace abis in react-app
- Set the new contract addresses in contracts.ts
- Build react app
yarn react-app:build
- Deploy react app to firebase hosting
yarn react-app:deploy