LN+'s Posts

Introducing Group Channel Opens on LN+

Posted about 1 month ago

Group Channel Opens is an exciting new feature on LN+ within the Liquidity Swaps section. It allows a group of node operators to open multiple channels with a single bitcoin transaction resulting in massive savings, and automatically balancing channels from the get go. Let me explain the benefits, the drawbacks and requirements for using such swaps.

The Benefits

  • Only one bitcoin transaction is used to open 3, 4, or 5 channels. This saves block space and consequently makes the channel opening cheaper. Significantly cheaper in fact. In a triangle, square and pentagon the block space and cost savings are appr. 52%, 58%, and 62% respectively.
  • All channels are balanced on opening. This means both the outgoing and your incoming channel will have 50% capacity, which is ideal for routing payments, and allows you to both send and receive on both channels.
  • All channels are only opened if all participants in the swap sign the transaction.  It's all or nothing.

Single transaction results in 3 channels opened

The Disadvantages

  • Only works with LND nodes.
  • Requires BOS (for now) and terminal (command line interface).
  • All participants need to keep their terminal window open until all participants joined and the transaction is broadcasted, which is why triangles are the best bet in most cases.

Requirements


How to Do It?

  1. Read the requirements above.
  2. On LN+ go to Liquidity Swaps.
  3. Filter the Swaps for Platform: LND/BOS Only, and join one you like.
  4. If you can't find any matching swaps, start one and within the form select the checkbox: LND/BOS group funded channel open users only. It's recommended to do a triangle, because it's easier for all 3 participants to be online roughly at the same time.
  5. Enable email notifications with a valid email, and watch your inbox.
  6. Invite your friends and followers to the swap.
  7. Follow the instructions and commands provided by LN+.
  8. Wait for the bitcoin transaction to confirm and enjoy your two new channels.
  9. Profit!

This is how the Terminal window will look like from A's point of view, who initiates the transaction. The first command is generated by LN+ for A, and the rest is automated:

bos create-channel-group --allow <pubkey B> --allow <pubkey C> --size 3 --capacity 100000 --fee-rate 5

group_invite_code: <long random string>

at:   Tue Oct 15 2024 09:08:35 GMT+0800 (<Country> Time)ready: <alias B> <pubkey B>
at:   Tue Oct 15 2024 09:08:50 GMT+0800 (<Country> Time)ready: <alias C> <pubkey C>

ready: <alias B> <pubkey B>, <alias C> <pubkey C>

peered: trueproposed: truesigned: true

publishing: <bitcoin transaction hex>
transaction_id: <bitcoin transaction id>
broadcast_transaction_at_height: 865675

This is how the Terminal window will look like from B's point of view who joined the swap. The first command is generated by LN+ for A and B, and the rest is automated:

bos join-channel-group <group invite code>

connecting_to: <A pubkey>
requesting_group_details_from: <A pubkey>

joining: 3 member group coordinated by <A alias> <A pubkey> channels and paying 5/vbyte chain fee
waiting_for_other_members: true
peering_with: <A alias> <A pubkey>, <C alias> <C pubkey>

refund: <long string>

signed: <long signature string>

transaction_id: <bitcoin transaction id>

For more info, also read this previous post explaining batch channel opens,  the technology behind Group Channel Opens.

As always, if you see anything broken or you have an idea for an improvement, please comment or send me an email through the contact form.

Atomic Multipath Payments (AMP): Splitting Payments Across Multiple Channels

Posted about 1 month ago

Atomic Multipath Payments (AMP) represent a critical advancement in the Bitcoin Lightning Network. By enabling the splitting of payments across multiple channels, AMP increases transaction success rates, improves network efficiency, and enhances scalability. This post explores the technical underpinnings of AMP, its benefits, limitations, and its role in the future of Lightning Network technology.

1. Introduction

1.1. The Lightning Network Overview
The Bitcoin Lightning Network serves as a Layer 2 solution designed to address the scalability issues inherent in Bitcoin’s base layer. By enabling off-chain transactions, the Lightning Network facilitates fast and cost-effective payments without congesting the Bitcoin blockchain. However, the success of these payments is often limited by channel capacity and routing constraints, which is where AMP comes into play.

1.2. The Need for AMP
Traditional single-path payments in the Lightning Network require a single route with sufficient liquidity to complete a transaction. As network usage grows, this approach faces scalability challenges, especially for larger transactions. Atomic Multipath Payments (AMP) solve this problem by allowing payments to be split across multiple channels, increasing the likelihood of successful transactions while utilizing available liquidity more efficiently.

2. Understanding Atomic Multipath Payments (AMP)

2.1. What is AMP?
Atomic Multipath Payments (AMP) is a protocol that enables the splitting of a single payment into smaller parts, each of which can traverse different channels in the Lightning Network. These parts are then reassembled at the receiving node, ensuring that the full amount is delivered securely and atomically.

2.2. How Does AMP Differ from Traditional Payments?
In contrast to single-path payments, AMP breaks down a payment into multiple smaller transactions, leveraging multiple channels at once. Unlike basic multipath payments, AMP guarantees atomicity, meaning either all parts of the payment succeed or none do, mitigating risks such as partial payments or stranded funds.

2.3. The Atomicity of AMP
Atomicity ensures that a payment is either fully completed or fully canceled, with no middle ground. AMP achieves this using cryptographic secrets and shared secrets derived from a base secret, making it impossible for partial payments to succeed independently. This is vital for maintaining trust in the payment system, as it ensures that users never receive incomplete transactions.

