Skip to content

ajitjoshi/nft-marketplace

Repository files navigation

NFT Logo Markteplace dApp

This is a distributed application (dApp) for NFT Logo Marketpace. In this application users can publish their Logo creativity / digital assets for sale.

Marketplace : Buy Logo! marketplace

Sell Your Logo! create-asset

Logos You Own! my-assets

Your Dashboard dashboard

This is end-to-end blockchain distributed application. We are using following technology stack for this dApp

Environemnt Setup

npm install --save-dev hardha
  • Install Solidity compiler : run following command. This is global installation
npm install -g solc

Project Setup

  • Create Next.js Project
npx create-next-app nft-marketplace
  • Add Prod dependencies
yarn add ethers hardhat @nomiclabs/hardhat-waffle ethereum-waffle chai @nomiclabs/hardhat-ethers web3modal @openzeppelin/contracts ipfs-http-client axios
  • Add Dev Dependencies
yarn add -D tailwindcss@latest postcss@latest autoprefixer@latest
  • Initialize tailwind
npx tailwindcss init -p

Created Tailwind CSS config file: tailwind.config.js
Created PostCSS config file: postcss.config.js
$ > 
  • Initialize hardhat project
npx hardhat 
  • Update hardhat.config.js with network details

  • Create Smart Contracts

  • Setup MetaMask, create and account, export proivate key, store it in ".secret" file and use in hardhat config file

  • Run the hardhat node

npx hardhat node
  • Deploy Smart Contracts
npx hardhat run scripts/deploy.js --network localhost
NFTMarket deployed to: 0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512
NFT deployed to: 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0
$ > 
  • Update contract address in config.js file

  • Run front-end

npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published