Skip to Content

Token Gating

Given that subscriptions are onchain, the subscription contract is used to limit access. This is done by checking the balanceOf of a user’s wallet address on the subscription contract. If balanceOf exceeds 0, the user has a valid subscription and should be granted access to the gated content. Otherwise, they can be directed to mint or renew a subscription, which can be done via Hypersub or by using the SDK.

The power of token gating is that paid access credentials move with users to multiple applications, giving the creator more freedom to build and monetize their community.

Common Use Cases

  • Chat
  • Long form content
  • Videos
  • Images
  • Audio
  • Livestreams
  • SaaS

Existing Platforms

PlatformSupported Chains
Bonfire Ethereum, Optimism, Base, Polygon, Zora
CharmVerse Ethereum, Optimism, Base, Polygon, Zora, Arbitrum
Console Ethereum
Discord Ethereum, Optimism, Base, Polygon, Zora, Arbitrum
Frens Coming Soon
Highlight Ethereum, Optimism, Base, Polygon, Zora, Arbitrum
Huddle01 Ethereum, Polygon, Arbitrum, Goerli
Paragraph Ethereum, Polygon, Avalanche, Arbitrum, Optimism
Perk Shop Ethereum, Polygon, Base, Optimism
Custom applicationsEthereum, Goerli, OP Mainnet, Base, Holesky, Zora, Sepolia
Mobile appsEthereum, Goerli, OP Mainnet, Base, Holesky, Zora, Sepolia

Please let us know if you’d like to leverage STP on a different chain or would like us to add your token gated platform here.

Add Token Gating to Your Application

To add token gating to your application, you will need to:

  • Add the ability for a user to connect their wallet and sign a message
  • Add functionality to check the balanceOf of a user’s wallet address on the subscription contract

With those two pieces in place, any app can become a protected content host or SaaS provider with STP.

Last updated on