Giter VIP home page Giter VIP logo

dutchauction's Introduction

Dutch Auction DApp Project

This project aims to build a decentralized application for a Dutch Auction.

Version 1.0

Project Structure

  • Create a new directory named v1.0 and initialize a Hardhat project.

Contract

  • Implement BasicDutchAuction.sol, a Dutch auction contract.

Functionality

  • Allow the seller to set parameters such as reserve price, auction duration, and decrement rate.
  • Conduct the auction where bidders can submit bids.
  • Determine the winning bid and transfer funds to the seller.

Testing

  • Write comprehensive test cases and generate Solidity coverage reports.

Version 2.0

Project Structure

  • Create a new directory named v2.0 and initialize a new Hardhat project.

Contract

  • Create NFTDutchAuction.sol, similar to BasicDutchAuction but for selling NFTs.

Integration

  • Understand ERC721 contract and implement functionality to mint, transfer, and manage NFTs.

Testing

  • Write tests to ensure the correct functioning of the NFT auction contract.

Version 3.0

Project Structure

  • Initialize a new Hardhat project in the v3.0 directory.

Contract

  • Develop NFTDutchAuction_ERC20Bids.sol, accepting ERC20 bids instead of Ether.

Integration

  • Integrate ERC20 token functionality into the auction contract.

Testing

  • Thoroughly test the ERC20 bidding functionality and generate Solidity coverage reports.

Version 4.0

Contract Upgradeability

  • Add an upgrade proxy to make NFTDutchAuction_ERC20Bids.sol upgradeable.

Documentation

Version 5.0

Enhancement

Testing

  • Write test cases to validate the permit functionality within the context of bidding in the auction.

Version 6.0

Project Structure

  • Initialize a new Hardhat project in the v6.0 directory.

UI Development

Features

  • Enable users to deploy auctions, view auction information, and submit bids.

Testing

  • Ensure the functionality of each section and test interactions with Metamask.

Version 7.0

Deployment

  • Deploy the v6.0 DApp on the Goerli Ethereum testnet.

UI Hosting

  • Host the UI through IPFS to enable access via an ipfs:// URL.
    For example if your CID is QmRgCTtKd91QkgoTiJQky57pCRda2drKEvTyFkUznaoKm3, the URL to access the content is ipfs://QmRgCTtKd91QkgoTiJQky57pCRda2drKEvTyFkUznaoKm3
    Steps:
    Generate build files for your UI
    Install IPFS desktop and IPFS browser plugin
    Pin your UI build files to your IPFS Desktop node
    Add the IPFS url to your README.md file in your repo
    Present your fully functioning app to the TA:
    Show that your contracts are deployed on a testnet
    Show that your UI accessible by anyone through IPFS url
    Show that users can interact with your UI through IPFS and the Metamask plugin by:
    deploying a new BasicDutchAuction
    submitting a winning bid
    Use IPNS to generate a fixed name for your UI: https://docs.ipfs.tech/concepts/ipns/#mutability-in-ipfs

Presentation

  • Demonstrate the fully functioning app, including contract deployment, bid submission, and IPFS accessibility.

IPNS Integration

  • Utilize IPNS to generate a fixed name for the UI and enhance accessibility.

Further Versions:

IPFS URL: ipfs://QmdTZg4sAa8x9cdGDL6RZj9wH3AEAJNgG2aPAPduXgt34k

dutchauction's People

Contributors

qiaotonghuang avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.