3. Technical Mechanics of AMP

Skip this section if you don't care about how AMP works under the hood.

3.1. How Does AMP Work Technically?
AMP relies on the generation of a single payment secret that is used to derive multiple child secrets. Each payment fragment uses a child secret, allowing them to be routed independently. The receiver can only claim the funds when all fragments arrive, using the aggregated secrets to reconstruct the original payment secret.

3.2. Payment Splitting Across Multiple Channels
When using AMP, a single payment is divided into multiple smaller transactions that are routed through different channels. These channels may take completely independent paths through the Lightning Network, thus increasing the chances of finding available liquidity across the network’s vast topology.

3.3. Security Mechanisms in AMP
AMP uses a combination of Hash Time-Locked Contracts (HTLCs) and a keysend mechanism with a payment secret to secure transactions. HTLCs ensure that payments cannot be released until the correct preimage is provided, while timelocks prevent stale or unresolved payments from lingering on the network, protecting both senders and receivers from risk.

4. Benefits of AMP

4.1. For Lightning Users
  • Increased Payment Reliability:  AMP increases the reliability of payments by enabling the use of multiple channels. Even if one channel lacks sufficient liquidity, the transaction can succeed through alternative paths.
  • Ability to Send Larger Payments: One of AMP’s key benefits is that it allows users to send payments larger than the capacity of any single channel. This feature directly addresses one of the main limitations of the traditional Lightning Network.
  • Reduced Transaction Fees: By utilizing more efficient routing across multiple channels, AMP can reduce overall transaction fees, as payments are split across paths with better fee structures.

4.2. For Lightning Node Operators
  • Enhanced Network Liquidity: Node operators benefit from AMP by improving liquidity management. Since payments are divided among several channels, the network’s liquidity is utilized more effectively, allowing nodes to process a larger number of transactions.
  • Increased Routing Opportunities: With AMP, node operators gain more opportunities to route payments, thereby earning additional routing fees. The division of payments opens up more potential paths, increasing node participation in the routing process.
  • Improved Channel Utilization: AMP helps optimize the use of channels, balancing liquidity across multiple channels more effectively, leading to better channel health and longevity.

5. Limitations and Challenges of AMP

5.1. Technical Limitations
While AMP represents a significant step forward, it is not without limitations. The technology still faces constraints in terms of channel balancing and the complexity of managing multiple payment parts across diverse paths.

5.2. Liquidity Requirements
To effectively use AMP, sufficient liquidity must be available across all channels involved in the transaction. If the required liquidity is not present, even AMP payments may fail.

5.3. Privacy Considerations
Splitting payments across multiple channels could expose more transaction data to network participants, raising potential privacy concerns. Ensuring that users’ payment details remain confidential while using AMP is an ongoing challenge.

5.4. Adoption and Compatibility Issues
AMP adoption is not yet universal. Different Lightning implementations and wallets are in various stages of AMP support, creating compatibility issues for some users.

6. Software and Implementations Supporting AMP

6.1. Lightning Implementations
  • LND (Lightning Network Daemon):  LND was one of the first Lightning implementations to support AMP. Its robust feature set and extensive developer community have made it a popular choice for AMP users.
  • Core Lightning (CLN):  Core Lightning, previously known as c-lightning, has integrated AMP support, offering flexibility and configurability for advanced users.
  • Eclair: Eclair has also introduced AMP capabilities, enhancing its role as a Lightning implementation aimed at mobile and lightweight node operators.

6.2. Wallets Supporting AMP
Several wallets, including Phoenix, Breez, Eclair Mobile, Muun, WOS, and Electrum now offer AMP support, making it easier for everyday users to benefit from AMP’s advantages. Thunderhub, Ride the Lightning (RTL) and other tools also support AMP.

7. Enabling AMP on Supported Platforms

Implementing AMP requires specific configurations depending on the Lightning implementation you are using. Below are detailed steps for enabling AMP on LND and Core Lightning (CLN).

7.1. Using AMP in LND
Software Requirements: Ensure that you are running LND version 0.13.0-beta or later, as AMP support was significantly improved in this release.

Configuration Settings: In your lnd.conf file, add or verify the following settings:
[protocol]
amp=1
This setting explicitly enables AMP features.

Restart LND: After updating the configuration file, restart LND to apply the changes:
sudo systemctl restart lnd

Sending AMP Payments using lncli: To send an AMP payment using lncli, use the sendpayment command with the --amp flag:
lncli sendpayment --pay_req=<invoice> --amp

Replace <invoice> with the Bolt11 invoice you wish to pay.

Receiving AMP Payments: To generate an AMP invoice, use the addinvoice command with the --amp flag:
lncli addinvoice --memo="Payment for services" --value=1000 --amp
This will create an invoice that supports AMP payments.
7.2. Using AMP (MPP) in Core Lightning (CLN)
Software Requirements: Make sure you are running Core Lightning version 0.10.1 or later.

Sending AMP Payments using lightning-cli: Core Lightning automatically attempts Multi-Part Payments (MPP) as referred to in CLN, when necessary:
lightning-cli pay <invoice>

Receiving AMP Payments: Create an invoice that supports AMP (MPP) payments by default:
lightning-cli invoice <amount_msat> <label> <description>
Replace <amount_msat>, <label>, and <description> with your desired values.

7.3. Troubleshooting Common Issues

7.3.1. Insufficient Liquidity
Solution: Check your channel balances and consider opening new channels or rebalancing existing ones to ensure sufficient outbound and inbound liquidity.

