🧑How it works

Contracts Quick view:

  • FactoryMember: This contract is exclusively for owner privileges. It enables the creation of new memberships within the protocol.

  • Memberships[ERC721]: This contract allows you to purchase an NFT at a fixed price. The NFT includes a unique membership NFT ID and a specific airdrop of Nightz NFT.

  • NightzNft[ERC1155]: Each Nightz NFT ID is linked to a unique membership, and the owners of membership receive airdrops of these IDs.

  • Marketplace: A marketplace for trading Nightz NFT IDs.

  • Booking: This contract manages on-chain bookings.

Protocol Workflow

When the protocol indexes a new real estate property, the FactoryNewMember function is triggered in the factory contract. This creates a new Membership contract, which is connected to a specific ID in Nightz NFT (ERC1155). Simultaneously, on the corresponding webpage, users are automatically allowed to purchase the new membership until stocks last or the purchase time ends.

Users who purchase a membership receive the first Nightz airdrop at the moment of minting the membership. They obtain a Membership NFT that provides benefits in the community or on the property. This initial Nightz airdrop can be used for booking, holding, or selling in the marketplace.

  • Users who prefer only Nightz of a specific property without purchasing a membership can visit the Nightz marketplace.

At the moment, only one membership is available for sale. Once new memberships are introduced, previous memberships might become unavailable for purchase.

Last updated