/nft

Primary LanguageJavaScript

nft-ipfs

image

This application mints images into NFTs on the Ethereum blockchain, upload images to IPFS and display the images on the screen.

  • Connect to the site in Metamask via the Ropsten test network
  • Only admin is able to mint NFTs on the site

Initialize application

Install dependencies:

npm install

Create a .env file in root:

INFURA_API_KEY='YOUR_INFURA_API_KEY'
PRIVATE_KEY='YOUR_PRIVATE_KEY'

Deploy to Ropsten & Test smart contract & Run

To deploy:

truffle migrate --reset --network ropsten

To test smart contract:

truffle test

To run:

npm start

Minting a NFT

image

Image uploaded to IPFS

image