7.3.2. Incompatible Nodes
Solution: Ensure that the nodes you’re interacting with also support AMP. Compatibility issues can arise if the receiving node does not support AMP payments.

7.3.3. Incorrect Configuration
Solution: Double-check your configuration files for typos or misconfigurations. Ensure that all required flags and settings are correctly applied.

7.3.4. Network Sync Issues
Solution: Verify that your node is fully synced with the Bitcoin network and the Lightning Network graph. Use commands like lncli getinfo (LND) or lightning-cli getinfo (CLN) to check the sync status.

Understanding Bitcoin Lightning Network Forwarding Fee Earnings

Posted 6 months ago

Routing fee calculation is often confusing for Lightning Network operators, so here is a quick overview to explain how it works and how it's calculated.

As a Lightning Network node operator, you are only paid forwarding fees when a payment is forwarded successfully, as opposed to a failed forward request. The fee is calculated based on the outgoing channel. The incoming channel's fees you set on your node are irrelevant for fee calculation. Therefore, if you expect to forward many payments to a specific node, set the fees on the channel to that node according to your needs.

There are two types of fees:

Base Fee

This is the simpler fee to understand. For every single payment transaction forwarded, you receive a certain amount of satoshis (sats) that you set for the channel. For example, if you set 1 sat for the base fee and you forward 5 transactions, you will earn 5 satoshis. This fee ensures that you are compensated for the storage and processing power associated with each transaction on your node. It's crucial to note whether it's set in terms of satoshis or milli satoshis (msat). If it's set in msat, 1,000 msat is equal to 1 satoshi.

Fee Rate

This fee typically causes misunderstanding due to its denomination and the small numbers involved. Depending on the software used, the fee rate is either set in parts per million (PPM) or percentage. For the fee rate, once again it's important to note whether the fee rate is set in terms of satoshis or milli satoshis. For instance, in the popular Thunderhub application, setting a fee rate of 500 on a channel means 0.05%, and the denomination is in satoshis, not milli satoshis.

Nomenclature

When you query and set the fees of a channel in various Lightning implementations, the naming of the base fee and fee rate differs slightly.

Here is an example of a report on a channel in LND:
"base_fee_msat": "1000",
"fee_per_mil": "500",
"fee_rate": 0.0005

Let's break it down:
  • base_fee_msat is the base fee set in msat (milli Satoshis). Thus, 1,000 msat means 1 satoshi earned per successfully forwarded transaction.
  • fee_per_mil is the fee rate in PPM (parts per million). Thus, for every 1,000,000 satoshi forwarded, you earn 500 satoshis.
  • fee_rate is the same as the fee_per_mil expressed in percentages for convenience.

The same channel would look like this in Thunderhub:

Thunderhub channel fee setting


  • Base Fee is set in satoshis (not msat!)
  • Fee Rate is set in PPM. The percentage is calculated for you on the fly next to the label.

Here is an example of a report on a channel in CLN:
"fee_base_msat": 1000,
"fee_proportional_millionths": 500,

Let's take it line by line:
  • fee_base_msat is the base fee set in msat (milli Satoshis).
  • fee_proportional_millionths is the fee rate in PPM (parts per million).
  • CLN doesn't provide the fee rate in percentage terms.

Examples of Fee Calculation

Let's consider examples to understand how much you earn with a setting of a Base Fee of 1 sat and a Fee Rate of 500 set in Thunderhub on a channel.

Example 1: Single Transaction of 1 Million Satoshis
  • Base Fee: 1 satoshi per transaction = 1 satoshi
  • Fee Rate: 500 PPM means you get 500 satoshis per million satoshis forwarded. Thus, the fee earned is 500 satoshis.
  • Total: 1 + 500 = 501 satoshis fee

Example 2: Five Transactions of 200,000 Satoshis Each
  • Base Fee: 1 satoshi for 5 transactions = 5 satoshis
  • Fee Rate: 500 PPM for 200,000 sats is 100 satoshis each, times 5 is 500 satoshis.
  • Total: 5 + 500 = 505 satoshis fee

Handling Very Low Fees

Now, what happens if the fee is very low? Let's say the base fee is zero and the fee rate is 25 PPM, and you route 10,000 satoshis. The fee would be 0.25 satoshis. Since the smallest amount in Bitcoin is 1 satoshi, you can't earn and be paid 0.25 satoshis (or 250 milli satoshis). However, the money is not lost. If you were to route four such transactions through the same channel, the partial satoshi earnings will add up, and you will earn a single 1 satoshi (1,000 milli satoshis) eventually.

Understanding these fee structures and how they are applied will help you better manage your node and optimize your earnings from forwarding payments on the Lightning Network.

Is It Better to Open Few Large or Many Small Channels on Bitcoin Lightning?

Posted 6 months ago

One crucial decision for a Lightning node operator is whether to open few large channels or many small ones. To assess this, we'll explore three hypothetical scenarios, each representing different channel configurations. These examples can be scaled up or down depending on the available funds, with the figures provided being solely for comparative purposes.

Scenario 1: Small Channels

 
Many smaller channels


Configuration: Ten channels with 1 million satoshis each.

Advantages:
  • High Redundancy: With ten channels, there is a greater likelihood that at least one channel will have the necessary liquidity for a transaction, ensuring almost certain payment success.
  • Potentially Lower Fees: With more routes to choose from there is a higher likelyhood to find a low fee route for incoming and outgoing payments.
  • Ideal for Small Payments: This setup is particularly suited for small transactions such as tipping, paying for content, and other microtransactions.

