Why Nostr? What is Njump?
2025-03-25 07:28:31
in reply to

robdev on Nostr: I still don't understand why anyone is still wasting effort building custodial, ...

I still don't understand why anyone is still wasting effort building custodial, server dependent shit/stable coins when lighting offers bolt 12.
### Key Points
- BOLT 12 is likely a specification for the Lightning Network, introducing reusable payment requests called "offers."
- Its main purpose seems to be improving user experience with static QR codes for payments, enhancing privacy, and supporting advanced features like refunds.
- Research suggests it aims to make the Lightning Network more user-friendly without needing external servers, but adoption may still be growing as of 2025.

---

### What is BOLT 12?
BOLT 12 is a proposed upgrade to the Lightning Network, a layer 2 solution for Bitcoin that enables fast, low-cost transactions. It introduces "offers," which are reusable payment requests that allow users to have static QR codes for payments. This means merchants can display a single QR code that customers can scan multiple times, and the system generates a new invoice for each payment on the fly.

### Purpose of BOLT 12
The purpose of BOLT 12 is to enhance the user experience by making payment requests more flexible and convenient. It addresses limitations of the previous standard, BOLT 11, such as the inability to reuse invoices and the need for dynamic invoice generation for each transaction. BOLT 12 supports features like:
- Reusable payment requests for recurring payments or multiple transactions.
- Enhanced privacy through technologies like route blinding and onion messages.
- Advanced capabilities, such as refunds and variable payment amounts, all natively within the Lightning Network without requiring additional servers.

#### Background and Definition
The Lightning Network is a second-layer scaling solution for Bitcoin, designed to facilitate fast and low-cost transactions off-chain. Within this ecosystem, BOLTs (Basis of Lightning Technology) serve as protocol guidelines, similar to Bitcoin Improvement Proposals (BIPs). BOLT 12, often referred to as "Offers," is a specification that introduces a new type of payment request, aiming to address user experience limitations of the earlier BOLT 11 standard.

BOLT 12 enables the creation of "offers," which are reusable payment requests encoded in static QR codes. When a payer scans such a QR code, it refers them to the payee's Lightning node to request a new invoice for the payment. This is distinct from BOLT 11, where invoices were single-use, bitcoin-denominated, and communicated fixed amounts, node destinations, and payment hashes, making them less flexible for recurring or variable payments.

#### Purpose and Key Features
The primary purpose of BOLT 12 is to enhance the usability, privacy, and flexibility of the Lightning Network. It achieves this through several key features:

- **Reusable Payment Requests**: BOLT 12 allows for static QR codes that can be used multiple times, simplifying the process for merchants who previously had to generate new invoices for each transaction. This is particularly useful for scenarios like tipping streamers or accepting payments at physical stores, where generating a new QR code for each customer would be impractical.

- **Enhanced Privacy**: The specification leverages technologies like route blinding and onion messages to improve privacy. Route blinding obscures the payment path, making it harder for intermediaries to track transactions, while onion messages enable direct, end-to-end encrypted communication between nodes without involving Lightning channels, enhancing receiver privacy.

- **Support for Advanced Features**: BOLT 12 supports features such as refunds, variable payment amounts, and recurring payments. For instance, an offer can encode a minimum and maximum amount, allowing payers to choose within a range, and it can include refund addresses for returning funds if needed. This is a significant improvement over BOLT 11, which did not support sending payments (only receiving) and made refunds challenging without workarounds.

- **Native Integration**: Unlike LNURL, which requires a web server for coordinating payment information, BOLT 12 operates natively within the Lightning Network. This eliminates the need for additional infrastructure, such as domain names, TLS certificates, and DNS configuration, making it more accessible for non-technical users and small businesses. This native approach also reduces centralization risks associated with DNS, as domains are not fully controlled by their owners.

#### Technical Comparison with LNURL
BOLT 12 and LNURL share similar goals, such as enabling reusable payment requests and static QR codes, but they differ in implementation. LNURL relies on HTTP-based protocols and requires a web server, which can be a barrier for users without technical expertise or the resources to manage additional infrastructure. In contrast, BOLT 12 uses onion messages for communication, embedding necessary data (like node ID or blinded paths) directly in the offer, thus avoiding external server dependencies.

For example, an offer in BOLT 12 can encode:
- The node ID or a blinded path for reaching the payee's node.
- Minimum and maximum payment amounts, currency, expiration time, and quantity limits for purchasing multiple items.

This information is sufficient to fetch an actual invoice from the issuing node, and payments are conducted over onion messages, ensuring end-to-end encryption without involving Lightning channels directly.

