mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-25 17:04:21 +01:00
* feat: add random keypair generation * Encapsulate decode_keypair in SendSwap::get_refund_keypair() * Add refund_tx_id and refund_tx_amount_sat to Payment * fix: remove blocking on refund * fix: change `refund_private_key` order * fix: rebasing * fix: set `next_unused_address` as refund output * Handle refunds in `get_info`, `list_payments` (#226) * Exclude refund txs from payment list * Adjust balance calculation to account for refunds * fix: revert boltz changes and fix locktime * Replace subquery with LEFT JOIN to get refund data * Rewrite locktime check for more clarity * Rewrite locktime check for more clarity * Fix select_payment_query in case of refunds * Include boltz-client fixes (handling of unwraps for failed broadcasts) * Cargo.toml: Use boltz-client branch instead of commit --------- Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com>
breez_liquid_sdk_workspace
Binding generation & build scripts for Dart/Flutter packages of Breez Liquid SDK.
Prerequisites
Required
This guide assumes you have the following tools installed on any development machines:
Optional
If you would like to build your binaries (for Flutter devices) locally in addition to CI (say, to test on a real device or emulator), you will additionally need the following:
- To compile to macOS/iOS targets
- macOS
- To cross-compile to Android targets
- Android NDK
- Most NDK versions should work nowadays due to fixes in
cargo-ndk- Previously, NDK version 21 (
r21e) was the only one that could be used easily- You might see reference to this elsewhere, but that is largely out of date
- NDK version 25 (
r25b) was working at the time of writing this documentation
- Previously, NDK version 21 (
- Most NDK versions should work nowadays due to fixes in
- Android NDK
- To cross-compile to Windows/Linux targets
- Zig
- llvm (with
clang-cl!)- Need to run
brew install llvmon macOS since Apple's llvm doesn't have it
- Need to run
Getting Started
Run just bootstrap to initialize your workspace.
To see all available recipes, run just.
Troubleshooting
License
Dual-licensed under Apache 2.0 and MIT.