Giter Club home page Giter Club logo

blockbox's Introduction

Getting Started

This is an NFT memberships marketplace, facilitating creators in minting and listing NFT memberships that unlock various benefits for buyers.

Working explained.

  • When you create a membership, you call call Factory.sol, which deploys a Membership.sol which is a NFT contract. Now you have created your Membership and user will be able to buy it.

Technologies Used

  • NextJs, TailwindCSS, DaisyUI, Solidity, Typescript, MongoDB, Mongoose.

Why the certain technologies?

  • DaisyUI: Because the components are highly customizable and are less opinionated.

Tradeoffs / What would I do differently if I have more time

  • I would have a middleware contract Controller.sol. Rather than users directly interacting with the main NFT contract when they want to buy an membership, they will interact with this Controller.sol contract and this contract will buy the NFT for them.
  • All the data you see on the UI regarding the NFT it is redering offchain. I've stored the data in a database (mongoDB). I can render all the data from onchain as well, but was trying things out differently so did it this way. And will use multicall to get all the NFTs.
  • I would also add debounce to the search feature. When I render data from on chain.

Contract addresses

  • Factory.sol:0x466848Cc475fbb9b922a5c95E4306f79c1B00497

blockbox's People

Contributors

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