# Black Scroll :: Token Gating Channels
## Overview
Mystical gateways that govern access to the most sacred channels. Here, guardians of the realm wield powerful tokens as keys, granting passage to those deemed worthy. Each token imbues unique properties and empower moderators to curate their communities.
Warpcast channel access is managed by moderators:
- Owners can invite members and promote them to moderators
- Moderators can invite other members
The following tools provide some automation around the invite flows by making a bot your channel moderator so it can check token balances before inviting members.
## A note on DAO tokens
While the tools included here include variousl criteria for the invite automation, this guide outlines how to set them up using erc-20 moloch DAO tokens.
Moloch DAOs are a two token system and either can be used for gating a channel
- Voting tokens (shares) provide voting rights on DAO proposals and a proportional ownership stake in the DAO's treasury.
- Non voting tokens (loot) provide a proportional ownership stake in the DAO's treasury but do not offer voting rights.
Learn more about Moloch DAO tokens in the DAOhaus docs
- [User guides](https://guide.daohaus.club/)
- [Developers docs](https://docs.daohaus.club/contracts/membership)
DAO token addresses can be found in the DAOhaus admin app [settings page](https://admin.daohaus.fun/#/molochv3/0xa/0x2a244bb4ccd4eb0897cf61e0c61963e1e1d161e3/settings)

## Recommended Implementation
- Set up and pin a [ModBot frame](#ModBot) to your channel for users to request invites and learn about the token needed to join
- Set up [Cura Auto Invites](#Cura) to run in the background and send invites to potential members without them needing to find your channel first
## ModBot
[Website](https://modbot.sh/)
ModBot provides a customizable frame that can be cast in your channel where potential members can view membership criteria and try to join the channel. When a potantial member requests to 'Join Now' the ModBot server will check the user token balance and send an invite to them if they qualify.

### Setting up the 'Join' frame
1. Connect to the app with the wallet that owns the channel. Select the channel you want to token gate and start a 'Custom' configuration.
2. Add ModBot as a moderator of the channel
- A prompt in the ModBot dashboad will initiate the invite
3. Set up membership rules
- Select the chain the dao token is deployed to
- Paste in the token address
- Set a desired miniumum balance
4. Set up the invite frame
- You can set a background color to match your channel branding
- Copy the cast link and cast the frame
- Pin it to the channel for easy access
[MORE SCREENSHOTS THAT MIGHT BE HELPFUL FOR DOCS](https://hackmd.io/T6dglPGoRVuFitgVwA3ylg)
## Cura
[Cura Website](https://cura.openrank.com/)
[Docs](https://cura-docs.openrank.com/)
Cura is another option withn some more advanced moderation tooling. While provides a frame that can be used by potential members to request membership in the channel and a moderator dashboard to manage these requests, this guide will focus on the Auto Invite feature that works to discover users matching your channel criateria and invite them to the channel without them needing to fid your channel and the invite frame.

### Setting up Auto Invites
Here is the guide Cura provides for setting up [Auto Invites](https://cura-docs.openrank.com/automatic-membership-criteria)
1. Sign into Cura with yor Farcaster Account that owns the channel
2. Add @curabot as a moderator to your channel
- A prompt in the ModBot dashboad will initiate the invite
4. Set up the auto invite criteria
- Select the chain the dao token is deployed to
- Paste in the token address
- Set a desired miniumum balance
4. You can monitor invites on the dashboard
- The bot seems to run on a schedule every few minutes looking for users that match your criteria
[MORE SCREENSHOTS THAT MIGHT BE HELPFUL FOR DOCS](https://hackmd.io/ZDikaNc-Rv2IxBS2ifEyFA)