Skip to content

jabbala/ERC721-NFT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERC721/NFTs

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.

Getting Started

To deploy the smart contract follow the steps below.

  1. Install Node.js
  2. Clone the repository: git clone https://github.com/jabbala/ERC721-NFT.git
  3. cd ERC721-NFT</minty
  4. npm link
  5. npm install
  6. Install IPFS Command Line
  7. ipfs daemon
  8. In a new terimal window npx hardhat node
  9. Run minty deploy

Minting Tokens

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"

Using the Frontend

  1. Install the Liveserver Extension in VSCode.
  2. Open base.html
  3. Click the button that says "Go Live" in the bottom right hand corner of your VSCode.
  4. Import any accounts you need into MetaMask and change your MetaMask network to "Hardhat".
  5. Interact with the contract!