/NFT_mint

Primary LanguageJavaScript

✅ [Completed] NFT Minter Tutorial

This project contains the COMPLETED files for Alchemy's NFT Minter tutorial, in which we teach you how to connect your smart contract to your React dApp project by building an NFT Minter using Metamask and Web3. It is best used as a reference.

🪜 Installation

To use this minter, you'll need to do the following:

  1. Run npm install to download the node_modules folder.
  2. Download the dotenv package in your project directory by running npm install dotenv --save in your terminal
  3. Create a .env file in the root directory this nft-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>
  1. Run npm startin your terminal to open the minter in your browser at http://localhost:3000/.