LN-Zap / zap-android

Zap Wallet - Native android lightning wallet for node operators focused on user experience and ease of use ⚡️
MIT License
165 stars 49 forks source link

Idea: be able to link Zap with web wallets #157

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 Zap. 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 Zap Wallet). 2- When I click on add Zap wallet, will appear a field or qrcode with a unique id. 3- I open Zap wallet and scan this qrcode. 4- Zap show a message like: Bottle.li wallet wants permission to have access to your Zap wallet. 5- User can customize on Zap the kind of access, like: Bottle.li only will be able to spend 1000 satoshis per day. 6- Bottle is linked to Zap successfully. 7- When the user enter on Bottle page, Bottle will try to synchronize with Zap in this way: 7.1. Zap 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

Of couse this depends on ZAP implementing LND and not only be able to connect to a node as it's how it works now.

michaelWuensch commented 4 years ago

Thanks for you input. We are already working hard on local LND for Zap Android. When that is done, we can have a closer look at this.

enorrmann commented 4 years ago

I'm working on something similar, see reference