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

Suggestion: be able to link Phoenix with web services like web wallets or browser extensions #10

Closed
bitcoinuser opened this issue Dec 18, 2019 · 1 comment
Labels
feature request New feature or request

Comments

@bitcoinuser
Copy link
Contributor

bitcoinuser commented Dec 18, 2019

Hi,

In these past days I was using a lot the Bottle.li custodial lightning wallet, when I was told that the service will be closed because government regulations (https://bottlepay.helpscoutdocs.com/article/40-official-announcement-on-the-shutdown-of-bottle-pay). So I started to think if will be possible to run a non custodial wallet on my phone and be able to securely link this wallet with a web site or a browser extension, so that I could use these services or extensions without need to manually interact with my phone.

How I think this could work:

1- I open a site like bottle.li and inside the site have an option to add an account (Add Phoenix Wallet).
2- When I click on add Phoenix wallet, will appear a field or qrcode with a unique id.
3- I open Phoenix wallet and scan this qrcode.
4- Phoenix show a message like: Bottle.li wallet wants permission to have access to your Phoenix wallet.
5- User can customize on Phoenix the kind of access, like: Bottle.li only will be able to spend 1000 satoshis per day.
6- Bottle is linked to Phoenix successfully.
7- When the user enter on Bottle page, Bottle will try to synchronize with Phoenix in this way:
7.1. Phoenix app will automatically open without human action on phone using the Google FCM.
Obs. I see it's possible to automatically open an android app when notification is received, as you can see here: https://stackoverflow.com/questions/54922694/is-it-possible-to-automatically-open-an-apps-activity-from-push-notification-in

@dpad85
Copy link
Member

dpad85 commented Dec 19, 2019

Hello, thanks for the suggestion.

The main issue would be that the wallet should most of the time be locked behind a PIN/biometric, so even if your service can start Phoenix remotely, the user would still have to unlock the wallet himself.

There are also security issues with allowing a remote service access your money and spend it without any user input.

So it would require quite a lot of work, and even then I don't think you can avoid manual user input (and I'm not sure it would be a great idea either). Still, a more seamless interaction between the wallet and external services would be very nice!

@dpad85 dpad85 added the feature request New feature or request label Dec 19, 2019
@bitcoinuser bitcoinuser reopened this Jul 1, 2020
dpad85 pushed a commit that referenced this issue Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants