hsjoberg / blixt-wallet

Bitcoin Lightning Wallet with focus on usability and user experience
https://blixtwallet.github.io
MIT License
378 stars 68 forks source link

WebLN support/in-app browser #21

Closed hsjoberg closed 4 years ago

hsjoberg commented 5 years ago

Maybe start with Webview (https://github.com/react-native-community/react-native-webview) then move to GeckoView later on (a react-native component needs to be developed for this that could be its own npm-package).

BlueWallet has an in-app browser implementation here: https://github.com/BlueWallet/BlueWallet/blob/master/screen/lnd/browser.js

Store the domain where the purchase is from to be seen the transaction log.

Postpone if too complex.

sesam commented 4 years ago

Would using Webview also include using https://github.com/joule-labs/webln ?

hsjoberg commented 4 years ago

@sesam Yes and no. As far as I can tell, this includes only the specification written in Typescript to follow when implementing webln.

I.e https://github.com/joule-labs/webln/blob/master/src/provider.ts

hsjoberg commented 4 years ago

Implemented in bc8f01ec3f1fc88ef38d47871271095301477055 though not public yet.

hsjoberg commented 4 years ago

Public in 353ca39 🔥️