加密货币打赏系统

Hi discourse!

I have many requests for Crypto tip system.

I also want to reward my users, active users, with some crypto tips.

is this possible?

i can imagine the stuff in my head …but i dont know how to implement it into discourse

  1. setup vps linux server
  2. install crypto wallet daemon like bitcoind, sibcoind, dashd, or any of the currency
  3. add some cryptos to that wallet
  4. connect forum to that wallet via rpc commands
  5. discourse users would have a link that can create user on that wallet that will get them their crypto address
  6. also tip button underneath any users post so that user can tip user

Please consider this, is there a way for it?? :slight_smile:

some pointers
http://cryptocoinjs.com/guide/getting-started/

Thanks

Rux, Crypto.ba

7 个赞

There’s a deprecated example here:

You could try our marketplace to hire a developer to work on this. Something similar has already been proposed:

9 个赞

Hi @CryptoRux

We were also thinking on developing some kind of tipping functionality. However we decided to go a slightly different route.

The problem with the standard tipping bot is that the bot essentially acts as a bank. You transfer money to the bot and then you can tell it to tip other users. The bot would keep internal accounting how much each user has, and when the user requests their earnings, the bot would transfer it to an address controlled by this user.
This method has the following issues:

  1. You need to trust the bot operator. If you are running this operator yourself then the users will have to trust you. If you rely on an external service you will need to trust that the service operates honestly and reliably. History shows that there were many tipping services in the past but for some reason they all died out.

  2. The service operator will need to implement protection against money laundering. Normal Bitcoin or Ethereum transfers are public. But the internal transfers by the tipping bot are not and so can be used to launder money. This means that if the tipping service doesn’t want to have problems with the law, they will have to implement at least some of the security features that the current crypto exchanges have. It will also have to keep the history of those internal transactions. All of this would make the service expensive to run and would degrade the UX.

The standard tipping bots have one very big advantage: it’s possible to do micropayments, since you don’t have to pay the transaction fee that you would have to pay if your transactions were made directly on the Bitcoin or Ethereum network.

The plugin that we are developing will avoid the problems with centralized tipping bots because the users will transfer money by performing transactions directly on the Ethereum network. In this way all transactions will be public and the risk of money laundering is reduced. Unfortunately for every transaction you will have to pay a fee, which is not insignificant. So micropayments (i.e. tipping) will be unreasonably expensive.

There is some development which might allow cheap microtransactions in the future. However as far as I am aware we don’t have a working solution yet, especially for the Ethereum network.

4 个赞

@Tzanko_Matev thank you for this clarification, it makes sense about money laundering.

In my case, i would not have much on that wallet, just some small ammounts that will be used by my forum users to tip each others for helping, etc.

Im thinking about a Verge (XVG) coin, that has less fee for transactions, and would make things easier for tippers.

Also, Tokenpay and SIBcoin have small fee, that would be good also!

Please, if you guys make this tip bot, let us know :slight_smile:

2 个赞

Still nothing here :slight_smile:

Is there anyone who is interested to build this? :slight_smile:

Hi @CryptoRux,

We are working on it. Santiment has contracted a developer who is working on it right now. Here you can see the initial results: https://github.com/santiment/discourse-ethereum This is early alpha version - you can use it at your own risk!

Edit: Just checked the fees you need to pay - they are not too bad. Right now according to https://ethgasstation.info/ one ETH transfer costs about $0.009. But sometimes the network can get congested and the fee can go higher.

6 个赞

Thank you for this @Tzanko_Matev

Thats why i proposed XVG - VERGE

it has small fee, and its like built for things like this!

Please consider XVG also, i can also ask community to contribute if he can import XVG

@Tzanko_Matev please fix plugin, after latest update of discourse there is problem with accepting save when entering eth adress

@david stated this problem is solvable so please do :slight_smile:

https://github.com/Ebsy/discourse-nationalflags/pull/3

4 个赞

@RuxBux thanks for letting me know. Sorry for the delayed reaction, was quite busy. I added the problem as an issue (https://github.com/santiment/discourse-ethereum/issues/6) and will try to get this fixed soon. We also accept PRs :smiley:

2 个赞

Hey, wonder if there is any more action / development on this plugin. Its a great idea… and I assume it would be pretty easy to port to Binance token since BNB is an ETH fork?

In any case, thanks for the work you have done so far.

1 个赞

Anyone who can assist me creating this plugin?

I can help with blockchain side of plugin, but i really cannot write plugin :frowning:

ANYONE? :smiley:

1 个赞

我们更感兴趣的是验证 NFT 头像 :wink: _仅作为_一个可选插件

5 个赞

@codinghorror 您也可以考虑为 Discourse 添加此类功能

1 个赞

不过,正如团队中的一些开发人员所说,他们需要投票并确保不会与 Stripe 付款系统发生任何冲突……

另一方面,我建议了一个打赏系统,用户将拥有一个集成的加密货币钱包,他们可以在其中向其他用户打赏以表示感谢。

有人知道开发这样一个插件需要多少钱吗?

拿到市场上问问吧。

2 个赞

是否值得将 web3.js - Ethereum JavaScript API 库与 discourse 集成?

1 个赞

很棒的想法,我不知道这竟然是可能的!

我知道我的整个社区都会介入并为这个插件做出贡献!

这可能会,但以太坊并非唯一的加密货币,因此最好将其发展到需要 RPC 连接到守护进程以完全支持自定义链的程度。

大家好!:wave:

@CryptoRux @Tzanko_Matev @RuxBux @Mevo @pfaffman @Falco @mautematico

这个问题在这里讨论了好几年了,但尽管过去了这么长时间,仍然没有创建出允许在 Discourse 中发送加密货币小费的插件或其他解决方案。

我决定再次提出这个请求,并标记一些过去曾就此事发表过评论的人,并提出一些想法(可惜我不是开发者,无法实现 :pensive:)。

你们听说过 Nostr 吗?

它是一个最近创建的开放协议,允许以去中心化的方式运行社交网络。它在比特币社区中取得了相对的成功和关注。Jack,Twitter 的创始人,是 Nostr 的忠实粉丝,他一直在那里活跃。

我为什么要提到这个?

嗯,因为他们在 Nostr 上实现了发送 BTC 小费,用户称之为发送“zaps”。他们为此使用了闪电网络(lightning network),这使得实现小费系统成为可能。而且它运行得非常好。

如果您想测试一下,只需在手机上安装 Damus 应用并创建一个帐户,然后链接一个 BTC/LN 钱包即可,这样您就可以发送和接收“zaps”了!我推荐 Damus 应用是因为我认为它的可用性最好,但也有许多其他应用可用,只需谷歌搜索一下即可。

对于以太坊网络,我认为理想的解决方案是使用Polygon的基础设施,这相当于以太坊的 L2 层。许多公司选择 Polygon 来发行代币(稳定币、实用代币等)。此外,Polygon 的交易成本远低于以太坊区块链,这使得进行小额支付(小费)成为可能。

加油伙计们,让我们一起实现这个目标吧!全球成千上万的 Discourse 用户都应该拥有这个功能!是时候了。

感谢您的时间。

1 个赞

这里有一个很棒的东西:

目前还不能用于打赏,但这是可行的。我向 @spirobel 索要了二进制文件的源代码,但没有得到回复,所以我无法尝试,但我希望它能帮到你 :slight_smile:

2 个赞

你在哪里问的? :grinning: 我没看到 :upside_down_face:
这是源代码:

这个视频解释了如何从源代码创建二进制文件。(如果你想自己创建的话)

2 个赞