- Run
npm install
to download thenode_modules
folder. - Download the dotenv package in your project directory by running
npm install dotenv --save
in your terminal - Create a
.env
file in the root directory thisnft-minter
by entering the following on your command line:vim .env
and then add your Alchemy API Key and Pinata Key and Secret. Altogether, your.env
file should look like so:
REACT_APP_PINATA_KEY = <pinata-key>
REACT_APP_PINATA_SECRET = <pinata-secret>
REACT_APP_ALCHEMY_KEY = https://eth-ropsten.alchemyapi.io/v2/<alchemy-key>
- Run
npm start
in your terminal to open the minter in your browser at http://localhost:3000/.