aftermath2 / btry

Accountless lottery powered by the Bitcoin Lightning Network
GNU Affero General Public License v3.0
3 stars 1 forks source link

Replace Telegram with open source and privacy-friendly services #23

Open aftermath2 opened 9 months ago

aftermath2 commented 9 months ago

Description

Telegram is closed-source and requires a telephone number to use, there are much better alternatives that could provide the same functionality while preserving the users' privacy like Nostr or SimpleX.

This issue aims to include these platforms to receive winning notifications.

aftermath2 commented 4 months ago

Now that it's possible to withdraw prizes automatically (https://github.com/aftermath2/btry/issues/11) it may be worth removing the telegram notifications altogether since the payment already includes a message.

The thing is, if the payment fails, we should find a way of contacting the user, perhaps trying to send a 1 sat payment? And what about if on-chain support is added, how do we send the user the withdrawal transaction ID?

Otherwise, it's probably a good idea to block the issue until the NIP 104 is implemented and we can send E2E encrypted messages through nostr.