coracle icon indicating copy to clipboard operation
coracle copied to clipboard

Better bitcoin integration

Open staab opened this issue 10 months ago • 6 comments

Zaps need to be better for V4V people.

  • One click zaps w/splits
  • Bitcoin connect?
  • Imitate Primal and use Strike API?

staab avatar Apr 09 '24 00:04 staab

Any idea why bitcoin connect is not integrated anymore?

stackingsaunter avatar Apr 23 '24 10:04 stackingsaunter

I did it sort of halfway, and it created some confusion/overloading when zapping. It's still in there, just not in settings anymore. If you have webln it'll be used, but as a fallback bitcoin connect will be used. Hopefully I can do a better job the next time around.

staab avatar Apr 23 '24 19:04 staab

Thanks for info @staab! If you use BC only as a fallback, then you don't allow users with webln extensions to connect through NWC for example, which may be for some desirable. If this is something that can be improved on BC side, let us know, also join our NWC builders discord, we have a bitcoin connect channel there.

stackingsaunter avatar Apr 24 '24 09:04 stackingsaunter

Yes, I'm beginning to realize that, so I could get rid of the webln integration entirely and just use BC? That would be an easy change to do. Would it make it easier to implement zap splits? I haven't ever really had time to prioritize zaps, so it's always been a back burner project for me.

staab avatar Apr 24 '24 19:04 staab

@staab it's ok to use Bitcoin Connect on its own as it also allows you to connect to a WebLN browser extension (which will provide the WebLN object).

Zap splits are made simple with WebLN (which is what Bitcoin Connect provides) because users do not need to confirm each payment. You can do simultaneous payments up to a budget provided by the user (NWC / setting a budget in the Alby extension / Lnbits account limit etc).

rolznz avatar Apr 25 '24 04:04 rolznz

Thanks, that's very helpful, I'll look into getting this into a release sooner rather than later.

staab avatar Apr 25 '24 15:04 staab

This will be part of the next release.

staab avatar May 20 '24 21:05 staab