- Get your Pinata API Key and Secret from your Pinata account.
- In the project root directory, create a new file called
.env
. - Open the
.env
file in a text editor and add the following lines:
REACT_APP_PINATA_API_KEY=<YOUR PINATA API KEY>
REACT_APP_PINATA_API_SECRET=<YOUR PINATA API SECRET>
REACT_APP_CONTRACT_ADDRESS=<ADDRESS OF DEPLOYED CONTRACT>
The application should now be running on http://localhost:3000.