This project provides a ERC721 smart contract that allows you to mint unique NFTs. Once you have deployed the smart contract and minted some NFTs you can run the frontend to view the NFTs you have access to.
To deploy the smart contract follow the steps below.
- Install Node.js
- Clone the repository:
git clone https://github.com/jabbala/ERC721-NFT.git
cd ERC721-NFT</minty
npm link
npm install
- Install IPFS Command Line
ipfs daemon
- In a new terimal window
npx hardhat node
- Run
minty deploy
Once the smart contract is deployed and IPFS is running you can mint new NFTs by running the following command.
minty mint ./asset-path --name "Name" --description "description"
- Install the Liveserver Extension in VSCode.
- Open base.html
- Click the button that says "Go Live" in the bottom right hand corner of your VSCode.
- Import any accounts you need into MetaMask and change your MetaMask network to "Hardhat".
- Interact with the contract!