/r/TheLightningNetwork

Photograph via snooOG

Welcome Bitcoiners! Discuss and learn about the Lightning Network for Bitcoin! Check out the sidebar resources. Origin of Liquidity Triangles and the Reddit Megahub.

The Lightning Network is a proposed solution to allow Bitcoin to scale. It enables off-chain payments, greatly increasing network capacity as well as reducing fees substantially. /r/TheLightningNetwork is a space to discuss anything and everything related to LN!

/r/TheLightningNetwork

9,012 Subscribers

4

Is boltz.exchange reliable for swapping LN>on chain over 0.05 bitcoin? and is there a wallet with the same function

I want to send bitcoin on LN and recieve it on chain. boltz.exchange seems good but are they trustworthy and reliable for larger amounts? Alternatively, is there a wallet supporting both ln and on chain that can serve the same function?

2 Comments
2024/11/16
08:40 UTC

0

I’m confused about using the lightning exchange

Hi anyone I’m in the USA I have a Coinbase wallet what’s confusing me is that when I go to pay the Vendor I get 3 options the Amount I need to pay a Payment request field and a Peer field. I’ll be damed if I know I’m looking at. I looked at some videos but I’m still confused as fuck.

6 Comments
2024/10/27
18:39 UTC

7

Node suddenly stopped synching

Hello,

I have been running my node since 2020, and it has suddenly stopped synching. I am using LunaNode's one-click deployment. It stopped working at block 865,866 on Oct 16th. At that time I notice there is a huge spike in CPU usage on my server. I upgraded from the m.2 to the m.4 plan for more CPU, but it is still not synching. Also, the CPU usage is around 80% again after the upgrade. Any idea what is going on? I am really lost.

5 Comments
2024/10/23
16:14 UTC

1

Is there a way to get past the country don't allow on the Satoshi app

3 Comments
2024/10/01
07:41 UTC

3

How do I retrieve the remaining on-chain 25000 sats from my LND?

My apologies of this is the wrong Group.

How do I retrieve the remaining on-chain 25000 sats from my LND?

https://preview.redd.it/91snf5gcwpqd1.png?width=772&format=png&auto=webp&s=9ec01e9cd7ea491bb1c10190f2e9d951418d4851

If I try to send it all to my BTC address it errors with ...

https://preview.redd.it/6tzg2eqnwpqd1.png?width=563&format=png&auto=webp&s=882716dd0719a8245c5c697309ea57396f12a046

3 Comments
2024/09/24
08:29 UTC

3

September: a historically tough month for crypto

September has consistently been a tough month for cryptocurrencies:

Bitcoin
2019: Dropped from $9,700 to $8,300, rebounded to $9,200 in October.
2020: Fell from $11,600 to $10,700, surged to $13,800 in October.
2021: Slid from $47,000 to $43,800, bounced to $61,000 in October.
2022: Stayed around $20,000, slightly up to $20,600 in October.
2023: Modest gains from $25,800 to $27,000 in October.

Ethereum
2019: Dropped from $170 to $160, modest recovery to $180 in October.
2020: Fell from $440 to $320, rebounded to $390 in October.
2021: Slid from $3,200 to $3,000.
2022: Dropped from $1,600 to $1,300.
2023: Held steady around $1,600.

But October often brings a rebound! Will September 2024 follow the same pattern?

2 Comments
2024/09/02
12:40 UTC

8

Smart contracts and Web 3 apps

Hi.

Could you please point me tutorials where I could learn how to develop smart contracts and DApps that run in the Lightning Network?

I've "googled" it but all I get are related to Ethereum and Solana...

Thanks.

4 Comments
2024/07/24
11:04 UTC

3

Penalty channel closing in high fee environment

