We developed an Unlock protocol plugin for Discourse. It let you lock topics behind a “crypto” paywall.
People have to buy your NFT with their crypto wallet (Mestamask, Wallet connect) to access topics. You can configure it with any ERC20 on Ethereum, xDai, Polygon…Since last week, you can also unlock with credit card payment.
You can test it on the unlock protocol community forum : https://unlock.community, for example this topic is locked : https://unlock.community/t/introducing-the-dao/68 (on xDai).
You could use the same lock to also give access your users to Discord private channels with https://swordybot.com/.
Plugin repo : GitHub - camillebesse/discourse-unlock
Documentation : Unlock Discourse plugin - 🧙♂️ Developers - Unlock
Don’t hesitate if you have any questions.
Interesting, I wonder if there is a financial vehicle that could be engineered in the Ethereum (or other crypto engines) for repeat transactions. Would be kind of cool to offer a subscription service where you opt to pay X every month.
Can we setup unlock for comment? Only comment first or comment second not topic title and content main?
And, can we add charge by dollar via Visa or paypal not Crypto?
It is possible with unlock protcol : Recurring Memberships | Unlock: The Web's new business model
But for the moment it’s not implanted in the plugin. Will add it in the next version.
Not sure to understand that part.
Yes, it’s also possible to pay with credit card : Credit Card Support | Unlock: The Web's new business model
Mean Unlock comment but topic unstill display
Hi Sam! I am Julien, the founder of Unlock Protocol!
Indeed, it is possible like @kam44 said.
The core mechanism is to use the “approval” mechanism that the ERC20 contracts provide.
The core idea is to approve a 3rd party contract, called the “purchaser” whose single job is to purchase memberships on behalf of users when they are either expired (or soon to be expired). So basically a membership can only be “renewed” when it is either nearly expired, or fully expired.
One of the challenges that we’re trying to solve is to find who will trigger the transaction on that purchaser contract. Rigth now, the approach is to make the purchase “pay back” the person triggering the transaction so that this covers the gas fees. I think we can leverage the “flashbots” who have been doing arbitrage to do that!
It is definitely one of the things we’re trying to work on!
Amazing, I find some of the financial vehicles smart contracts have on offer to be fascinating. I think this could be extremely powerful as a way of funding the right community.
In particular we already have Discourse Subscriptions so perhaps a PR to allow for a “Unlock” mode vs “Stripe” may be an interesting path to take.
any news about “unlock comments” ?
This plugin seems interesting
Great Job Man !