- https://mumbai.polygonscan.com/address/0xd5620C08abe1e0693e7f1c5C0BBc13ca2D729d89
- https://mumbai.polygonscan.com/address/0x000f1FdB610415bd8434515B0F74Ea78E12228BC
foo@bar:~$ git clone https://github.com/Git-Gate/smart-contracts
foo@bar:~$ cd smart-contracts
foo@bar:~$ npm i
Create the .env file and insert the following variables:
- ALCHEMY_URL
- PRIVATE_KEY
The Alchemy HTTP url can be retrieved from your app on https://alchemy.com
To export private key of your metamask wallet follow this guide: https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-export-an-account-s-private-key
To deploy the smart contracts on the local hardhat network run:
foo@bar:~$ npx hardhat run scripts/deploy.js --network hardhat
To deploy the smart contracts on the Mumbai Polygon network run (make sure you have some testnet MATIC on your wallet):
foo@bar:~$ npx hardhat run scripts/deploy.js --network mumbai