Can someone comment or link me to some resource.. Penalty channel closing transaction published but transaction fees at that time (let's say) are ~2000 sats/byte or basically too high for tx to be mined in the required time? What is it 500 blocks? What happens?

1 Comment
2024/07/05
17:47 UTC

5

Lightning Invoice Decoder Tool now on amboss.space!

⚡We've added a Lightning invoice decoder to Amboss Space!

Invoice decoders deliver insights about payment requests that can come in the form of an invoice, an LNURL, or a Lightning Address.

To demonstrate the insights you can derive, we've prepared a thread of wallet invoices! https://m.primal.net/IflK.png

Starting simple, here an invoice from BitcoinJungleCR, a custodial lightning wallet: https://amboss.space/lightning-decoder?request=lnbc26530n1pnxr0krpp5fzk3u3h46zwu2h9c020kkagaez33fhfgwtk4e0hkdvtg56pk6tvsdqqcqzpuxqyz5vqsp5gtp6m6xc8663lth4a07mrf434u0ryzusdzhafc44ukl6ahyw6w0q9qyyssq0dzfdugg4d9sykwmk3t4vcecwqwxtd5qr2zaj4dnldmm52rsvaq93ecddzdxlpzsqt06qexnruerznzh22u50v79ajtun8c75k9gkyqpxx7wna

Similar setups include: zbd, walletofsatoshi , and Strike

This is a BOLT11 invoice where it pays to a single node destination. Routing Node Operators will use the Payee Pubkey information to discover new nodes to connect to so that the network can have a variety of routes to pay BTC Jungle CR reliably.

https://amboss.space/node/03797da684da0b6de8a813f9d7ebb0412c5d7504619b3fa5255861b991a7f86960

Next up in complexity, a BOLT11 invoice from Breez, a self-custodial lightning wallet: https://amboss.space/lightning-decoder?request=lnbc140270n1pnxr0sppp5rzurtshg5e6dk9zgewt3p3jm8t33t9vspq55u6huu2yxvew6v76qdrgyp7q5nmjv9hxwefq2dhxz6m9yp7zqcnjv4jh5w309ac8ymmxd9kx2hmfd4skweflv9hxjmtpds74xmnpddjjvcm0d3hhy020wfskuem9cqzzsxqrrssrzjqvgptfurj3528snx6e3dtwepafxw5fpzdymw9pj20jj09sunnqmwpapyqqqqqqz3rsqqqqlgqqqqqqgq9qsp5ck43qflj7v764wzwmu68nw4u8a7nc2sxh3jg25u5x43epza4fzyq9qyyssq0t9pjqz9fkyk0cgfp7salwgs42urzvkdnk8cscucmxm3xeuuw8ypu6ypwdn5adcq73wuq8y820aevtgnledpfclytq7jnfxr6p8tjgspcpvw3x

If you check the Payee Pubkey of the Breez invoice, you'll reach a page that says "Unable to find this node". This isn't a error; this reveals that @Breez_Tech is using "private" node destinations.

To help the lightning payment reach the destination, it will require Route Hints! https://m.primal.net/IflV.png

In the Routing Info is a Pubkey, revealing a well-connected 28 BTC capacity node that will convey the payment to the "private" node destination. https://amboss.space/node/031015a7839468a3c266d662d5bb21ea4cea24226936e2864a7ca4f2c3939836e0?section=General Services with similar setups include: MuunWallet (uses a swap service), ElectrumWallet (yes they do lightning!)

"Private node" here only means unannounced to the network (like not listed in the phone book), not a guarantee of privacy.

There are many reasons to use private nodes in practice and most of them are operational: load balancing, payment reliability, failover protection, etc.

Even more complex, we have @CashApp invoices, which include 2 separate paths to reach a private node destination. https://amboss.space/lightning-decoder?request=lnbc1pnxrdk6dqdgdshx6pqg9c8qpp59d8cvaf5209myfkn9wk67ywa5exyt230gjpkjs7dh0yxzczaqk4ssp5e8e6wehwurw4zdfs6lkj5s9my702vpxjs26zfyv3vmrw00x64k0q9qrsgqcqpcxqy8ayqrzjqv06k0m23t593pngl0jt7n9wznp64fqngvctz7vts8nq4tukvtljqz3rvvqq88sqqsqqqqqqqqqqqqqq9grzjqtsjy9p55gdceevp36fvdmrkxqvzfhy8ak2tgc5zgtjtra9xlaz97pmylyqqt0gqquqqqqqqqqqqqqqq9gwmef3kht3jvnnft2yqagtdr6qsp0mw00mcs334wmjakjxf7m0suy3dm0cjcr9vd03c500225tf4suxu9ufrsqrl2p3k748ctvlygm3cpcr888n

Instead of only one potential path to pay, there are now two which can be attempted. This allows one of the public nodes to undergo maintenance while the other remains online to ensure higher payment reliability.

Makes sense when you have 50 million potential users!

Okay now it gets crazy complex: Fedi Bravo includes not only two separate routing paths, but there are multiple hops in the second path! https://amboss.space/lightning-decoder?request=lnbc14020n1pnxr074dqqpp5xzdnu633p42vkzff63smmvwnq6sceaulhv7dzsjznwagnapa56xqsp57g7ryur6wu5nm8jujm0cud8mtuhl7xapzrvlz0dqk5p9ct6ultgq9qrsgqcqpjnp4qv0q27a396eh8yxewxpmnydkwghn4rj4f79n3305e9hats65u4ctjxqyz5vqrzjqtcv0de3efq29pwhcy42r3w8cl92gkvd84knfyzvxu2v6r28s5nyqqqqqqqqqqqqpvqqqqqqqqqqqqqqrcr9yqdjfz0gc5xwxwxandhgy66k4hc873u5fgv2vx65ak0crct2pfyr7zrxmuuqq2ccqqyqqqqlgqqqqqqgq2qp0p3ahx89ypg596lqj4gw9clru4fze357k6dysfsm3fngdg7zjvsqqqqqqqqqqqq9sqqqqqqqqqqqqqq0qg3ttsncut24rz2a3ztnzh739rqad26d2gta7p4frktpynac6c3rpdz3kfexv44jqd3tqjkuwyqp97laun39nf2p0vp7hf5afdnaerxqpt97cd0

Look how long the invoice string is! That is a lot of data to pack into an invoice, which can also make the invoices more difficult to scan as QR codes or be unable to fit into a tweet.

Setups like this one are fascinating, but each decision is a tradeoff.

In the 2-hop path, the first stop is LQWDTech followed by "Henwen 🐷", which was also used in the 1-hop path.

This must make Henwen one of the "Gateways" into the ecash Federation. https://amboss.space/node/0364913d18a19c671bb36dd04d6ad5be0fe8f2894314c36a9db3f03c2d414907e1 https://amboss.space/node/02f0c7b731ca40a285d7c12aa1c5c7c7caa4598d3d6d34904c3714cd0d47852640

Mind blower time. Let's talk about Aqua invoices. https://amboss.space/lightning-decoder?request=lnbc10u1pnx8q58sp5cvup8kkedrjfam0yqvhtydml82fg9tmpep8nxcqhm0s8jvppac9spp52zywkv3exryqemtuphutpfrmh6qz09epvln74y0mjn3sg3fzyqrqdpz2djkuepqw3hjqnpdgf2yxgrpv3j8yetnwvxqyp2xqcqz95rzjqgjw2dner5zaawm3q3tj30wgu8k56gsg9seprne6hyr7kj4v3gmpxzzxeyqq28qqqqqqqqqqqqqqq9gq2y9qxpqysgqwks76mx5zmy2gyvzlrqdpwqdru3m0rnrdm7nek7xh9398upyhfxsy8txfhm07hmvzdw7sajstv2zt75hjdhhsktyfx6edz4jhtm5cdqpx69erp

Aqua invoices only include a single route hint, but the route hint is to a private node!

The payee pubkey is a public node, Boltz, which swaps between the lightning network and Liquid_BTC.

Boltz is using "magic routing hints" allowing Liquid to Liquid payments within an LN invoice. This invoice isn't actually used to send a lightning payment; it's using an invoice as a communication tool for a Liquid transaction. https://docs.boltz.exchange/v/api/magic-routing-hints

What else would you like to know about invoices? What other insights can you gain from this tool?

4 Comments
2024/06/10
18:34 UTC

7

Looking for simplest solution possible for accepting Lightning donations on an information blog website

Greetings All!

I am currently readying an information-based blog site for which I want to provide the option to accept small Lightning donations something akin to the "Buy me a coffee" option you see on many sites.

I just need something ultra-simple where people can just zip me a few sats if they feel the site has been useful to them and I want to know the cheapest and, more importantly, easiest to implement solution that will actually work.

Firstly, pardon my ignorance if this is a stupid question as I am still quite new to Lightning, but if I just provide a link/QR code to the receive address displayed on my Phoenix wallet on the site, would that work, or would it send a message saying the invoice is already paid if more than one person used it?

I saw another poster talking about OpenNode, but as my site is not an E-commerce site I want to avoid having to set up WooCommerce or the like unless I need to.

Any advice would be greatly appreciated. Thanks

32 Comments
2024/06/09
08:34 UTC

2

Endless wait for swap-in on Phoenix wallet

I need some help from some of you clever lads and lasses on here. Last Friday (5/31) I sent an on-chain payment to fund my Phoenix lightning wallet (I am a beginner with Lightning). I read before that there can be problems with the swap-in to Lightning if the amount is too small, so I sent 2 million sats (which is not an insignificant amount to me at least). As of now, the amount is still shown as incoming with a "sleep" mark. I know the swap-in can fail if the max fee is too low, so this is set to 20,000 sats which I would have thought would be sufficient.

In Phoenix, I see under "Mempool" message like "Fees are currently estimated at around 9,928 sat" but the swap-in never occurs.

The one response I have gotten from Phoenix email support so far was as follows:

Can you go to Settings > Wallet Info > Swap-in wallet ? If the deposit has confirmed, but is not swapped, you should have a "swap-in attempt" message with a failure regarding due to high fees. It will give you the exact fee that was expected by the network.Note that the message in your screenshot is an estimation and can be off.Also, make sure you're running Phoenix v2.2.4 (see Settings > About to know your version).<<

I checked this and there are no "swap-in attempt" messages. I also confirmed I am running v2.2.4.

Can anyone help me figure out what might be going on? Is it possible the estimated fees are off and are constantly above 20,000 sats? I thought if this was the case I would at least have swap-in messages.

I would be really grateful for your help as Phoenix support have stopped answering my emails.

2 Comments
2024/06/05
23:22 UTC

15

Just got my first lightning payment!

I recently integrated opennode on my site to accept lightning payments. I didn't think anyone would actually use it, but I was wrong! Got $1.50 worth of sats already! I've been using Stripe for my other payments and it's crazy how much they take out of each transaction. Most of my sales are micro payments. I end up losing almost 15% with Stripe and with Opennode it's just a flat fee of 1%. Really hoping that I can get more lightning users!

If anyone is using AI regularly (GPT/Claude/Gemini/etc...) and doesn't want to have multiple monthly subscriptions, feel free to try my site. You just pay for the API usage which ends up being super cheap in comparison to a 20 dollar monthly fee. The site is novlisky.io

Thanks!

7 Comments
2024/05/22
15:05 UTC

9

Bitcoin Layer 2 Systems Compared | Tuscany Lightning Conference Panel via PlanBNetwork

5 Comments
2024/04/11
15:46 UTC

8

The State of Lightning Wallets & Bitcoin | Tuscany Lightning Conference Panel via PlanBNetwork

0 Comments
2024/04/09
16:11 UTC

8

Cornelius node will be down for ~24 hours. Channel partners: don't panic.

Having a scheduled 24-hour power outage due to 100mph winds here in Colorado. Cornelius will be back up after that.

Channel partners, thanks for your patience!

0 Comments
2024/04/06
19:33 UTC

12

The Paradox of Bitcoin

For those of us who’ve been stacking bitcoin for some time, we can’t help but wonder if BTC will ever be the true “Money” that we all hoped it would be:

  • Yes there will ONLY be 21 million BTC (now even less with all those “lost” over the years).
  • Yes you don’t need an intermediary to transact.
  • Yes you don’t need to trust nor be trusted; and you don’t need to ask or give permission to send and receive BTC.
  • Yes your BTC will never be censored nor controlled, especially, if it’s in your cold wallet.
  • Yes it cannot be hijacked by a bad operator considering that it’s too decentralized and doing so would require a highly coordinated and expensive proposition that even a state-sponsored actor would find it technically impossible considering the thousands of nodes spread globally that one needs to forcibly take over and control.
  • Yes there’s Lightning Network that now allows peer to peer exchanges one can now earn sats just by playing video games and answering poll surveys while paying for a cup of coffee in a Lightning Network-enabled local cafe.

But when the narrative remains that you HODL BITCOIN and should NOT spend it? What’s the point. Then what? A NEW form of Money (not sats) will arise? One sitting on Bitcoin or based on it’s value that will be the new Medium of Exchange and the Unit of Account? Is this really the end goal? That BITCOIN is the new asset class that will never be debased but, at the same, will just be a Store of Value? PLEASE HELP ME UNDERSTAND.

26 Comments
2024/04/06
06:10 UTC

Back To Top