Admin Setup

To begin using VeriX in your Telegram community, follow these steps:

  1. Add VeriX Bot to Your Telegram Group

    • Invite the Bot:

      • For Testnet, add @verixstagbot.

      • For Mainnet, add @utxo_global_verix_bot.

    • Promote to Admin: Go to your Telegram group settings, choose the “Administrators” tab, and grant VeriX the ability to remove members who fail verification.

      • Important Note: It may take up to 10 minutes for VeriX’s features to fully activate after promotion.

  2. Supported Gating Types (via /settoken)

  • All on-chain gating - whether native CKB, an xUDT token, or an NFT—uses the same /settoken command. VeriX will automatically detect if the provided type_hash corresponds to an xUDT or an NFT contract.

    • CKB: /settoken ckb

    • xUDT or NFT: /settoken 0xab12…34 (bot introspects on-chain to know if it’s a token or an NFT)

    • Combine with /setamount to set:

      • a minimum balance (for CKB/xUDT), or

      • a minimum count (for NFTs).

  1. Configure the Bot via Commands

Unit Note for /setamount

• whole-coin units for CKB (1 CKB = 100,000,000 shannon) • token decimals for xUDT • simple count for NFTs

  1. How to Find a Token’s type_hash

  • Open the Appropriate Explorer

    • Mainnet: https://explorer.nervos.org/

    • Testnet: https://testnet.explorer.nervos.org/

  • Navigate to the Asset List

    • In the top menu, click CoinsxUDT for tokens, or NFT Collections for NFTs.

  • Search for Your Asset

    • Type the token/NFT name or paste its contract address into the search bar.

  • Copy the Type Hash

    • On the asset’s detail page, the URL contains the type_hash.

      • Example – xUDT (Mainnet)

      • Example – NFT Collection (Testnet)

  1. Best Practices

  • Verify Admin Permissions: Ensure VeriX retains Ban Users rights.

  • Start Small: Test in a staging group before going live.

  • Monitor Logs: Run /groupconfig after any change.

  • Combine Checks: For both age and token gating, set both /setage , /settoken , and /setamount appropriately.

Last updated