Giter Site home page Giter Site logo

olaaa30 / whitelist-dapp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 274 KB

This is a whitelist decentralized application for an upcoming nft collection. Users can connect their metamask wallets to join the whitelist.

Home Page: https://whitelist-dapp-olaaa30.vercel.app

Solidity 13.94% JavaScript 79.73% CSS 5.85% Shell 0.47%

whitelist-dapp's Introduction

Whitelist-DApp

This is a whitelist decentralized application for an upcoming nft collection. Users can join the whitelist by linking metamask accounts and clicking the "Join WhiteList" button. Requires the user to be on the goerli testnet. This is part of the lessons in the Sophomore Track at learnweb3(https://learnweb3.io/)

Project Layout

  • /hardhat-config - contains the backend and the smart contracts
  • /whiitelistdapp-frontend - contains the frontend with which a user might interact with
  • the smart contract

Setup

Backend

  • Clone the repository, and cd into the hardhat-config directory and simply run npm install
  • Next, you'll need to compile the smart contracts with npx hardhat compile
  • Deploy the smart contract to any testnet - I used the goerli testnet as most other testnets have been deprecated
  • You'll need to provide your metamask private key and an rpc node from a provider.
  • Look into /hardhat-config/example.env for examples

Frontend

  • The frontend was created using next.js which is a react framework
  • Simply "cd" into the whiitelistdapp-frontend folder and install dependencies using npm install
  • After successfully installing dependencies, open http://localhost:3000 with your browser to
  • join interact with the dapp. Happy building! :)

whitelist-dapp's People

Contributors

olaaa30 avatar

Stargazers

 avatar

Watchers

 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.