BlueWallet / LndHub

Wrapper for Lightning Network Daemon. It provides separate accounts for end-users
http://LndHub.io
MIT License
747 stars 181 forks source link

How to pay invoice to a BlueWallet wallet? #440

Closed basharov closed 2 years ago

basharov commented 2 years ago

I have some wallets in BlueWallet desktop app. The app is connected to lndhub.io.

Here are steps I do:

  1. Create an invoice for some amount, say, 2000 sat.
  2. Click on "Additional information" under the invoice QR code.
  3. Copy the line under "Open direct channel with this node"
  4. Use the value from step 3 to connect with lncli from another machine - lncli connect xxxx@165.227.103.83:9735.
  5. The connection is established as I can see the pubkey in the list when running lncli listpeers.
  6. When I try to open channel using the pubkey lncli openchannel <pubkey> --local_amt=20000, I see this error:

    [lncli] rpc error: code = Unknown desc = received funding error from : chan_id=a9e5b0f5eb456a52aa8f526aa33e8997f87cf4f03587a600efe56d9134cb81bb, err=chan size of 0.0002 BTC is below min chan size of 0.1 BTC.

Which makes me think that the minimum channel size configured on lndhub.io is 0.1 BTC? Can I change it if I run my own LNDHub instance? Or does this error mean something different and how to fix it?

Thanks!

Overtorment commented 2 years ago

its a setting for LND, a minimum channel size to accept.

if you run your own lndhub+lnd then you can change it, yes. but to open a channel with lndhub.io you need at least 0.1 btc channel