This generates the communityId people will use to join. Share the resulting ID as your community's "link".
For ERC20 tokens, this is entered in whole tokens — the app reads the token's decimals and converts it correctly. For NFTs, this is a raw count (e.g. 1 = must own at least one).
After registering, add the matching entry to community-links.json in your
deployment with the same communityId and the real invite link, then redeploy.
That file is what the backend checks before releasing the link — the token
requirement lives on-chain, the actual invite link does not.