Disadvantages:
  • Limited to Small Payments: Larger payments require splitting across multiple channels, which can add complexity and potentially increase the transaction time.
  • Higher Opening Costs: More channels mean higher costs due to the fees associated with opening each channel, although this can be mitigated by batch channel opening.
  • Minimal Routing Income: Smaller channels are less likely to be used for routing, resulting in lower fees earned from this activity.

Scenario 2: Mixed Size Channels

 
Mix of large and small channels


Configuration: Five channels with 1 million satoshis each, and one channel with 5 million satoshis.

Advantages:
  • Balanced Redundancy and Capacity: This setup provides a good mix of redundancy and the ability to handle larger payments through the 5 million satoshi channel.
  • Versatility: Suitable for a variety of use cases, from small transactions to occasional larger payments.
  • Moderate Routing Income: The larger channel may be used for routing, generating some income from transaction fees.

Disadvantages:
  • Moderate Complexity: The mixed configuration may still face issues with liquidity in smaller channels, requiring careful management.
  • Variable Costs: While there are fewer channels than in the small channels scenario, the cost savings are not as significant as in the large channels scenario.

Scenario 3: Large Channels

 
Large channels


Configuration: Two channels with 5 million satoshis each.

Advantages:
  • Low Opening Costs: Fewer channels mean lower overall costs for opening and maintaining channels.
  • Ideal for Large Payments: Larger channels can handle significant transactions without the need for splitting payments.
  • Higher Routing Potential: These channels are more likely to be used for routing large transactions, generating higher fees.

Disadvantages:
  • Low Redundancy: With only two channels, the setup is more vulnerable to failures or liquidity issues. If one channel goes down or lacks the necessary liquidity, transactions may fail.
  • Centralized Dependency: Depending heavily on a few large channels can increase reliance on specific nodes, potentially leading to centralization issues.

Overall Considerations

When deciding on the optimal channel configuration, it's essential to consider several factors:

  1. Network Connectivity: Ensure connections to both highly connected large nodes and medium-sized nodes to avoid over-reliance on centralized entities.
  2. Frequent Connections: Establish channels with friends and businesses you frequently transact with, as direct connections can improve transaction efficiency for daily use.
  3. Use Case Suitability: Align your channel strategy with your intended use case. Small channels are best for microtransactions, mixed channels offer versatility, and large channels are suitable for handling significant payments and routing.
  4. Balanced Node: Ensure that you maintain a balanced node with channels that are at least partially empty on your side to receive payments and channels that are at least partially full on your side to send payments. This balance allows for smooth transaction flow in both directions. To achieve this, you may need other node operators to open channels to you. Consider using our Liquidity Swaps and Liquidity Pool services available on this site to easily and freely manage your liquidity needs.
  5. Partner Fees: While large and well connected nodes may seem like a great option to be well connected, consider that they also typically charge more for transaction routing. Medium and small sized nodes are usually cheaper to route through.

In conclusion, there is no one-size-fits-all answer to whether it is better to open few large or many small channels on the Bitcoin Lightning Network. The optimal strategy depends on the specific needs and transaction patterns of the node operator. By carefully considering the advantages and disadvantages of each configuration, operators can tailor their channel setup to maximize efficiency, redundancy, and potential routing income.

Introducing LN+ Pro Membership: Elevate Your Node to New Heights

Posted 6 months ago

Welcome to the next level of connectivity and functionality within LN+ — we are thrilled to introduce the LN+ Pro Membership, designed for users who are serious about maximizing their impact and visibility across the LN network.

What is LN+ Pro Membership?

LN+ Pro Membership transforms your experience by placing your node at the forefront of the LN+ platform. With this membership, your node doesn't just participate; it dominates. Whether it's on the front page, the Node Explorer, the Liquidity Swaps index, or the Liquidity Pool index, your node will consistently appear in top positions. Additionally, it will be distinguished by a PRO tag in searches and comments, instantly signaling your elevated status to the entire LN+ community.

Exclusive Features for Pro Members

Here’s a closer look at the exclusive features available to LN+ Pro Members:

  • Prime Node Liquidity Swaps: Start and participate in Liquidity Swaps that are exclusive to Prime nodes (explained more below) — users who have garnered 10+ positive reviews and maintain a 90%+ positive rating.
  • Prominent Visibility: Gain unmatched visibility by appearing at the top of critical indexes and rotating on the front page of LN+.
  • Ongoing Feature Access: As we continue to innovate, you’ll gain access to new features such as premium profile customization options, Pro API features, and exclusive courses offered through Layers Academy.

Support and Contribute

By choosing LN+ Pro Membership, you are not just enhancing your own node's capabilities; you are also directly contributing to the development of LN+ and the broader LN ecosystem. This is your chance to be part of something bigger — to support and shape the future of the network.

Flexible and Easy to Purchase

LN+ Pro Membership can be purchased for any number of days, starting with just one day, offering complete flexibility to suit your needs. Payments are a breeze with options including Bitcoin, either via Lightning or on-chain transactions. Remember, the longer your membership, the higher your node’s rank will be on various indexes.

Users who previously purchased the Node Highlight feature will be automatically grandfathered into the Pro Membership. This adjustment comes as we replace Node Highlighting with our new, more comprehensive offering.

Join Today and Ascend the Ranks

Don’t miss this opportunity to elevate your node and enjoy a suite of advanced features that will set you apart from the crowd. Experience the power of Pro Membership today and watch your node ascend the ranks with every passing day. Ready to upgrade? Your journey to prominence begins here, with LN+ Pro Membership.

