This is a simple project designed to gain experience building decentralized applications.
Here are the steps to run this project locally:
- Clone the project locally, change into the directory, and install the project dependencies via:
npm install
- Start the local Hardhat node via:
npx hardhat node
- With the Hardhat node running, deploy the contracts to the local network in a seperate terminal window
In order to deploy to the Mumbai testnet on the Polygon network, make sure to set an environment variable POLYGON_ACCOUNT_PRIVATE_KEY with the value of your MetaMask account's private key via the export
keyword. If you wish to use some other network just add an extra entry to the networks
field.