Token Gating

This guide will show you how to set up HeyMint's Discord bot to grant the token holder role automatically.

Our Discord bot verifies token ownership to easily grant a token holder role to your Discord community members.

Here's what you'll need:

  • A Discord server with your desired role structure (the HeyMint bot's role must be above the selected role in the Discord role hierarchy. Otherwise, the bot will be unable to assign the role. )

Steps

Step 1: Discord Token Gating

a. In your HeyMint allowlist, navigate to the Discord tab.

b. Click on Token Gating and then Start Here.

c. Choose your preferred login method (Google or Discord).

Step 2: Connect & Authorize HeyMint Bot in Discord

(This step will involve granting permissions to the HeyMint bot within your server.)

Step 3: Configure Token Gated Role

a. Select the Discord server where you want to apply token gating.

b. Choose the onboarding channel (where users will connect wallets to verify ownership) and then click on "Post onboarding message".

c. Go to the Role Verification section, select which ecosystem your community is in (Ordinals, BRC-20, EVM NFT for EVM chains like ETH, Polygon, Base etc, or RUNE), and then configure your role verification settings.

Please be sure that the bot's role is above the selected role in the Discord role hierarchy.

Otherwise, the bot will be unable to assign the role.

Step 4: Spread the Word

Let your collectors know they can automatically receive the holder role you set (you can set any name for the role in the settings above) by connecting their wallets to the bot in your Discord server.

Step 5: Refresh roles

After connecting the wallet holding the token, users can click on the "Refresh roles" button for their role/s to be added.

Last updated