Prime Nodes and Liquidity Swaps

While the new Prime Nodes label and Prime Liquidity Swaps are not included as a direct feature of Pro Membership, they are closely related and worth discussing in this context. As a Pro Member, you gain the ability to create what are called Prime Liquidity Swaps. These swaps are exclusively available to Prime Nodes, which are highly-rated nodes meeting specific criteria: having at least 10 positive reviews, with an overall positive rating of 90% or higher.

For instance, if your node receives 20 positive reviews and only 1 negative review, it qualifies as a Prime Node and is eligible to participate in Prime Liquidity Swaps. However, a node with only 3 positive reviews, or with 10 positive and 2 negative reviews, does not meet the threshold for participation.

The Prime Label, signifying your node's high rating, is prominently displayed on your Node Profile and is represented by a star symbol.

MicroStrategy's Impact and Potential in the Bitcoin Ecosystem

Posted 7 months ago

MicroStrategy is unequivocally bullish on Bitcoin, actively contributing to the growth of its ecosystem. Their commitment is evident through three significant initiatives they've undertaken thus far.

What has MicroStrategy done for Bitcoin so far?

  1. Bitcoin on the Balance Sheet:
    MicroStrategy (MSTR) strategically allocated a substantial portion of their balance sheet to Bitcoin (214,400 BTC at the time of writing), reaping significant gains on their investment. MSTR is setting a positive example for other companies, and educating them about this ultimate store of value. Moreover, this accumulation drives up Bitcoin's price, expanding its utility by enabling larger reserves and transactions. While some critique MSTR's concentration of Bitcoin holdings, the majority of Bitcoin enthusiasts view their influence as beneficial overall.
  2. Lightning Rewards:
    Recognizing the need to address underserved areas in business applications, MicroStrategy introduced the Lightning Rewards program. This initiative aims to incentivize workforce productivity by offering tangible rewards in Bitcoin. Launched just four months ago, the program utilizes the Lightning Network, known for its scalability, although its long-term success remains to be seen. Nevertheless, using Lightning as a platform was a wise idea, as LN has ample capacity to satisfy the needs of even large international companies.
  3. Identity Solution (did:btc):
    MicroStrategy's latest endeavor targets another pressing issue for their clients: email spam. Addressing the significant drain on resources and security concerns posed by spam, MicroStrategy launched MicroStrategy Orange, a decentralized identity solution. Utilizing the Bitcoin blockchain exclusively, this solution aims to combat spam by storing and retrieving DID information via UTXOs on-chain. By offering tools to deploy this solution on Outlook, MicroStrategy aims to streamline email security for businesses. However, if it's important to note that if this service takes off it may use significant amount of block space.

What's in MicroStrategy's Future for Bitcoin?

What else could MSTR do for Bitcoin? Let's explore some ideas that would help the Bitcoin ecosystem and its users, including MSTR's clientele.

  1. Massive Lightning Service Provider (MLSP):
    Having sufficient and reliable incoming liquidity is critical for large businesses to be able to accept LN payments. The community here at LN+, and many other services do their best to satisfy the need through various methods. MSTR is in unique position and could play a pivotal role in advancing Lightning Network adoption by becoming a Massive Lightning Service Provider (MLSP). Leveraging their substantial Bitcoin reserves, they could provide liquidity to large businesses seeking to accept Lightning payments globally. By doubling the Lightning Network's liquidity with just a fraction of their reserves (2%), MicroStrategy could significantly accelerate Lightning's growth and reliability of the network for all participants.
  2. Bitcoin Liquid and Liquid Lightning Network:
    As on-chain Bitcoin transactions become increasingly expensive, MSTR could support the adoption of Bitcoin's Liquid Sidechain and help build a new Liquid based Lightning Network that is compatible with the existing Lightning Network. By providing significant Bitcoin capital, MSTR could facilitate large and fast on-chain transactions on Liquid while also enabling the ability for people to run Liquid Lightning nodes supporting cheap and rapid channel management on their mobile devices.
  3. Bitcoin Deep Cold Storage (BDCS):
    MicroStrategy could enhance their Bitcoin storage security by developing a proprietary Deep Cold Storage service where clients can hold their own keys and are safe even in the event if the BDCS service were to disappear. This service would ensure MSTR can also hold their own keys independently of third parties, and offer similar self sovereignity to their clients. Making this service available to other companies and individuals would bolster Bitcoin adoption among high-net-worth individuals, large corporations, and financial institutions.
  4. Bitcoin Development Fund (BDF):
    Recognizing the underfunding of Bitcoin development, MicroStrategy could establish or contribute to a robust funding organization dedicated to sustaining Bitcoin's long-term development. By providing consistent financial support, organizing events, and incentivizing developers, such a fund would safeguard Bitcoin's future and unlock its vast potential.

MicroStrategy's substantial resources present numerous opportunities to further enhance the Bitcoin ecosystem and benefit both their clients and the broader community. What other ideas do you have for MicroStrategy to explore? Share your thoughts below!

Neutronpay Expands to Southeast Asia, Harnessing Lightning Network for Advanced Payment Solutions

Posted 7 months ago

We're happy to report that Neutronpay has recently extended its payment platform to Malaysia, Indonesia, Thailand, and the Philippines, utilizing the Lightning Network to facilitate rapid, economical global transactions.

Harnessing Southeast Asia's Dynamic Market

