/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

8,417 Subscribers

6

The State of Lightning & Bitcoin | Tuscany Lightning Conference via Plan B Network

0 Comments
2024/04/05
13:43 UTC

5

I built a website to let you pay for AI services with lightning

cryptotalks.ai is my personal project that I built to let people pay for AI services with cryptocurrency. I just added lightning to the supported coins. AI is super powerful, and so it's important that everybody has access to it. Lightning is a great tool for people to pay with low fees and instant settlement, while being totally permissionless, so using it to access AI is a no-brainer. As far as I know, cryptotalks.ai is the only place you can pay for LLM APIs with lightning. We host all the popular models from OpenAI, Anthropic, Google, etc, as well as about 150 open source and uncensored models. Some models are totally free, so try it out!

This is an early prototype aimed at developers and LLM power users. I'm working on developing a chatGPT-like front end for easy use in the browser. Please give me any feedback you have! I hope you guys find this useful.

0 Comments
2024/04/05
03:19 UTC

4

Bitcoin transfer from Kraken to Binance on lighting network. Do I need to worry about liquidity management?

Appreciate the answers.

2 Comments
2024/03/27
11:51 UTC

1

Kraken to Phoenix lightning help!

Hi all, just needing a really basic walk through of how to send Bitcoin from Kraken to Phoenix wallet. Having some difficulties! Tha ms in advance.

2 Comments
2024/03/21
23:20 UTC

10

Do I need to keep Phoenix wallet opened to receive a tx?

I recently used a swap service and they couldn't pay my invoice (Phoenix), they claimed I should have left the wallet opened until the transaction was received, maybe that's the case with other wallets (that run an actual node). Can someone please clarify the UX of Phoenix in this case?

6 Comments
2024/03/20
16:39 UTC

5

Navigating Regulation for Lightning Companies - Reflex Beta Announcement - rpo.dev

I'm so proud of the team at @ambosstech for their tireless work to help lightning companies navigate regulatory purgatory.

After countless interviews, we found that regulation was one of the biggest pain points for lightning companies and startups, but rarely discussed publicly.

Business pain points are very different than the predominant anti-gov bitcoiner views, but are no less important to contribute to a robust and thriving Bitcoin ecosystem. Both regulated and unregulated approaches are essential.

Sign ups for the Reflex beta are now live at https://rpo.dev

Feel free to reach out with any questions.

0 Comments
2024/02/26
22:10 UTC

54

9 years since the LN Whitepaper! Still collecting sh*tcoiner tears.

12 Comments
2024/02/26
18:18 UTC

6

Bitcoind + LND + ElectrumX full node build-out reachability questions.

I'm getting a 16GB (orange) Pi5 to do a full node build out. I've checked my router and it seems to be routing IPv6 as well IPv4. I plan on trying to make the following services reachable:

IPv4 / IPv6 / Tor

  • Small web landing page
  • Bitcoind node (mainnet / testnet)
  • LND node (mainnet / testnet)
  • ElectrumX (or Fulcrum) server (mainnet / testnet)
  • LND Watchtower (for LND channels)
  • Electrum Watchtower (for Electrum-LN channels)

I2P / CJDNS

  • Small web landing page
  • Bitcoind node (mainnet / testnet)

So I do have port forwarding enabled so I can people can punch through my router in IPv4. Not sure if my old router will forward IPv6. But I don't have a static IP so I'll be using a dynamic DNS service to update my DNS records whenever my router cycles. This usually only causes a few minutes interruption for my webserver, but wasn't sure about the other services.

I'm pretty sure that Tor, I2P and CJDNS are all resilient to transient IPs. My questions are as follows:

  1. Can LND be configured to use my FQDN instead of my IP for "gossip" and node availability advertising?
  2. Since my LN node uses one node-id for IPv4, IPv6, and Tor, will my channel partners try these others networks if my FQDN works, but IPv4 address changes?
  3. Is there a config switch (externalip) that I could set to FQDN instead of IP address that would be honored by my partner channels and partner bitcoind nodes?
  4. Do watchtowers need to be told to watch mainnet -vs- testnet? I saw no switch for that in Electrum or LND.
  5. When ISPs issue a new lease, do they usually keep the same IPv6 address, or do both generally change when the DHCP lease expires?
  6. If my router sucks, which are some recommendations for CJDNS capabilities as well as the capability to port-forward through IPv6 instead of just IPv4?
  7. Will transient IPv4 leases cause headaches on my Watchtowers as well?
  8. Will all these products run on an arm64?
