LogoLogo
Manifold for Developers
Manifold for Developers
  • Introduction
  • Shopify Merch Bridge
    • Overview
    • Tutorial
      • Step 1: Product Gate Setup
        • 1.1: Configure the Product
        • 1.2: Install Manifold Merch Bridge
        • 1.2: Create a New Product Gate
        • 1.3: Link a Product to the Gate
        • 1.4: Add Rules
      • Step 2: Store Theme Setup
        • 2.1 The Theme Editor
        • 2.2 Product Page Setup
        • 2.3 Cart Page Setup
    • Advanced Configuration
    • FAQ / Error Help
    • Reference
      • Product and Gate Configuration
        • Shopify Products
        • Product Gates
          • Gate Products
          • Rules
      • Custom Themes
      • Updating to the Latest Version
      • UI Configuration Options
      • Advanced Usage
      • Common Issues
  • Guides
    • Getting Started
    • HTML
    • React
    • NextJS
    • Vue
    • Wix
    • Squarespace
      • Simple Squarespace Site
      • Customised Squarespace Template
  • Resources
    • Apps
      • Grant Types
    • Widgets
      • Directory
      • Manifold CSS Variables
        • Scheme Utility Classes
        • List of Manifold CSS Variables
      • Connect Widget
        • Blockchain Interaction
        • Wallet Authentication
        • Data Client
          • NFT Information Retrieval
            • getNFT
            • getNFTsOfOwner
            • ownerHasNFT
            • getCollectors
          • Data Storage and Retrieval
        • Advanced Configuration
        • Customization & Styling
        • Automatic Error Handling
      • Campaign Widget
        • Campaign Creation
          • Questionnaire
        • Campaign Progress
        • Customization & Styling
      • Curation Widget
      • Marketplace Widgets
        • Widgets
          • Data Attributes
          • Layout Widgets
          • Card Widgets
          • Listing Widgets
        • Window Events
        • Troubleshooting
        • Customization & Styling
        • Version Change Notes
          • 3.2.1 - CSS Selector Changes
          • 3.1.1 - CSS Selector Changes
      • Claim Widgets
        • Widgets
          • Data Attributes
          • Complete Claim Widget
          • Buy Button Only Widget
          • Mint Count Widget
        • Troubleshooting
        • Customization & Styling
        • Version Change Notes
          • 1.7.0, 1.7.1 - CSS Selector Changes
      • Restricted Token Widget
        • Customization & Styling
      • Wallet Identity Widget
        • Customization & Styling
      • Subscription Widget
      • 6551 Display Widget
    • Manifold Ethereum Provider
  • Tools and APIs
    • Merkle Tree Tool
    • Snapshot Tool
    • Discord Tools
    • Server-Side Session Authentication
      • Signature Grant
      • Authorization Code Grant
  • Smart Contracts
    • Manifold Creator
      • Contracts
        • Creator Core
          • Common Functions
          • ERC721 Functions
          • ERC1155 Functions
        • Extensions
          • Extensions Functions
          • Extensions Examples
          • Extensions Deployment Guide
            • Dynamic NFT Extension
            • Lazy Mint Extension ERC1155
            • Lazy Mint Extension ERC721
        • Mint Permissions
          • Mint Permissions Functions
      • Prior Versions
        • 1.0.x
          • Creator Core
            • Common Functions
            • ERC721 Functions
            • ERC1155 Functions
          • Extensions
            • Extensions Functions
            • Extensions Examples
            • Extensions Deployment Guide
              • Dynamic NFT Extension
              • Lazy Mint Extension ERC1155
              • Lazy Mint Extension ERC721
          • Mint Permissions
            • Mint Permissions Functions
        • 2.0.x
          • Creator Core
            • Common Functions
            • ERC721 Functions
            • ERC1155 Functions
          • Extensions
            • Extensions Functions
            • Extensions Examples
            • Extensions Deployment Guide
              • Dynamic NFT Extension
              • Lazy Mint Extension ERC1155
              • Lazy Mint Extension ERC721
          • Mint Permissions
            • Mint Permissions Functions
    • Marketplace
      • Identity Verifier
    • Royalty Registry
  • Contact Us
Powered by GitBook
On this page
  • Observable Window Events
  • m-campaign_cart_updated
  • Token Checker Widget
  • Token Set Gating
  • Step 1: Determine all users that have a complete set
  • Step 2: Create a Sepolia testnet token
  • Step 3: Create a Token gate using the Sepolia token

Was this helpful?

  1. Shopify Merch Bridge
  2. Reference

Advanced Usage

Last updated 2 months ago

Was this helpful?

Observable Window Events

There are a few window events you may want to listen to in order to dynamically update your storefront. Below is a list of available events.

m-campaign_cart_updated

This event is emitted whenever token gated items are added to or removed from the cart.

Token Checker Widget

When a token is redeemed on a campaign, there is no change to the token's on chain metadata. So, we have included a widget that allows collectors to check if that token has already been used. It can be included by doing the following:

<div
   data-widget="m-token-checker"
   data-campaign-id="<your-campaign-id>"
></div>

Token Set Gating

We will be improving this feature in the future to make it more straightforward.

Step 1: Determine all users that have a complete set

Step 2: Create a Sepolia testnet token

Step 3: Create a Token gate using the Sepolia token

Configure a Product Gate using this token (snapshot based gate). This will gated access to the product to all the wallets you sent the Sepolia token to in step 2.

Token set gating is gating a product based on whether or not someone has a complete set of tokens. This will only work via a snapshot and will require multiple steps, including minting tokens to Sepolia. The following are instructions on how to do this in conjunction with .

Using the , take a snapshot of all holders of the relevant tokens. Once you have this list, determine all the wallets that have the complete set, and the number of gated items you wish them to receive.

Using , create a Sepolia ERC1155 testnet token representing the complete set. Choose an name, image and description that suits this. Mint a token to yourself, and mint the token to all the addresses above in the quantities desired. For further information on using Manifold Studio, .

Manifold Studio
Snapshot Tool
Manifold Studio
please see these docs
Allow collectors to check if a token has been redeemed on a campaign