Giter VIP home page Giter VIP logo

dangee's Introduction

dangee

A Web3-Based NFT Trading Platform.

Description

dangee is a Web3-based NFT trading platform built on the Polygon blockchain. The Polygon blockchain, in particular, is used due to its compatability with Ethereum while featuring much lower gas fees.

Users are able to register onto the platform using Web3 Authentication (i.e., their wallets). Outside of authentication, the user is able to:

  1. interact with the smart contract, and
  2. mint and sell NFTs privately with other users/wallets.

Wallets

Please make a MetaMask wallet, and add/keep the MetaMask wallet to your account: Screenshot 2024-04-04 at 5.49.46โ€ฏPM.png

User Roles

There are two, technically three, roles on the smart contracts.

  1. DEFAULT_ADMIN - the original creator of the contract (me)
  2. MINT_ROLE - any users granted the ability to mint NFTs
  3. users who are neither minters nor admins.

As the role names imply, an admin work with any method on the smart contract. Users with the MINT_ROLE role are able to mint NFTs. Note, these users cannot revoke nor grant MINT_ROLE access to other users.

The MINT_ROLE helps to gate access to minting only to those with permission. The goal is to protect dangee against spam minting. As of right now, the MINT_ROLE is granted to those who connect their wallet to the platform.

Interacting with dangee

Future plans are to deploy dangee onto Microsoft Azure; however, as of yet, dangee remains on the localhost.

Development

Front End Development

Please note that dangee is currently working on the Polygon PoS network, so all transactions and NFT minting occurring use real money.

For more information, refer to the website directory.

Smart Contract Development

Please note that I used two now-deprecated technologies:
(1) Mumbai testnet - support ended as of April 8, 2024.
(2) hardhat-deploy - as of the latest hardhat version, hardhat-deploy has been phased out with Ignition

Solutions:
(1) To combat the Mumbai support ending, I deployed my smart contract to Polygon's PoS network.

(2) Unfortunately, while Ignition is much simpler than the historic hardhat-deploy, it does has been shown to have issues with Polygon's PoS network... which I'm using. Therefore, I ultimately resulted to testing in hardhat and deploying in RemixIDE.

For more information, refer to the smart-contract directory.

dangee's People

Contributors

grapemoli 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.