3 Comments
2024/02/17
04:49 UTC

6

Which lightning wallet can I give to a complete newbie and send him $30 worth of sats without having to explain to him about "inbound liquidity"

16 Comments
2024/02/11
19:20 UTC

15

Lightning Bot

One of the pivotal aspects in Lightning node management is undeniably monitoring. This is the reason I initiated the development of a bot to automate the retrieval of pertinent information from a node.

Additionally, this bot can be utilized to receive notifications regarding the node's heartbeat.

Any feedback and/or contributions from this community are highly appreciated! You can review the project here: https://github.com/stackzoo/voltbot

1 Comment
2024/01/08
09:40 UTC

3

Accepting BTC payments in woocommerce?

Is there a good way to accept BTC payments via woocommerce without access to a VPS? Ideally via lightning?

All the options I've found are either:

  1. Have a VPS with BTCPayServer running in the background
  2. Use a third-party plugin or service, Coinbase is usually suggested but their woocommerce plugin was end-of-lifed several years ago

It seems weird to me that there's no support for what is undoubtedly one of the largest if not the largest self-hosted ecommerce platform.

I'm fine keeping the money in BTC or having an auto cash out to fiat

7 Comments
2023/12/22
19:49 UTC

1

I need helps with a stuck transaction save my Christmas

Plz Help

2 Comments
2023/12/21
09:29 UTC

7

Import btc private key and backup

Can I import btc private key to a lightning wallet and then spend on lightning or are there no options to do so? Also, if one is to import btc private key to a wallet that is backed up, would you then need to back it up again and receive a new phrase since the old backup won't include the imported private key. Thanks

8 Comments
2023/12/20
21:09 UTC

31

Buy and sell bitcoin in your neighbourhood with cash

A while back, I posted about creating a website allowing you to find buyers/sellers of bitcoin in your local area with cash, face to face and without KYC or ID.

The idea was inspired by leafedout.com, a website allowing you to find cannabis vendors in your area. The site uses Google Maps with custom markers and is p2p. Although illegal in my country (Australia), the site works flawlessly. I could make purchases face-to-face with cash and buy confidently as I could rely on ratings left by other users.

With many exchanges and banks being forced to clamp down on Bitcoiners, I decided it was the right time to create such a site. In Australia, our banks have already started limiting transactions to exchanges and freezing accounts associated with Bitcoin, and it's almost impossible to buy/sell bitcoin without KYC in any amount (even at ATMs).