With its young demographics and burgeoning tech sectors, Southeast Asia is a prime market for economic dynamism. Neutronpay's latest move positions it as a pivotal player in the region, offering scalable and cost-effective payment solutions that are crucial for the diverse, expanding industries across these countries.

Neutronpay now in Southeast Asia


Transforming Regional Payment Systems

By integrating the Lightning Network, Neutronpay is revolutionizing financial connectivity not only within Southeast Asia but also extending to global markets like Canada. The platform specifically addresses several key payment challenges in the region:

  • Introducing Bitcoin and Lightning as new payment methods, while enabling transactions in local currencies.
  • Providing swift, affordable international payment options for small businesses and freelancers.
  • Enhancing e-commerce through streamlined cross-border transactions.
  • Reducing costs and transaction times for overseas workers sending remittances.
  • Offering seamless payment options for international travelers in Southeast Asia.

Neutronpay App's Notable Features

  • Instant Global Transfers: Allows users to send money globally almost instantaneously, directly into bank accounts.
  • Business Growth: Facilitates international payments for businesses, bypassing traditional banking delays.
  • Merchant POS Mode: Streamlines transactions for retailers serving both local and international clientele.
  • Content Creators' Hub: Supports streamers and creators with LNURL, facilitating easy global payments.
  • Remote Work Flexibility: Ensures freelancers and remote workers receive timely payments with minimal fees.
  • Everyday Convenience: Simplifies daily financial tasks like bill payments, expense sharing, and online shopping.

Download the Neutronpay app for iOS at the App Store and for Android at Google Play.

What the Drop in Lightning Nodes Means for LN's Future?

Posted 7 months ago

If you examine the historical statistics of Bitcoin's Lightning Network (LN)—including node count, channel count, and total channel capacity—you will notice a decline since the first quarter of 2022. Over the past two years, it appears that LN is not only stagnating but also contracting significantly.

This contraction is surprising, especially considering the seeming all-time high popularity of LN by other metrics. A recent report by River highlighted a 12-fold increase in LN transactions in the last approximately two years. Most progressive exchanges support LN, and the others are planning to implement it soon. Nostr, a prominent decentralized social network, is entirely powered by Lightning. Moreover, merchants are reporting growth in LN payments.

So, what is happening? How can there be such a discrepancy between usage and node growth? Is LN still the future of payments on Bitcoin? Let me explain how I interpret the statistics of nodes and channel counts and why they might be misleading.

Lightning Network Channel Count and Capacity by Mempool.Space


Overexcitement in 2021

It's clear that 2021 saw massive growth, primarily driven by Umbrel's sudden popularity. Umbrel simplified running both Bitcoin and Lightning nodes on inexpensive hardware, offering a graphical user interface (GUI) over the command line and promising complete self-sovereignty. Thousands began running nodes and opening channels. However, the initial excitement faced technical challenges when Umbrel introduced multiple apps in their app store, overwhelming the underpowered devices. Long-term operation of Raspberry Pi computers occasionally proved unreliable. A small percentage of nodes failed, deterring many users from keeping their bitcoins on such devices, resulting in many Umbrel nodes going offline.

Disillusion with Routing Earnings

Many enthusiasts began running nodes and opening channels in 2021, hoping to earn significant fees from routing, despite no guarantees of high earnings from operating a Lightning node. While a few operators do earn significant income from their nodes, it generally requires managing many well-selected channels. Some operators, unable to turn a profit, also began shutting down their nodes starting in 2022.

High On-Chain Fees

Bitcoin's on-chain fees have risen sharply recently. In the early days of Lightning, channels could be opened for as little as 1 sat/vB; now, the cost often exceeds 20 sat/vB. Coupled with the increase in Bitcoin's value, channel openings have become expensive, costing around $10, compared to just cents earlier. This increase makes experimentation costly, deterring new users from opening many channels.

Network Optimization

Post-2022, many professional node operators and companies have optimized their approaches to running Lightning nodes, resulting in fewer but larger channels opened to strategically important nodes. Some U.S. companies are also regulated to open channels only with other U.S. companies, contributing to fewer channels overall.

Experimentation by Companies

In early 2022, the substantial inorganic growth in nodes and channels resulted from companies experimenting with creating nodes for their customers en masse. This approach proved costly and inefficient, leading to the closure of many of these nodes.

Private LN Networks

The statistics reflect only publicly visible nodes and channels. Anecdotally, we know that many channels are opened privately. Private channels offer advantages such as enhanced privacy and avoidance of channel "draining" through rebalancing, which is crucial for large companies needing reliable capacity on one side to serve customers. However, receiving payments in private channels can be cumbersome, requiring hints in the invoice. The private segment of the Lightning Network could be expanding rapidly, but this growth is not reflected in public statistics.

The Value of Bitcoin Increased

In recent years, the value of Bitcoin has significantly increased, meaning the existing channel capacity can carry more value in dollar terms. Consequently, there is less urgency to increase capacity. If the value of Satoshis continues to rise, the current network could meet future users' needs without adding significantly more Bitcoin to channels.

LN is Still Too Hard

Despite the ease of setting up and operating an LN node with services like Umbrel, Voltage, and natively with LND or CLN, understanding the fundamental concepts of channels and liquidity remains challenging. We need more education and better software and services to include more people.

Custodial LN is Easy

