Skip to main content

Token Gated Membership

In this example, you'll learn how to create a website that restricts content based on the ownership of an NFT.

You can use either an NFT Collection, NFT Drop, Edition, or Edition Drop to create your NFTs.

If you're not sure which one to use, check out our comparison on the NFTs page.

In this guide, we'll use an Edition Drop. The NFTs in this Drop will use the same asset with the ERC1155 standard so that every owner has a "membership card" NFT.

We'll show you how to:

  • Create your NFTs using thirdweb
  • Create an application that connects to your NFT smart contract
  • Restrict content based on ownership of an NFT

Demo

In the end, you'll have a production-ready NFT Drop that your users can mint from!

Demo of Token Gated Membership Example

You can test out the demo deployment here: https://nft-gated-website.thirdweb-example.com