All Collections
Add tokengates
Shopify App
Add tokengating to your Shopify store
Add tokengating to your Shopify store
Updated over a week ago

🚨 Tokengates can only work with Shopify Online Shop 2.0 themes

Please note, if you are using a legacy theme it will not be possible to use this feature.

What are tokengates?

Tokengating is a way of adding more value to an NFT by allowing the holder exclusive access to additional physical or digital products, community, content and more. With tokengating you add rewards, build loyalty and grow engagement. Tokengates provide restricted access to your store that can be marked as free or given a price.

Video tutorial

Create tokengate

Go to the 'Tokengates' tab, hit the 'Create' button to set up a new tokengate

Set up your tokengate

  • Give your tokengate a name

  • Add a contract address

    • This determines which NFTs your customers need to hold to access your gated products

    • The contract address of the NFT collection can be found by viewing it on any marketplace, such as OpenSea

  • Choose your blockchain

    • The blockchain must match the chain the smart contract was created on

    • Check which blockchain your contract was created on by searching for it on Etherscan or Polygonscan

Configure access

  • Leaving this box unticked means the NFT can only be used to access the gated product once

  • If you tick "Allow future owners" any wallet address that owns the NFT in the future will be able to access the product. This means the gate will work for ERC-1155 NFTs. The limitation here is that customers can exploit the gate to claim the product more than once by transferring the NFT to other wallets.

Set timing

With scheduled tokengates you can set a start and end time.

  • By default the start date is immediate but you can update it if you wish

  • If you select an end date, the tokengate will be replaced with the "Add to Cart" button at the desired time/date

Filter by trait

  • You can choose to tokengate based on specific traits included in the NFTs

Select product

  • Add the product you want to tokengate

Hit save!

Configure theme

Configuring your Shopify theme is a necessary step - if it is not configured, the "Connect wallet" button will not display on the product page and your product will not be gated.

After setting up your tokengate, you must update the product template theme to add the connect wallet button.

Go to the Shopify Theme Editor

In the Admin panel on the left, click "Online Store" > "Theme". Under the Current theme, click “Customize”.

Product tokengates

In the theme editor search function, select "Products" and choose "Create Template".

You can also choose to modify the existing product template. This is more convenient if all products in your store are tokengated.

Create template

We recommend choosing the Default Product template but if you are using a custom product template just choose that.

Add the tokengating button

In the "Product information" section choose “Add block” and add the Verisart Tokengate button (you can find it under apps).

Re-order the tokengate button in the section as you require.

Just drag the component to place it in the desired position.

Customize "Connect Wallet" button

You can edit the color of the button and tokengate pop up. Click on the panel and choose your desired colors.

Hit save!

Set the correct theme template on the tokengated product

After choosing from product from the product list. Scroll down until you see the "Online store" panel on the right and select the template for tokengated products.

Hit save! - your tokengate is now ready!

Featured product tokengates

Add the tokengating button

From the menu on the left, click “Add block” and choose the Tokengate button (you can find it under apps).

Hit save - your tokengate is ready!

Secure tokengates using Shopify checkout rules

The Verisart tokengate modifies your online store to hide the Buy button until a user can confirm ownership of the required token. However, until February 2024, this was a superficial screen that could be bypassed by users with technical skills. Shopify fixed this vulnerability, and we now offer a Checkout rule that ensures no one can check out without a valid token by running a check in Shopify's server at checkout time.

To enable

  • Go to Store settings

  • Navigate to the 'Checkout' tab and scroll to the bottom of the page

  • Once at the bottom of the page, click 'Add rule'

  • Select Verisart secure tokengate

  • Click Activate to turn on secure tokengates

Refunding failed orders

Merchants may choose to refund failed tokengated orders. If so, they may incur costs for issuing refunds depending on which payment provider the buyer used. If the buyer paid with Shopify Payments (or Shop Pay), there should be no cost to refund. Other payment provides may charge. We recommend checking this before you launch your tokengates so you can be aware of the potential costs.

Automatically cancel orders

Shopify Plus merchants can use the Script Editor provided by Shopify to automate the process of canceling failed tokengate orders. This removes the need for the merchant or store admin to review orders and manually cancel them. The Script Editor is useful, but once the Verisart App fully supports the Cart Validation API on June 30, the "review, then cancel" workflow will no longer be needed.


You can track how many items have been redeemed from a tokengate in the Verisart App.

Go to the "Tokengates" tab in the Verisart App. A CSV file with the redemptions can be downloaded by clicking on the link in the expanded panel.

Did this answer your question?