Lightning is primarily built for microtransactions, ranging from fractions of a cent to several dollars. The use cases include tipping, paying for content, and purchasing services. Consequently, many people prefer not to manage a substantial amount of value in their Lightning wallets, allowing custodial services to offer wallets (ex. Speed Wallet) that simplify node and channel management, enabling instant receipt and sending of any amount of Satoshis. However, these custodial wallets are straightforward to set up and use, but they also mean you do not control your keys or run your node, thus your node will not appear in statistics.

What the Future Holds

Lightning is clearly a highly beneficial technology that offers numerous advantages to Bitcoin users: it natively uses Satoshis as the unit of account, it is fast, inexpensive, secure, and easy to use, supporting technologies like the Lightning Address. Lightning-related tools will continue to improve, the number of enthusiasts will grow, and more companies will offer a broader range of products to cover all use cases. The usage of LN will generally increase, but despite this, we may see further erosion of node count in the next year or so due to the reasons mentioned above. At some point, the node count is expected to begin increasing again, at a steady, sustainable rate. However, just like today, a large percentage of LN users will continue to choose custodial wallets for their everyday needs.

Improved Ratings and Top Rated Nodes Page

Posted 7 months ago

We launched a much requested feature Today. Previously, on Liquidity Swaps you could rate the node that was committed to open a channel to you. Now, you can also rate the node you opened a channel to, since they also have a committment to keep the channel open till the end of the agreement. You can rate nodes for the time of the agreement plus a week after the swap concluded.

Rating Feature


In addition, there now a new page in the Explorer for the Highest Rated Nodes.

Understanding the Lightning Network - Where Did My Sats Go?

Posted 8 months ago

Navigating the Bitcoin Lightning Network can sometimes leave newcomers puzzled with questions such as "I opened a channel a few weeks ago, and now I don't have any sats on it. Where did my sats go?" or "I opened a channel some time ago, and there was 1 million sats in it. I closed it today, but I didn't get my 1 million sats back. Where is my money?"  These are common inquiries that often stem from a fundamental misunderstanding of a crucial Lightning Network process: routing.

Unveiling the Concept of Routing

To unravel this mystery, it's essential to grasp the concept of routing within the Lightning Network. Routing allows the transfer of bitcoin (sats) across the network over multiple channels without requiring a direct channel between the sender and receiver. This process is similar to how internet packets travel from their origin to their destination through various nodes. Learn more about routing.

How Routing Influences Your Sats

When you deposit sats into a channel, those sats represent your side of the channel's balance. As your channel engages in routing payments for others, the allocation of sats between you and the channel's counterparty changes. However, it's crucial to understand that while individual channel balances fluctuate, the overall balance of your node, when considering all your channels, remains unchanged by routing activities alone.

Clarifying a Common Misconception

A crucial concept that often goes misunderstood is this: when you route funds, the channel that forwards the funds sees a reduction in its balance, but another one of your channels that receives the routed funds will see an increase. Thus, routing doesn't lead to a loss of funds.

A Typical Routing Scenario

Forwarding 100,000 and earning 5 sats in fees


Let's expand our typical scenario to incorporate this vital concept:
  1. Opening a Channel: You open a channel with 1 million sats. All these sats are initially on your side.
  2. Routing a Payment: Your channel routes 100,000 sats to another user, decreasing your balance to 900,000 sats. Meanwhile, this routed payment is received by another one of your channels, increasing its balance correspondingly.
  3. Earning Fees: By facilitating this transaction, you earn a small routing fee (ex. 5 satoshis). This fee is added to your balance, incrementally increasing the total sats across all your channels.
  4. Understanding the Overall Impact: Although the balance of the specific channel used for routing decreases, another channel's balance increases. Therefore, the total balance across all your channels remains the same, barring the fees you've earned, which slightly increase your total holdings.
  5. Closing a Channel: When you close a channel, you receive the final balance of that channel, which reflects all the routing and fee earnings. If, for instance, the closing balance was 900,000 sats, this does not account for increases in your other channels.

Monitoring Your Lightning Network Activity

Monitoring your channels is key to understanding the flow of sats. With the right tools (ex. Thunderhub), you can see how balances shift between channels due to routing and how your overall balance is affected.

The Routing Benefit: A Holistic View

Participating in routing payments enriches the Lightning Network, keeping it efficient and scalable. It's a cooperative effort that, while it may initially seem like your funds are depleting, actually maintains your overall balance and incrementally increases it through fees.

Public / Private Channels

It's crucial to grasp the difference between the two types of channels on the Lightning Network: public and private.

Public Channels are open to the entire network. They appear in the network's public graph, making them visible to all participants. This visibility allows nodes to use public channels for routing payments to nodes with which they do not have a direct connection. The ability to route payments through a node depends on the availability of sufficient capacity in the necessary direction on the involved channels.

Private Channels
, on the other hand, are not broadcast to the entire network. Visibility is restricted to the nodes directly involved in the channel, rendering them less prominent for routing on a broad scale. Despite this, private channels can still participate in routing payments. For routing through a private channel to occur, nodes outside the channel must be informed of its existence, typically through "routing hints" provided by one of the participating nodes.

Conclusion

Routing within the Lightning Network is a dynamic process that redistributes sats across your channels but doesn't inherently decrease your total holdings. By actively participating in routing, you not only support the network's efficiency but also have the opportunity to grow your total sats through accumulated fees. As you familiarize yourself with these principles, managing your channels and optimizing your participation in the Lightning Network becomes an engaging and potentially rewarding endeavor.

Introducing: Layers Academy

Posted 8 months ago

