Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Implement support for sending push notifications #1544

Open
RequestPrivacy opened this issue Nov 24, 2024 · 0 comments
Open

Comments

@RequestPrivacy
Copy link
Contributor

RequestPrivacy commented Nov 24, 2024

It would be really interesting to allow Sparrow to send push notifications for certain events (Transaction seen in mempool, transaction included in a block, new block etc.).

After the US government decided to infringe on the privacy of people by prosecuting developers which champion digital freedoms and seizing their infrastructure, Sparrow server has become somewhat obsolete. The above use case would allow a revival by acting as the client who pushes such events.

Sparrow Server could then act as a personal watch tower, for example detecting if a transaction appears in the mempool that has utxos of one of its wallets in it - which could mean that said wallet has been compromised (e.g. in the case of a watch only one). The notification would get pushed to your desktop or mobile client and you could check and possibly react in time. This would prevent a periodic check of your wallets for peace of mind.

The implementation I'm thinking of is ntfy. There is also a java library.

Sparrow Server would 'only' need the logic to specify when to push, the push notification content and a settings page where one could input the ntfy server, the authentication if so requried and the topic to which to send the http PUT/POST requests. There's even an existing mobile app, see all infos on the ntfy page.

Self-hosting a ntfy server is pretty easy. For those not able or not willing to, the notifications pushed to an 3th party server (e.g. ntfy.sh) could contain a more general, privacy preserving description ("Transaction detected in mempool").

ntfy servers could be exposed as hidden services and connections could be served over tor only to further increase privacy for non selfhosting users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant