That's cool. Would be nice to wrap that in a webln object/an object with a common API.

I always wanted to wrap this into a common API where the user can choose what connection they want with the same common API for the developers.

If you have an extension like Alby it uses window.webln if a user chooses LNC thent it wraps that into the same API, same with some OAuth API for example.

in the app there is no difference then for the basic functionality.

Reply to this note

Please Login to reply.

Discussion

Testing here with LNC & LNDHub https://lndhub.snort-social.pages.dev/