How to integrate wallet-gating / token-gating on Discourse?

AI-generated summary

The discussion revolves around integrating wallet-gating/token-gating on Discourse, similar to ApeCoin DAO Discourse. etest shared a screenshot of ApeCoin DAO’s wallet-gating flow and inquired about the exact plugin/feature used. The desired integration has the following requirements:

  • Prompts users to connect their wallet before commenting if they haven’t already
  • Detects if a user’s wallet contains at least 1 NFT from a specific collection, restricting posting/commenting if not fulfilled
  • Allows administrators to add more token requirements in the future

discoursejl expressed interest in finding the same solution, while Jolithune agreed that the “Scan with WalletConnect” feature would be beneficial.

Hi Discourse community, would like to know how to integrate wallet-gating on Discourse, similar to what ApeCoin DAO Discourse has: https://forum.apecoin.com/.

Does anyone know which exact plugin / feature ApeCoin DAO Discourse uses? Attached a screenshot re their wallet-gating flow (left: pop-up message when trying to comment, right: page when you click “connect a wallet” hyperlink). Would be great to know how exactly they integrated the “Scan with WalletConnect” feature.

Any info and reference links would be highly appreciated! Thanks all.

Requirements:

  • When a user wants to comment on a post, they’re prompted to connect their wallet if they’ve not already connected it
  • Wallet scanning capability to detect that the user’s wallet contains at least 1 NFT from a specific collection (if this isn’t fulfilled, then the user won’t be able to post/comment on this Discourse)
  • Flexibility for the admin to add more token requirements in the future (e.g. wallet must hold at least 1 NFT from a specific collection, OR hold a certain amount of tokens from another erc721/erc20 collection)

Trying to find the same solution!

Scan with WalletConnect could be a really great feature