-
Notifications
You must be signed in to change notification settings - Fork 53
Description
| return "lightning:\( (txt).uppercased() )" |
I wondered why I couldn't withdraw from some cryptocurrency exchanges, such as Binance, over the lightning network to the Green lightning wallet.
Through trial and error, I discovered that the invoice provided by the Green wallet is in a non-standard format.
According to BOLT11, the lightning invoice just starts with "ln" such as "lnbc" (for mainnet), "lntb" (for testnet), no other prefix like lightning:. Some exchanges and wallets do not support the ‘lightning:’ format.
Additionally, lightning invoices are not case-sensitive and are typically written in lowercase, so converting them to uppercase is unnecessary.
Although I haven't directly checked green_qt and green_android, I searched the source code and couldn't find the same issue. If you're open to changing, I can implement the change and submit a pull request.
Green_qt not supports Lightning wallet yet, Green_android seems to support but I didn't checked.