What is Token Gating?
Token gating restricts access to Discord channels, roles, or entire servers based on cryptocurrency wallet holdings. If someone holds the required tokens in their wallet, they get access. If not, they're locked out.
This is revolutionizing how crypto communities, NFT projects, and DAOs manage membership.
Why Token Gating Matters
Traditional Discord access is binary: either you have access or you don't. Token gating adds a third dimension: prove you hold the tokens to get in.
This solves real problems:
- NFT communities — Only holders can access holder-only channels
- DAO membership — Token holders get governance access
- Token-gated content — Premium info for people who hold your token
- Airdrop verification — Confirm eligibility before sharing sensitive data
How Token Gating Works
The process is straightforward:
- Member connects wallet — They click a button to connect their wallet to the bot
- Bot checks holdings — Queries the blockchain to see what tokens they hold
- Roles assigned automatically — If they meet requirements, they get the gated role
- Access granted — They can now see the gated channels
Supported Blockchains
XOE supports token gating on:
- Base — Ethereum L2, low fees, fast confirmations
- Solana — Extremely low fees, high throughput
Supported Token Types
- ERC-20 tokens — Any fungible token on Base (USDC, DAI, etc.)
- NFTs — ERC-721 and ERC-1155 collections
- SPL tokens — Solana tokens
Setting Up Token Gating
- Go to your XOE dashboard
- Navigate to Token Gating
- Add the token contract address you want to gate by
- Set minimum balance requirements
- Choose which roles to assign
- Enable the gate
Use Cases
NFT Project
Your NFT collection has 10,000 holders. Create an exclusive channel where only people holding at least 1 NFT can discuss the roadmap, see sneak peeks, or access alpha.
DeFi Protocol
Your protocol has a governance token. Gate your governance discussion channel to token holders who have enough voting power to participate.
Learning Community
Accept payment in your governance token for access to premium educational content. Token holders automatically get access.
Token Gating vs Paid Roles: When to Use Which
Token gating and paid roles solve different problems. Understanding the distinction prevents a common mistake: using the wrong tool for your community type.
Use paid roles when:
- Your community isn't crypto-native and members don't hold tokens
- You want recurring revenue (subscriptions) tied to Discord access
- You're building a creator community, coaching server, or gaming guild
- You want to accept card payments from non-crypto users
Use token gating when:
- Your community is built around a specific NFT collection or crypto project
- Access should track real-time holdings — if they sell, they lose access automatically
- You want trustless, on-chain verification without manual payment collection
- You're building a DAO where governance token holders get access to discussion channels
Use both when:
- You have a multi-tier community where free users pay to join, but top-tier VIP access is for token holders
- You want to reward long-term holders differently from regular paying members
This is the exact setup many crypto communities use with XOE: card or crypto payments for general membership tiers, token gating for exclusive holder-only areas.
Why Automatic Revocation Matters
Here's a scenario that repeats constantly in NFT communities without proper token gating:
A holder buys into your collection during a bull market and gets server access. Markets turn, they sell their entire position, and move on. Six months later, they still have server access — because no one checked. They now have access to holder-only alpha, community calls, and private channels they haven't earned.
This isn't hypothetical. In communities without automated token gating, ex-holder infiltration is the norm, not the exception.
With XOE's token gating, the moment they transfer the last NFT out of their wallet, the role is revoked. No manual checking. No awkward "please leave the channel" conversations. Clean, automated, and fair.
Token Gating vs Traditional Access
| Feature | Token Gating | Traditional Paid Roles |
|---|---|---|
| Proof of ownership | ✅ On-chain verification | ❌ Manual or payment-based |
| Revocation | ✅ Automatic if tokens sold | ❌ Requires manual removal |
| Verification | ✅ Cannot be faked | ⚠️ Can be spoofed |
| Crypto-native | ✅ Built for Web3 | ❌ Web2 approach |
Which Discord Bots Support Token Gating?
XOE is the only Discord payment bot with built-in token gating.
Other payment bots like Subscord, PayBot, and Whop don't offer this feature. You'd need separate tools or custom development.
Get Started with Token Gating
Token gating is available on XOE Premium. Set up your first token gate in minutes:
- Add XOE to your Discord server
- Upgrade to Premium
- Connect your wallet
- Configure your token gate
Get started with XOE — token gating included in Premium.
Frequently Asked Questions
Q: What is Discord token gating?
Discord token gating grants server roles based on cryptocurrency or NFT holdings verified on-chain. Members connect their wallet, sign a message to prove ownership, and the bot automatically assigns roles based on their token balance.
Q: How do I set up NFT roles on Discord?
Use a token gating bot like XOE. In the XOE dashboard, add your NFT's contract address, set a minimum holding requirement (e.g., 1 NFT), and select which Discord role to assign. Members verify their wallet through a button in Discord.
Q: What happens to Discord roles when someone sells their NFT?
With XOE's token gating, roles are automatically removed when the bot's periodic re-verification detects the member no longer holds the required tokens.
Q: Is connecting a wallet to Discord safe?
Yes, when using a legitimate bot like XOE. Wallet verification only requires a message signature — a gas-free, zero-cost action that proves wallet ownership without approving any transactions or sharing private keys.
Q: Can I gate different Discord channels for different NFT traits?
You can configure separate gates for different holding thresholds (1 NFT vs 5 NFTs vs specific token IDs). Contact XOE support for trait-specific gating on your collection.