Links
Comment on page

Token Gating

Make holding a specific coin balance or NFT a requirement for reward claims. Use this for allowing exclusive access to certain rewards in your shop.
Video tutorial demonstrating how to configure token gating for an NFT rewards (formerly called 'perks)

NFT Gating

Example of NFT gating for an NFT Perk
In the above example the PolyPunks ERC721 smart contract is used for gating of an NFT reward. THX accounts that do not hold one of these NFTs in their wallet will not be able to redeem this reward for points.
PolyPunks holders exclusively are able to redeem this reward for points.
Tip! Marketplaces generally give information about the contract standard used for a collection. THX allows you to use both ERC721 and ERC1155 contract standards.

Coin Gating

Example of coin gating for an NFT reward
In the above example the THX-DEMO ERC20 smart contract is used for gating of an NFT reward. THX accounts that do not hold one of these NFTs in their wallet will not be able to redeem this reward for points.
PolyPunks holders exclusively are able to redeem this reward for points.

Widget appearance

  • Unauthenticated users of the widget will by default see the perks in their gated status as we are not able to verify ownership.
  • Authenticated users that are meeting the gating criteria will be able to run through the regular redeem flow.
  • Authenticated users that are not meeting the gating criteria will see the perks locked status as shown below.
Example of a token gated NFT perk in the widget