Giter VIP home page Giter VIP logo

nft-presale's Introduction

NFT Presale Site Demo

This is a demo project showcasing a DEMO of NFT Presale. In this case this presale contract was used.

Description

The presale demo consists of 5 types of cards as existing in the presale contract at the time of writing - each having their own price and mint limits. The site loads with a message prompt to install Metamask if not installed. If installed, the used needs to connect it. The site prompts for switching chain from any Chain to either Avalanche Mainnet c-chain or Fuji Testnet. After this the user can connect to the site by presssing the Connect button. This prompts them to sign a welcome messsage accepting terms. They can select from the range of NFTs available on the card. The Get Card Details button helps in getting the details of the cards with the amount sold in real time. Once selected, the user may choose to buy the card by click the Buy button which creates a metamask transaction.

Note: The user must have sufficient AVAX in their wallet to cover the NFT cost and gas fees. No error will me shown and the Buy button will simply not work otherwise. Ideally an error modal might be displayed but I haven't created that since this is just a demo.

Run the Project

To run the project,

  1. Install Node and NPM (preferrably the versions mentioned in the "engines" section of package.json).
  2. Clone the project and from the clonned directory run npm install.
  3. After installation finishes, run npm start.

Demo

Site Functioning

FCC-presale.mp4

Viewport Responsiveness

FCC-Presale-Responsive.mp4

Stack

The site was built using:

  1. ReactJS
  2. MUI v5
  3. EthersJs

Credits

The site was built by me. The contract was written by Peter Roy.

nft-presale's People

Contributors

abhik-99 avatar

Stargazers

Roman avatar

Watchers

James Cloos 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.