bitlum.io + WebLN

Andrey Samokhvalov
bitlum.io
Published in
2 min readApr 4, 2019

Install wallet and try WebLN integration out with Lightning Spin. But be aware, wallet is in beta.

Example of using WebLN on tippin.me service.

WebLN is a library and set of specifications for lightning apps, developed by Will O’Beirne, which provides a programmatic, permissioned interface for letting applications ask users to send payments, generate invoices to receive payments, and much more.

For bitlum.io users

It means that now you’re able to withdraw funds from lightning applications (which supports WebLN) with less friction: you don’t need to generate and copy-paste lightning invoices, but instead you should be able to click on “withdraw” button and receive funds directly into Bitlum.

While only 30% of Lightning users find withdrawal process inconvenient, we believe that percentage will significantly increase with more newcomers in the space.

For Lightning apps developers

It means that now you can make life of your users much easier. Also as an application developer it’s likely you aren’t that interested in keeping user’s funds. WebLN allows faster withdrawals and future work on it in bitlum.io may include support of identity, which will simplify logging into your application (satoshis.games is good example of such a simplified login).

WebLN identity

We have received a couple of requests to support Lightning identity over WebLN, in short, it allows login on WebLN supported services basically with one click. While this is appealing and improves UX for end-user greatly, it might require us running a slightly changed version of lnd, which is hard to maintain. So for now we are not planning to add it.

Caution for users

While working on WebLN support we have noticed unexpected UX in services which support it, especially in fault scenarios: (a) some services do not allow to use WebLN more than one time, and you need to refresh page, (b) some of them subtract your balance, even if withdrawal payment has failed, (c) some services do not fully follow WebLN and do not send such important information as “max withdrawal amount”, which greatly improves UX for wallet developers. That said — play, but be cautious, literally everything in Lightning is in beta stage.

Join our Telegram group and give us feedback!

Useful links

--

--