How to create your first Token-Granted Role (TGR) in the Collab.Land Command Center.
Head to the Command Center, a new Collab.Land web portal located at https://cc.collab.land. You log in with your Discord account. Only those with authority to create and manage TGRs will have access.
Select the server you want to create a TGR for from the list on the left
Click on TGRs from the administration panel on the left(selected by default). Here you will see any TGRs you have previously configured with Collab.Land as well as make a new one. To create a new TGR click on the + Select role button.
Select a discord role which members will get if they hold the token which is defined in the next step.
Click Apply and then click on the role and then click "+ Add new" to add or edit the configuration, and add your token details.
Description: Optional description of your TGR, this is only displayed in the command center and can be used for your reference.
Chain type: Select the chain that your token is on from a dropdown list. The available options are Mainnet (Ethereum), Rinkeby, Polygon, BSC, xDai, Arbitrum, Avalanche, Optimism, Palm, Solana, Eluvio, Flow, Kusama, Nifty, Polkadot, and Tezos
Token type: Select the token type of your token from the dropdown list.
Note: When using the ERC-1155 token type, you must enter the token IDs for all tokens in your collection in the token ID section. Token IDs should be separated by one comma, and no space.
Address: Input the contract address of your token
Balance: Input the minimum amount, and Maximum (optional) amount of tokens that are required to get the role.
- Attributes (optional): For NFT token types such as ERC-721, you can add specific metadata conditions which must be met for the member to get the role. If your NFT contains metadata traits and values you can enter them by clicking on the Attributes button, and clicking on + Add metadata.
Note: You can find the metadata traits and attributes for your token by looking at the properties tab of the token on OpenSea.
Note: Communities can now enforce creator royalties using Collab.Land’s Revenue Detection Rule (RDR) as part of their token gating process.
g. Once you have finished adding your metadata, click the Add Traits button
Important: Once you have added all of your token details, click the Save button and your TGR has been created!