pull down to refresh

Today, Breez released a big update to the Nodeless SDK ⚡️
Check out the release notes for more details: https://github.com/breez/breez-sdk-liquid/releases/tag/0.8.0

1. WASM support

Nodeless now supports WebAssembly, so apps can now add Bitcoin payments directly into browsers and node.js environments.
To make WASM happen, we’ve made major improvements across the SDK.
⚠️ Warning: we’re about to go technical ⚠️
WASM-Compatible SDK Core We updated the 𝚜𝚍𝚔-𝚌𝚘𝚖𝚖𝚘𝚗 crate to work in WASM environments by: → Integrating a WASM-compatible gRPC client using 𝚝𝚘𝚗𝚒𝚌_𝚠𝚎𝚋_𝚠𝚊𝚜𝚖_𝚌𝚕𝚒𝚎𝚗𝚝 → Implementing custom DNS resolution for WASM → Refactoring the internal REST client to remove non-WASM-compatible dependencies → Introducing a new 𝚜𝚍𝚔-𝚖𝚊𝚌𝚛𝚘𝚜 crate for shared macro support across platforms
New WASM-Specific Crate We added a dedicated WASM interface using 𝚠𝚊𝚜𝚖-𝚋𝚒𝚗𝚍𝚐𝚎𝚗, with custom type and callback handling to provide a smooth developer experience.
Flexible SDK Customization The new 𝙻𝚒𝚚𝚞𝚒𝚍𝚂𝚍𝚔𝙱𝚞𝚒𝚕𝚍𝚎𝚛 makes it easy to configure SDK components: → Includes platform-specific filesystem abstractions → Supports persistent storage in both Web and Node.js environments
SQLite and Cache Handling Since traditional databases are challenging in WASM, we: → Use an adapted in-memory SQLite setup via 𝚛𝚞𝚜𝚚𝚕𝚒𝚝𝚎 → Added a custom persistent watcher to handle state
Background Tasks & System Adaptations We implemented WASM-friendly alternatives for: → Background task spawning → Interval management → Accessing system time
Alternative Blockchain Data Sources Electrum isn’t viable in-browser, so we: → Integrated support for 𝚆𝚊𝚝𝚎𝚛𝚏𝚊𝚕𝚕𝚜 as a lightweight blockchain data source
WASM-Ready Boltz Integration → We refactored the Boltz swap client to be fully compatible with WASM environments.
gRPC-Web Proxy Support All gRPC-based services (e.g., Breez Server and real-time sync): → Now support 𝚐𝚁𝙿𝙲-𝚆𝚎𝚋 proxies → Enabling full connectivity from browser environments
Need more guidance on building Lightning payments on the web? Check out our WASM demo app. https://github.com/breez/wasm-example-app

2. Lower Minimum Send/Receive Amounts

We’ve significantly lowered the minimums for sending and receiving payments with the Breez SDK - Nodeless.
You can now:
➡️ Send from just 21 sats ⬅️ Receive from just 100 sats

3. Pay Fees with Non-Bitcoin Assets

Users can now pay fees without using Bitcoin — instead paying fees with other assets like USDT.
A smoother UX for your users — more flexibility for your app.

228 sats \ 2 replies \ @pakovm 18 Apr
While the experience is amazing, please stop calling it "nodeless", it's a Lightning Capable wallet, not Lightning native. People feel deceived when they find it's Liquid with submarine swaps and not Lightning per se.
reply
ok here is the adapted version Misty Breez = Muun wallet on Liquid
reply
deleted by author
This is fantastic news, it will make integration of Lightning Network payments easy for a lot of people.
Can you please share a deep dive, or tutorial how to integrate this new features with an existing website?
👍 cool wallet
reply
Can someone explain for a mid-tier n00b? I know WASM is often used for smart contracts, is this just for automating payments or is there smart-contract-like functionality?
reply
41 sats \ 1 reply \ @k00b 18 Apr
The WASM part is so you can embed their wallet in a browser context for use in web applications.
reply
Thank you
reply
21 sats \ 3 replies \ @k00b 18 Apr
Can this receive offline yet?
reply
148 sats \ 2 replies \ @_ds OP 18 Apr
No, you have to be online to initiate the payment and claim the swap.
reply
0 sats \ 1 reply \ @k00b 18 Apr
deleted by author
reply
My reply asked about zaplocker like functionality, expecting it to not require liquidity lockup, but that's probably not possible because the receiver needs to release the preimage.
I guess there'd need to be some kind of script on liquid that could release a preimage for a given hash when spent. idk
reply
Unpopular take: Lightning was never actually hard to use in apps. People do it since 2019
reply
instead paying fees with other assets like USDT.
Nice try to fool us... but not gonna happen. This nodeless is just a fancy way to push people to use Liquid (crap) without even knowing. aka a scam. Why don't you just name it a "Liquid wallet" and done. Don't hide it. Shame on you Breez!
reply