ShareMint
  • ๐Ÿ‘‹Introduction
  • Overview
    • ๐Ÿ’กWhat we do
    • โœจFeatures
    • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘Partner Program
  • Fundamentals
    • ๐Ÿ› ๏ธGetting Started
    • โšกAffiliate Sign Up Page
    • ๐ŸŒ๏ธReferee Sign Up Page
    • ๐Ÿ“Integrating ShareMint into your Website
    • ๐ŸŽAPI
    • ๐ŸŽชAffiliate Token Gating
    • ๐Ÿง‘Inviting other Admins
    • ๐Ÿš…Bulk Upload Users
    • ๐Ÿ“–Export as CSV
    • ๐Ÿ’ตBulk Payouts
    • ๐Ÿ’ธSupport for fiat payments
    • ๐Ÿ—ผTiered Rewards
    • ๐ŸŽฐReferee Requirements
      • Smart Contract Events
      • API Events
      • API Points
    • ๐ŸงชChecking your program before launch
  • Use Cases
    • ๐ŸŽจFor NFT Collections
    • ๐ŸงบFor NFT Marketplaces
    • ๐ŸŽฎFor Gaming
    • ๐Ÿ’ฑFor DeFi Protocols
    • ๐Ÿ’ธFor DEXs
    • ๐Ÿ—ž๏ธFor Newsletters
  • Case Studies
    • ๐ŸŽจNFT Mints
    • ๐Ÿ’ฑDeFi Protocols
Powered by GitBook
On this page
  1. Fundamentals

Affiliate Token Gating

PreviousAPINextInviting other Admins

Last updated 2 years ago

You can offer different rewards to different affiliates using token gating. For example, if someone holds a Bored Ape, you might give them a 50% affiliate reward, whereas the standard tier is a 20% reward. This works great for existing communities where you can reward your early holders with higher rewards.

Token gating works for both regular tokens (ERC20) and NFTs (ERC721).

To add token gating to your project go to the project Settings tab, and click Add Group in the Token Gating section.

You can also add affiliate groups behind a secret URL without the affiliate needing to hold any tokens. Anyone with the URL will be able to join the higher rewards tier.

Group Name: a name for the affiliate group. For example, Llama Holders.

Affiliate Reward: the revenue share an affiliate in the group will earn.

Token Name: the name of the token to display to users. For example, Bored Ape Yacht Club.

Tokens Required: how many tokens a holder must own to gain access. The default is one token.

Custom Slug: if set we will create a dedicated URL where token holders can sign up. They will also be able to sign up via the standard affiliate sign-up page and if we see they are holding tokens that enable higher rewards we will display a message to them to let them know.

Custom Description: a custom message on the dedicated page for this affiliate group. If no custom description is set then the default description for the project is used.

Token Address: the address of the ERC20 or ERC721 token to gate the affiliate page. You can find the address of a token on . The token address will start with 0x and look something like 0x123abc123abc456... This field is optional. You can also create affiliate groups behind a secret URL where no token is required to gain access.

๐ŸŽช
Etherscan