breez / breezmobile

Lightning Network mobile client
https://breez.technology
GNU General Public License v3.0
578 stars 131 forks source link

Idea: be able to link Breez with web wallets #226

Open bitcoinuser opened 4 years ago

bitcoinuser commented 4 years ago

Hi,

I was thinking that hosted lightning web wallets like bottle.li could have an option to synchronize with non custodial wallets like Breez. 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 Breez Wallet). 2- When I click on add Breez wallet, will appear a field or qrcode with a unique id. 3- I open Breez wallet and scan this qrcode. 4- Breez show a message like: Bottle.li wallet wants permission to have access to your Breez wallet. 5- User can customize on Breez the kind of access, like: Bottle.li only will be able to spend 1000 satoshis per day. 6- Bottle is linked to Breez successfully. 7- When the user enter on Bottle page, Bottle will try to synchronize with Breez in this way: 7.1. Breez 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/37554274/open-app-on-firebase-notification-received-fcm/37626817#37626817

bitcoinuser commented 4 years ago

More info: https://stackoverflow.com/questions/54922694/is-it-possible-to-automatically-open-an-apps-activity-from-push-notification-in