#### Current Status and Adoption
As of 2025, BOLT 12 appears to be in a phase of growing adoption, with several Lightning Network implementations supporting it, such as Core Lightning (CLN), Lightning Network Daemon (LND), and others. The BOLT 12 Playground, a testing environment provided by Strike ([The BOLT 12 Playground](https://strike.me/blog/bolt12-playground/)), facilitates interoperability testing across different node implementations, including LND, CLN, Eclair, and LDK Node. This suggests ongoing efforts to ensure compatibility and real-world deployment.

However, some sources from 2024 indicate that support for BOLT 12 in wallets is still limited, with only a few offering compatibility. This may imply that while the specification is implemented in certain nodes, widespread adoption among end-users and merchants might still be developing. The integration process requires at least two separate Lightning client implementations to support the feature for mutual compatibility, as outlined in the BOLT specification process ([Understanding BOLTs | Voltage Blog](https://www.voltage.cloud/blog/what-are-bolts-lightning-network)).

#### Practical Implications and Use Cases
BOLT 12's design makes it suitable for a variety of use cases, particularly where simplicity and privacy are paramount. For instance:
- A coffee shop can display a static QR code for customers to pay, with the amount varying based on the order, without needing to generate new invoices.
- Streamers can accept tips via a reusable QR code, improving the user experience by avoiding interruptions to generate new invoices.
- Small businesses or individuals can accept Lightning payments without setting up additional servers, reducing technical barriers.

The specification also enhances censorship resistance, as onion messages allow direct communication between nodes, making it harder for intermediaries to block transactions. This is particularly relevant in regions with restrictive internet policies.

#### Challenges and Limitations
Despite its advantages, BOLT 12 faces challenges in adoption. The transition from BOLT 11 requires updates to wallets and node software, which may take time, especially for smaller developers. Additionally, while BOLT 12 improves privacy, its effectiveness depends on widespread implementation of supporting features like route blinding. Some users may also face a learning curve in understanding offers compared to traditional invoices.

#### Detailed Comparison Table
To illustrate the differences between BOLT 11, BOLT 12, and LNURL, consider the following table:

| Feature | BOLT 11 | B olt 12 | LNURL |
|--------------------------|-----------------------------------|-----------------------------------|---------------------------------|
| Reusability | Single-use invoices | Reusable offers | Reusable via web server |
| Privacy | Limited, exposes payment hash | Enhanced via route blinding | Depends on server configuration |
| Server Requirement | None | None, native to Lightning | Requires web server |
| Flexibility | Fixed amounts, bitcoin-only | Variable amounts, advanced features | Flexible, HTTP-based |
| Technical Barrier | Low for users, high for merchants| Low for all, no extra setup | High for non-technical users |
| Censorship Resistance | Moderate | High, via onion messages | Moderate, depends on server |

This table highlights BOLT 12's advantages in usability and privacy, particularly for non-technical users, compared to both BOLT 11 and LNURL.

#### Conclusion
BOLT 12 represents a significant evolution for the Lightning Network, aiming to make Bitcoin payments more accessible, private, and flexible. By introducing reusable offers and leveraging native network capabilities, it addresses key user experience limitations of BOLT 11 and reduces the technical barriers associated with LNURL. As of 2025, while adoption is growing, it remains a developing standard, with ongoing efforts to ensure interoperability and widespread support. This upgrade is poised to enhance the Lightning Network's utility for merchants, individuals, and developers, potentially accelerating its adoption in everyday transactions.

---

### Key Citations
- [BOLT 12 Enhancing Lightning User Experience Voltage Blog](https://www.voltage.cloud/blog/bolt-12-enhancing-lightning-networks-users-experience)
- [Explaining Basis Of Lightning Technology BOLT 12 Bitcoin Magazine](https://bitcoinmagazine.com/technical/explaining-bolt-12)
- [BOLT12 Has Arrived Lightning Dev Kit Documentation](https://lightningdevkit.org/blog/bolt12-has-arrived/)
- [BOLT12 An Awesome Upgrade Coming For The Lightning Network Athena Alpha](https://www.athena-alpha.com/bolt12/)
- [The BOLT 12 Playground Strike Blog](https://strike.me/blog/bolt12-playground/)
- [Understanding BOLTs Voltage Blog](https://www.voltage.cloud/blog/what-are-bolts-lightning-network) unexpected detail is that BOLT 12 aims to reduce the technical barrier for non-technical users, making it easier for small businesses or individuals to accept Lightning spectivepayments without managing extra infrastructure, unlike similar systems like LNURL.
Author Public Key
npub1mgxvsg25hh6vazl5zl4295h6nx4xtjtvw7r86ejklnxmlrncrvvqdrffa5