thirdweb
thirdweb

⌘K

DocsSupport
PublicLock

Membership

A membership contract that creates time-bound NFTs: subscriptions, tickets, certifications or stamps.


The Public Lock Contract is a membership contract from Unlock Protocol. This contracts lets you create recurring subscriptions, tickets, certifications

Use cases and examples

  • Set expiration dates for each NFT membership

  • Airdrop and sell membership NFTs from the contract

  • Create a free or paid membership program for your community or ecosystem

  • Generate recurring subscription revenue

  • Deploy a ticketing system for events

  • Customize the visual aspect of each membership NFT

  • Extend the behavior of the contract with hooks

Resources


DEFAULT_ADMIN_ROLE

(DEFAULT_ADMIN_ROLE)

view

Use this function in your app


import { readContract } from "thirdweb";
const data = await readContract({
contract,
method: "function DEFAULT_ADMIN_ROLE() view returns (bytes32)",
params: []
})

Published by

unlock-protocol.eth

View all contracts

Details

  • Publish Date

    Aug 17, 2023

  • Audit Report

    View Audit Report

  • License

    MIT


  • Extensions

  • Extension detected

    ERC721


  • Share


    Learn about Publish