Whop NFT Auth
Search…
1⃣
How to add a 1155 contract to Whop to handle Discord roles

Video demo:

Below you'll find out how to verify roles in your Discord based on ownership of a 1155 NFT.
​
  1. 1.
    Head over to the products page here, and click Create Product.
  2. 2.
    Set the title of the contract. This is most commonly the name of the project you're adding a contract address for.
  3. 3.
    For the product type, you'll want to set it to NFT.
  4. 4.
    For the contract standard, you'll select a 1155.
  5. 5.
    In the contract address text box, you'll put the contract address for the project you're wanting to track ownership of. We'll use Bored Ape as an example of how to find the address.
    1. 1.
      Go to the collections home page on Open Sea. The Bored Ape one is here.
    2. 2.
      Open any NFT from the collection.
    3. 3.
      Find the details section on the page and click it open to expand the view.
    4. 4.
      Where it says contract address, click that and it should open up the Etherscan link.
      ​
    5. 5.
      You'll then see the contract address on the top of the page. For Plug Pass it is 0x1bf47e4f2e9078c30914e33134b21c952b55c64b.
  6. 6.
    Lastly, you'll set the Discord roles you'd like holders to get assigned when verifying ownership of their NFT. Here are a couple of quick notes on that:
    1. 1.
      You can assign multiple roles for holding a token. For instance, if you would like a user to have a 'member' and 'The Crew' role you can apply both.
    2. 2.
      You can set different roles based on how many tokens the individual holds from the contract you set. For instance, if a user holds 2 Plug Passes and you want them to have the 'Pass 2' role for holding five, you can add another role and select 2 as the minimum number of tokens and 'Pass 2' as the role.
    3. 3.
      The base role that holders get for holding 1 token will be applied to all following roles. You do not need to continue assigning the base role.
      1. 1.
        Only the base role will be applied moving upwards. For instance, if you have three sets of roles one for holding 1 NFT, one for holding 5 NFTs, and one for holding 10 NFTs, if an individual verifies 10 they will get the roles from holding 1 token and 10.
    ​
For the examples we used above, here is how your product page would look, before saving your product.

Holders access webhook

Finally, you'll want to make a new channel in your server where the Whop Bot will post the holders access message. This channel should be locked so only administrators can write messages to it.
​
Once you have the channel created, head to your general settings page, scroll down, and select your channel from the drop-down.
Then, click the "Send Verify Webhook" Button.
A new webhook should appear in your server which informs your users where they need to go to verify their access and claim Discord roles.
With all of the recent Discord hacks, security is of the utmost importance to us. We will NEVER ask you for a webhook link or DM any of your users any links. Everything we do is through you adding us as an authorized user of your server and us sending the initial join webhook.
Copy link
On this page
Holders access webhook