thirdweb

Create NFT memberships for your Discord

Create NFT memberships for your Discord

Last updated:

November 4, 2021

Create NFTs which represent membership to a specific discord server or channel.

Jake Loo

A few examples:

  • Large NFT collections which grant every holder access to a private community (ie. Bored Ape Yacht Club)
  • Smaller NFT collections which grant holders lifetime access to an existing paid community (Shiny Magpies)

Setup NFT

  1. Go to https://thirdweb.com/dashboard, connect your wallet and select the network you want to deploy to.
  2. Create new project (if you don't have one).
  3. Add a module: NFT Collection (ERC 1155).
  4. Add a name and description for your collection. (This will be displayed when users view the collection page on Opensea).
  5. Click Deploy → confirm both steps in your wallet.
  6. Click Mint on the top right corner to start minting your Membership NFT.
  7. Add a name and description for your individual NFT. (This will be displayed when users view the individual NFT page on OpenSea).
  8. You can mint multiple NFT's which represent different tiers of membership.
  9. Your NFTs have now been minted, and after a few minutes will appear on Opensea under your collection.

thirdweb collection dashboard with 3 tiers of membership NFTs. (blue, red, green).

thirdweb collection dashboard with 3 tiers of membership NFTs. (blue, red, green).

[0x4465...65EB] is your NFT contract address.

Discord Setup

We'll be using the collab.land Discord bot. More details can be found on the collab.land website.

  1. Invite the bot into your server using this Invite Link.
  2. In the #collabland-config channel, send the message !setup role to set up a role based on NFT ownership.
  3. Choose the network which you used to mint your NFT's — whichever network you're connected to on thirdweb where you setup your Project and Module. (Polygon, Mainnet, etc)
  4. select ⚖️ for Collection (ERC1155)
  5. Input the details of the NFT you'd like to grant access to the channel.
    1. contract address can be found in your dashboard under your NFT collection name. It looks like [0x4465...65E8] in the screenshot above.
    2. token id can be found at the top of each NFT. It looks like #0, #1, #2, etc.

Member only lounge

Member only lounge

🎊 That's all! NFT holders can now access private channels

When your community member joins the discord, they need to send !join to get set up with collab.land. After setting up with the bot, they will be granted roles which unlock access to the chosen channels based off the chosen NFTs in their wallet.


Ready to build your first web3 app? Get early access & add web3 features to your project today.

Jake Loo

Contents

Setup NFT

Discord Setup

🎊 That's all! NFT holders can now access private channels