getAlby / lightning-browser-extension

The Bitcoin Lightning Browser Extension that brings deep Lightning & Nostr integration to the web. Wallet interface to multiple lightning nodes and key signer for Nostr, Liquid and onchain use.
https://getalby.com/#extension
MIT License
532 stars 193 forks source link

[BUG] Error: No separator character for danidfra@getalby.com #3209

Open alexgleason opened 2 months ago

alexgleason commented 2 months ago

Is there an existing issue for this?

Describe the bug

Not sure what I'm doing wrong here:

image

Traceback:

Error: No separator character for danidfra@getalby.com
    at Object.decode (options.bundle.js?08b19d49a8e384da8814:2:22873)
    at Yd (options.bundle.js?08b19d49a8e384da8814:172:600216)
    at options.bundle.js?08b19d49a8e384da8814:172:653797
    at Object.<anonymous> (options.bundle.js?08b19d49a8e384da8814:172:653967)
    at options.bundle.js?08b19d49a8e384da8814:172:652990
    at Object.next (options.bundle.js?08b19d49a8e384da8814:172:653095)
    at lh (options.bundle.js?08b19d49a8e384da8814:172:650514)
    at a (options.bundle.js?08b19d49a8e384da8814:172:655271)
    at options.bundle.js?08b19d49a8e384da8814:172:655332
    at new Promise (<anonymous>)

Screenshots [optional]

No response

Steps To Reproduce

  1. Try to send a payment to danidfra@getalby.com

Expected behavior

It works

Alby information

Alby 3.9.0

Device information

Additional context

No response

Are you working on this?

None

alexgleason commented 2 months ago

"no separator character" makes me think it's trying to parse as bech32 and not falling back to lightning address.

patrickReiis commented 2 months ago

Happens with me as well.

bumi commented 2 months ago

the error you see in the logs is an error when it checks if it's a plain LNURL it is caught and logged.

The issue with that ln address is that the user does not have incoming liquidity, yet. We are currently in the process of releasing our self-sovereign wallet, and this user still needs to finish the setup. The error message needs to be improved, thanks for raising this!

alexgleason commented 2 months ago

What does he need to do to finish setup? @danidfra

Danidfra commented 2 months ago
image

I tried to create a new account, to see if would work, but it didn't. I can't generate invoices and can't receive satoshis through my lightning address.

Here's my lightning address: danidfra@getalby.com

Danidfra commented 2 months ago

@bumi any ideas?

jpl-btc commented 2 months ago

@bumi any ideas?

Hey @Danidfra ! You have to link your Alby Account to a wallet. You can either connect your Alby Account to a wallet that supports NWC Or you can connect it to a Node, umbrel, or start9 or MyNode Or you can connect it to an Alby Hub self-custodial wallet.

I'd be happy to assist you on setting up an Alby Hub if you need to, feel free to join our discord server for that!πŸ˜ƒ πŸ‡¦πŸ‡·β­β­β­

alexgleason commented 2 months ago

Is the method of "getting an Alby account and not having to think about it" going away? It used to just give you a wallet.

jpl-btc commented 2 months ago

Hey there @alexgleason !

Thanks so much for your interest! Custodial technology is great for just providing a wallet, but it can pose issues when scaling. New technologies are enabling Alby and other Bitcoin companies to develop self-custodial wallets. These wallets give more power and sovereignty back to users, which is both nice and much needed. However, as you mentioned, self-custody still needs improvement in terms of ease of use.

You're more than welcome to try it out! Join our Discord, or even schedule a group onboarding for the Alby Hub. We can continue our chat on Discord. See you there, and thanks for your feedback! πŸ˜ŠπŸ™Œ

bumi commented 2 months ago

Is the method of "getting an Alby account and not having to think about it" going away? It used to just give you a wallet.

going forward you will still just get a wallet and you will still not need to think about it and you will own it. but yes, it will slightly a bit more todo during the setup.

I'll share a demo video that you can see it.