Skip to content

Kathleen-Xu/NFT-Auction-Market

Repository files navigation

NFT-Auction-Market

🖼️ Preview

Check out how it looks:

image

You can mint your NFT:

image

You can see the NFT you created:

image

You can put the NFT for auction:

image

You can explore all the NFT on auction:

image

Also, you can see the NFT you collected through auction on the page "collected".

If you are a bidder, you can bid for NFT, withdraw your money if there is a higher bid price, and as well as claim the NFT if you are the winner. For the case when no one bid for NFT, the owner can fetch the NFT after the auction.

All the information about the history of ownership of NFTs and the history of bids of auctions is displayed.

⚙️ Built With

This project was developed with the following technologies:

Frontend React + JavaScript

  • React
  • Redux
  • Web3.js
  • Material UI
  • IPFS API

Blockchain and Contracts Solidity

  • Solidity
  • Truffle
  • Ganache
  • MetaMask

🕹️ how to use

Requirements

To run the application you'll need:

  • Git
  • Node
  • Yarn or npm
  • Truffle
  • Ganache
  • Metamask
  • IPFS

Steps

  1. Clone the repository
  2. Go to the project folder
$ cd NFT-Auction-Market-main
  1. install the dependencies
$ yarn

If you are using the code file I emailed to TA, you will need to install @openzeppelin/contracts additionally.

$ npm install @openzeppelin/contracts
  1. Run the ganache and MetaMask. Make sure they use port 7545.
  2. Migrate and deploy the contracts
$ truffle migrate
  1. Run the ipfs. Make sure you have ipfs configured for cross-domain resource sharing. You can refer to this blog.
  2. Run the client
$ cd client
$ npm install
$ yarn start

📃 TODO

There are some things to be done in the project: Since this project uses redux with hook style, but I am not familiar with it at the moment, I can't do the real-time update. Therefore, after each operation or account change, you need to go to the Explore page or a single NFT page for manual refresh.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published