Connecting Bluewallet to a RTL setup.

Hi all.

I'm quite knowledgeable about Bitcoin, but new to Lightning.

  • I have setup LND & RTL (Ride the Lightning) on my server.
  • Created an LN wallet on Bluewallet on my phone with the default lndhub.herokuapp.com server.
  • I refilled Bluewallet with External wallet successfully.

I am trying to do a test transaction with my RTL wallet but can't understand how...

I created an invoice to my server but when trying to pay from Bluewallet, I get API error: Payment failed. Does the received have enough inbound capacity? (code 10)

From what I understand, I must create a channel on RTL and fund it.

Ok, so, RTL requires me to add a peer (pubkey) before creating a channel.

Question time:

  1. Where can I find my pubkey(@ip:port) in Bluewallet? (required to add a peer in RTL)
  2. With Bitcoin, you create an address (just a random string), and you have the unique key to open it. People can immediately send you coins. And "the coins" reside in the immutable, public blockchain. Where are my "LN sats" stored?
    1. If stored on the server (channel?) used, what happens if it goes offline? I always thought they would be thrown back the wallet that funded it.
  3. How can I withdraw my sats to an on-chain address?
    1. Must that be the same address that funded the LN channel, or can it be a different one?

Posted Jun 3, 2020, 5:46 PM UTC · edited

26
[deleted]•

[removed]

1
ncoelho•

You should try mynodebtc.com

Also join blue channel on telegram for faster help.

You need: 1- inbound liquidity. Other nodes to open channels to you 2- to use bluewallet with your node, you need lndhub, a wrapper for lnd.

Start with this. Let’s see how far you can go just with that

1
BitTShirtsOP•

mynodebtc.com seems pretty neat, but it is a whole wrapper for a bunch of things. I don't want all those, I already have them.

2- to use bluewallet with your node, you need lndhub, a wrapper for lnd.

This makes things clearer.

Followup question:

1- inbound liquidity. Other nodes to open channels to you

Who would open a channel with me, when a channel minimum is 1mil sats??

Is it not enough if I open a channel with them? Or is that outbound liquidity and not helpful?

1
ncoelho•

when you open a channel to someone is outbund, when someone opens to you is inbound. To be able to receive you need inbound liquidity.

Some services provide this, like lnbig or bitrefill

1
BitTShirtsOP•

Thanks, will try lnbig!

1
Outaged•

Is Inbig still going?

1