Skip to content

sanchitdawarsd/NFT-marketplace

 
 

Repository files navigation

NFT based Photo MarketPlace


【Introduction of NFT based Photo MarketPlace】

  • NFT based Photo MarketPlace is the peer-to-peer Marketplace for buy and sell of photos which was uploaded by users.
  • It assume that uploaded photos in this marketplace are used as photos of news article.
  • Even if user has smartphone which include function of camera, anyone can become sellers by uploading photos in this MarketPlace.
    • It mean that if user who is seller live in poor region and doesn't has bank account and so on, they can earn money by selling photos in this marketplace.
  • All of being uploaded photos are tokenized as NFT(Non-Fungible token).
  • Uploaded photos buy/sell by using DAI for preventing risk of high volatility of crypto currency.

 


【Setup】

Setup private network by using Ganache-CLI

  1. Download Ganache-CLI from link below
    https://www.trufflesuite.com/ganache

  2. Execute Ganache

$ ganache-cli -d

-d option is the option in order to be able to use same address on Ganache-CLI every time.

 

Setup wallet by using Metamask

  1. Add MetaMask to browser (Chrome or FireFox or Opera or Brave)
    https://metamask.io/

  2. Adjust appropriate newwork below

http://127.0.0.1:8545

 

Setup backend

  1. Deploy contracts to private network of Ganache
(root directory)

$ npm run migrate:local

 

Setup frontend

  1. NPM modules install
$ cd client
$ npm install
  1. Execute command below in root directory.
$ cd ..
$ npm run client
  1. Access to browser by using link
http://127.0.0.1:3000

 


【Work flow】

 


【References】

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 70.6%
  • JavaScript 23.7%
  • SCSS 4.5%
  • HTML 1.1%
  • Other 0.1%