While I love the idea of applications like Bisq, I found it too clunky and difficult to use. The UX is poor, and it requires you to download and run an application (which doesn't even work out of the box on macOS).

With all that in mind, I decided to create CitySats.com. It allows you to create a marker on a map and locate, contact and rate buyers/sellers of bitcoin in your location.

The website is still a bit janky, but you can already start using it. I would love to hear your feedback.

Website: https://citysats.com

Source code (MIT licence): https://github.com/bitcoinwarrior1/CitySats

Screenshots of the site:

18 Comments
2023/12/06
12:21 UTC

14

Perfectly balanced

So satisfying.

5 Comments
2023/12/01
19:07 UTC

7

Phoenix Wallet

Does anyone here use Phoenix wallet?

I run an Umbrel node, but I don’t want to link a lightning wallet to it. I’ve been using Muun as a hassle free solution but I’m hearing good things about Phoenix wallet.

Would you recommend it, does it work flawlessly (like Muun) and is there anything a lazy power-ish user should know before downloading the app?

Thanks

12 Comments
2023/11/24
17:00 UTC

4

Bitcoin VC Investing w/ Ego Death's Nico Lechuga⚡️Talking Bitcoin Venture Capital

1 Comment
2023/11/20
17:14 UTC

1

Lightning Wallets Outside US, Allow Withdrawal To Bank, Credit/Debit

Hello,

We're building a marketplace on our pre-existing platform with about 30,000 registered users and we are going to use BTC 'lightning' to pay our merchants.

BUT the biggest issue is there isn't an easy app like Cashapp, that allows us to send payment to users OUTSIDE of the US and let's them cash out super easily.

It seems it all has to be through exchanges.

Is there anything available that can be used as simple as Cashapp OUTSIDE of the US, for users to receive BTC via lightning then sell that BTC to withdrawal to bank or credit, debit card.

I saw ramp.network allows this BUT they do NOT allow adult brands or companies, of course..

So need an alternative that is similar so we can onboard our merchants to this product to use for withdrawls of funds they earn from selling product on our site.

Any help is useful, even using several things to accomplish, thank you!

11 Comments
2023/11/17
21:27 UTC

6

Current⚡️Nostr with Bitcoin and AI 🤖 Demo Video

0 Comments
2023/11/16
02:24 UTC

5

Obtain gossip messages without node

Hey fellows,

Is there a GitHub repo or a tool that can be used to obtain all gossip messages that have been sent in the Bitcoin Lightning Network?

If it exists, is it realistically possible to construct a graph of weighted edges (and maybe even with a time line to see the networks evolution) of this data to simulate the history of the Lightning Network? I was thinking about a python/Julia script

I am asking, because I would like to do some research on the Lightning Network to get a better understanding of the rebalance-challenge of maintaining a node. But since running a Bitcoin Lightning Fullnode is not easy I am looking for a solution that works without that.

If that's impossible, I also had the idea of running a Lightning node in a docker container on a cloud provider (for example Microsoft Azure). I know that this completely contradicts the ethos of Bitcoin, still I am just looking for an "easy" solution that does not need a lot of tweaking/maintanance but just works, so I can focus on the analysis. I also don't know how much running this container might cost..

Thank you and if you have further ideas, feel free to add them!

4 Comments
2023/11/08
08:14 UTC

1

GetBit Demo⚡️ USD to INR via Lightning * Bitcoin for India 🇮🇳

0 Comments
2023/10/30
16:44 UTC

4

Help regarding setup for lightning node!

My cousin is gonna give me an old gamer pc for me to run the btc core + LN node. I am going to install Ubuntu+Umbrel on it.

This Pc has 1Tb normal hard disk, not SSD. I've seen people saying it doesnt run on normal hard disk, only on SSD... Others said i can run. Does anyone here run lightning node on normal hard disk?

And with 1Tb, should i prune the Btc core? Because in little time 1Tb will not be enough for full blockchain.

I am also planning to buy a simple nobreak for like 30 dollars.

About internet, what is the minimum? I have a familiar internet of 350mega (distributed for 4 PCs). Do i need to hire more internet services?

I am trying to spend the least as possible rn hah, but i will buy everything that is utterly necessary. Luckily my cousin has an unused computer. TIA!

4 Comments
2023/10/24
20:25 UTC

18

Replacement Cycling Attacks

Rumors of a new attack are going around, so I thought I'd get ahead of the curve here with a non-hysterical post.

I've attempted to translate what I can grok below, or read the details yourself (thanks to u/TheGreatMuffin for the links):

https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2023-October/021999.html

https://github.com/ariard/mempool-research/blob/2023-10-replacement-paper/replacement-cycling.pdf

The bad news is that replacement cycling attacks are a vulnerability in the bare LN protocol, both in theory and under lab conditions, and successful execution could result in stolen funds. But keep your pants on...

The good news:

  • This attack has never been seen in the wild.
  • It requires extreme technical sophistication, along with expending the attacker's funds, with no guarantee of success.
  • This has been known to Lightning devs since 2022, and a number of countermeasures are already deployed in all major LN implementations. While it isn't yet certain whether these measures make the attack impossible, they significantly reduce its odds of success and increase the attacker's expenditure.
  • Only your channel partners could attempt this, and only during forwarding.

Personally I'd be surprised if we ever see this in the wild, even without the countermeasures, because it's risky, difficult and expensive. But it is an issue to watch going forward.

I expect this will get more attention both from the community and the devs in the near future, and hopefully we'll put a lid on it either with a new patch or a better explanation than I can give of the existing countermeasures.

30 Comments
2023/10/21
21:56 UTC

5

AYBABTU handing out incoming liquidity

I'll open a few channels the coming week. If you need some inbound liquidity please reply to this post with your node ID and requested channel size. Please be reasonable.
Also mind my limited connectivity until later this year: https://www.reddit.com/r/lightningnetwork/comments/15h0grt/psa_regarding_aybabtu/

Also of course feel free to open to me.

0 Comments
2023/10/08
17:50 UTC

Back To Top