Connect account with Crypto Wallets

Hi All -

I’m in the early stages of building an online community - I’ve used Discourse for a paid membership community in the past and love the product and community.

What would you like done?

#1 I’d like to add the ability for Discourse users to connect to a crypto wallet. MetaMask I’m most familiar with but open to best options.

Additional features I’d like to explore are:

#2 Adding ability for “tipping” using the connected crypto wallet and a specific token in the wallet (our token).

#3 Limiting access to groups + categories based on holding of our token and holding a specific amount of our token.

When do you need it done?

  • No timetable at the moment.

What is your budget, in $ USD that you can offer for this task?

  • You can give price estimates for steps #1, #2, and #3 separately.

At this time I’m mostly trying to get an sense of what’s possible and who may be available in the community to help and also has an interest with Crypto! :slight_smile:

I would love to see discourse expand into Crypto in some way in the future!

Looking forward to any replies.

Cheers,

-Andy Katz

4 Likes

Hi @Andy_Katz1
I can take this up & have sent you a PM regarding the task.

1 Like

This would be interesting to see how it works/plays out! Would you be open sourcing what you create?

cc: @erlend_sh @justin

3 Likes

Hey Andy :slight_smile:

There’s a bit of history on this subject on meta (see e.g.).

Firstly, there’s an existing discourse-ethereum plugin (most likely out of date, but it does exist)

It essentially covers 1 and 2 on your list (well, a slightly different interpretation of ‘2’). It stores ethereum addresses alongside user accounts, uses web3.js to interact with metamask in the client and etherscan to get transaction details.

Secondly, I’ve previously built a Discourse crypto login plugin (also involving metamask) for a client before. That client has since pivoted to other things. Open sourcing that solution is not an option unfortunately (and it’s somewhat provider specific anyway). By-the-by (as it’s not technically on your list) the main hurdle to overcome with login-via-metamask is the ability to have user account without an attached email.

Your next step depends on what you’re trying to achieve here. If you just want to let users connect to a crypto wallet the discourse-ethereum plugin does that. You probably would just need to update some of the code to be compatible with the latest Discourse. That’s relatively easy job that anyone familiar with Discourse can handle do for you.

However, if you’re thinking about creating a more general plugin to connect crypto with Discourse, you’d first want to specify project in some detail with a view to the different applications the plugin could be used for, including login and group/category access, and potentially without a browser extension like metamask.

That kind of investigation would change the design of the plugin, moving more of the ethereum logic to the backend, allowing for more flexibility down the line when you want to add more features.

14 Likes

Verry nice :+1: Thank you.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.