We are thrilled to unveil Layers Academy, an educational platform designed to demystify Bitcoin and its ecosystem for a rapidly growing audience eager to grasp and utilize this groundbreaking technology. Our lessons, which last between 5 and 10 minutes, are presented in an engaging video format and crafted for easy comprehension. We incorporate real-world examples and parallels to simplify complex ideas. Additionally, each lesson comes with a full transcript, offering the option to read the voiceover if preferred.

Layers Academy is structured into faculties, courses, and lessons. At launch, we offer basic Bitcoin courses, which will soon be complemented by courses on the Lightning and Liquid networks, followed by advanced courses covering all these subjects in greater detail. Each course and lesson builds upon the information presented previously, ensuring a cohesive learning experience.

After completing each lesson, you'll have the chance to gauge your understanding through quizzes. Achieving success in these assessments rewards you with accomplishments, marking your progress.

What’s in the Name?

The Bitcoin ecosystem extends beyond the code of the Bitcoin blockchain. It includes a broad array of innovations and solutions developed in layers atop Bitcoin, such as the Lightning and Liquid networks. The name Layers Academy reflects our aim to elucidate these layers for learners.

Work in Progress

We recognize our current lessons as merely the beginning. We warmly invite our community to engage actively in this educational journey. If you come across any inaccuracies or have suggestions for improvement, we encourage you to reach out via our contact form or lesson comments. Your insights, resource recommendations, or ideas related to the content are highly appreciated and will contribute significantly to enriching our academy.

What is a Bitcoin Lightning Network Channel Backup and How To Use It?

Posted 9 months ago

Executive Summary

A Bitcoin Lightning Network channel backup, also known as a Static Channel Backup (SCB), is a feature that allows for the on-chain recovery of Lightning channel balances in the case of data loss or hardware failure. It is a failsafe to record the state of a Lightning channel, enabling the recovery of off-chain balances. The SCB contains all necessary peer and channel information, allowing the Lightning node to send a request to force-close the channel on their end to all previous online peers.

However, it's important to note that the channel backup does not allow the recovery of Lightning Network channels, but it increases the chance of recovering off-chain balances. The backup is created and managed through the Lightning Network node, and it is essential to download a copy of the SCB file when opening or closing any channels. The backup is a critical security measure, and it is advisable to have a proper backup strategy in place to ensure the safety of Lightning channel funds.

What is a Bitcoin Lightning Network Channel Backup?

The Purpose: On the Lightning Network, payment channels exist between two individuals, allowing for lightning-fast Bitcoin transactions. A channel backup ensures you don't lose your share of the Bitcoin locked in a channel if something happens to your Lightning Network node.

What it Contains: Static (unchanging) channel information:
  • The channel's funding transaction
  • Channel capacity
  • Public key of the other node in the channel
  • Other relevant channel configuration details

What it Doesn't Contain: The current channel balance or its associated commitment transactions. This information changes often.

Types of Channel Backups

  • Static Channel Backup (SCB): The core backup stored as a file (often channel.backup) or multiple entries within a file. You'll need your Lightning wallet seed phrase to use an SCB effectively.
  • Database Backups: Lightning Network implementations save important channel information to a database. If you have a full database backup, you can restart your node without the need to use a SCB which would close channels.

How to Use a Bitcoin Lightning Network Channel Backup

The recovery process in the event of data loss is called Data Loss Protection (DLP), and its steps can vary between Lightning Network implementations. Generally:

  1. Node Failure: Your Lightning Network node experiences a major problem (e.g., corrupted hard drive, software failure).
  2. New Node Setup: You install a fresh Lightning Network node.
  3. Restore Wallet Seed: Restore your 24-word wallet seed phrase. This recreates your on-chain Bitcoin wallet.
  4. Restore SCB: You transfer the SCB file to your new node or re-enter individual SCBs. Different wallets and LN tools provide the recover option in different places. In Thunderhub for example you can find it under Tools / Backups / Recover Funds from Channels / Recover.
  5. DLP Process:
  • Your new node uses the SCB file(s) to discover the public keys of nodes you had channels with.
  • Your node contacts your former channel partners, alerting them to your issue.
  • Cooperative nodes will initiate force-closing the channels, returning your on-chain balance according to the last agreed-upon state in the backup.

Important Considerations

  • Always Update Backups: Backup your SCB(s) whenever you open or close a Lightning channel. Outdated backups won't reflect the correct channel state.
  • Secure Your Backups: Treat your SCB and wallet seed with extreme care. Anyone with access to both can steal your funds, because they can close the channels and then send out the on-chain funds to their own wallet. Store them securely, with copies in safe locations.
  • Uncooperative Peers: In the worst-case scenario, where a channel partner becomes uncooperative, you risk losing some funds since the SCB doesn't hold the most recent channel state. This is rare, but highlights the importance of choosing reputable nodes as channel partners.
  • Watchtowers: In order to ensure that your peers can't cheat you consider entering a Watchtower Swap.

Thunderhub's Backup and Recovery options


Backup Strategies

  • Automated Cloud Backups: Popular Lightning Network wallets often have built-in features to automatically back up your SCB to cloud storage (encrypted, of course). For example, if you are running an Umbrel node, they have your channel backup and you can contact them if needed.
  • Manual Backups: You can periodically copy your SCB file to external drives or another computer. Different wallets and LN tools provide the link to download in different places. In Thunderhub for example you can find it under Tools / Backups / Backup All Channels / Download.
  • Database Backups: If your implementation uses a database, include regular backups of it as part of your strategy.
Lightning Network Node
LightningNetwork.Plus
Capacity: 575,641,783 SAT
Channels: 172