getAlby / bitcoin-connect

Connecting lightning wallets to your webapp has never been easier. Enable WebLN in all browsers with a single button
https://bitcoin-connect.com
MIT License
79 stars 26 forks source link

Stuck loading if NWC connection string is not valid #225

Closed SamSamskies closed 1 month ago

SamSamskies commented 1 month ago

I made an NWC connection string in the same format as the example in the nip-47 docs (it doesn't have forward slashes in it) and bitcoin-connect gets stuck loading. The connection string works in Damus though.

Screenshot 2024-05-11 at 2 45 10 PM Screenshot 2024-05-11 at 2 45 16 PM

rolznz commented 1 month ago

Thanks @SamSamskies for reporting. Fix here: https://github.com/getAlby/js-sdk/pull/220

I'll update this issue when a bitcoin connect patch is out.