Commit Graph

261 Commits

Author SHA1 Message Date
Daniel Granhão
cd0b82cf53 Persist wallet cache in db (#912)
* Persist wallet cache in db

* Always persist new updates

* Reload wallet on conflict

* Remove `cache_dir` from `Config`
2025-05-22 12:52:29 +01:00
Ross Savage
30230db377 Update CS and Go bindgen to uniffi 0.28 (#926)
* Update CS and Go bindgen to uniffi 0.28

* Fix version matching
2025-05-22 08:13:27 +00:00
Ross Savage
48756bdf00 Rework draining to enable BOLT12 drain (#923) 2025-05-20 09:26:23 +00:00
Roei Erez
5a6649ade6 Merge branch 'v0.8.3'
* v0.8.3:
  update version to 0.8.3
  Set esplora/waterfalls as default chain explorer backend
  Update version to 0.8.2
  Fix recommended fees calculation
  update version to 0.8.1
  Broadcast receive swap server lockup txs (#904)
2025-05-19 10:02:59 +03:00
Ross Savage
c872a62f1d Add user lockup_tx_id to Bitcoin payment details (#918) 2025-05-19 05:26:18 +00:00
Ross Savage
42c7bfe285 Add LNURL-verify notification plugin tasks (#911)
* Add LNURL-verify notification plugin tasks

* Only settled when MRH payment is complete

* Ignore unknown JSON keys

* Log fail replyURL

* Prevent escaping slashes
2025-05-15 06:26:32 +02:00
Ross Savage
f8275cbd17 BOLT12 receive updates (#907)
* Pass the invoice request error back via WS/Webhook

* Remove the MRH blinded payment path

* Fix incorrectly set Liquid address

* Fix notification error handling

* Fix BOLT12 offer webhook URL update

* Optimize requests during BOLT12 invoice creation

* Address review feedback

* Fix Wasm regtest issue with WS receive channel

* Update merged dependencies
2025-05-12 11:52:49 +00:00
Roei Erez
2f37e510e9 update version to 0.8.3 2025-05-04 12:01:09 +03:00
Ross Savage
759925c4b5 Update version to 0.8.2 2025-05-02 20:31:24 +02:00
Roei Erez
a7472f4651 update version to 0.8.1 2025-04-30 10:21:51 +03:00
Ross Savage
5b69c7beb2 BOLT12 receive (#882)
* Add BOLT12 receive payment handling

* Handle BOLT12 invoice requests via WS

* Fix invoice request subscription on stream initialisation

* Store the BOLT12 offer used to receive a payment

* Address review feedback

* Separate into create BOLT12 invoice fn

* Update all BOLT12 offers when webhook URL changes

* Deprecate Lightning for Bolt11Invoice
2025-04-29 11:43:45 +00:00
Ross Savage
586a349b75 Fixes the reference to the dart repo tag (#887)
* Fixes the reference to the dart repo tag

* ci(flutter): do not publish pubspec_overrides.yaml

* Run just version

---------

Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com>
2025-04-24 09:44:57 +00:00
Roei Erez
90cec4b18e update version to 0.8.0 2025-04-17 20:53:38 +03:00
Ross Savage
0c88e09fc3 Pay fees with USDT asset (payjoin) (#779)
* Add payjoin implementation

* Fix Core Wasm tests
2025-04-02 11:05:02 +00:00
Ross Savage
f748397829 Set framework CFBundleShortVersionString (#826) 2025-03-28 11:32:41 +01:00
yse
10e3ab71e0 feat: add Esplora client to chain services (#761)
Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com>
2025-03-27 10:40:10 +01:00
Ross Savage
ecd7c30d39 Add python 3.13 wheels (#813) 2025-03-26 18:35:13 +01:00
Erdem Yerebasmaz
c798fd882f Update Flutter plugin to match Dart plugin version (#794)
* Reference the same Flutter plugin version for Dart plugin instead of latest

* fix: removed breez-sdk-liquid-dart tag check

Removed if tag exists on remote as this script is run before the package is published
2025-03-26 00:43:46 +03:00
Ross Savage
15a0c46f76 Improve development guides (#809)
* Improve development guides

* Apply suggestions from code review

Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com>

* Add Firefox prerequisites

---------

Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com>
2025-03-25 17:23:04 +01:00
Ross Savage
7fcf45b887 Reintroduce 32bit builds (#808) 2025-03-25 11:22:04 +01:00
Ross Savage
895d5727e8 Lock cargo-expand install (#803) 2025-03-25 11:08:36 +01:00
Daniel Granhão
2952b6133e Expose real time synced event (#800) 2025-03-24 11:46:02 +00:00
Erdem Yerebasmaz
6d5aa3fc82 Update flutter_rust_bridge to version 2.9.0 (#789)
chore: update dependencies to latest resolvable on Dart/Flutter packages
2025-03-19 13:42:15 +03:00
Erdem Yerebasmaz
573a345801 Downgrade android release to Uniffi 0.25 (#786)
* fix: revert minSdkVersion across all uniffi packages

This PR fixes a regression introduced in https://github.com/breez/breez-sdk-liquid/pull/766 due to a confusion between minSdkVersion requirement & minimum compileSdkVersion requirement.

* Bump package requirements on flutter_breez_liquid README

* Bump JNA used on bindings tests to 5.14.0

* Downgrade android release to Uniffi 0.25

---------

Co-authored-by: Ross Savage <hello@satimoto.com>
2025-03-19 13:41:44 +03:00
Ross Savage
ddbed6b67c Dismiss replaceable notifications on service shutdown (#777) 2025-03-17 15:04:28 +01:00
Ross Savage
ba256ea51c Fix LNURL drain and payment info (#776)
* Fix LNURL-pay drain not working

* Add LNURL info and BIP353 address to Liquid payment details

* Add bip353_address to LiquidAddress SendDestination
2025-03-17 14:11:00 +01:00
Roei Erez
d349490e31 Merge branch 'v0.7.2-dev1'
* v0.7.2-dev1:
  update version to 0.7.2-dev1
  update version to 0.7.2.dev1
2025-03-12 16:03:38 +02:00
Ross Savage
9e83e06bd5 Update selected built packages to Uniffi 0.28 (#766) 2025-03-12 11:56:42 +01:00
Ross Savage
15968b0ead Handle transition error on TimedOut (#765)
* Remove internal error

* Handle transition error on TimedOut
2025-03-06 10:55:21 +01:00
Roei Erez
33e5ac5a16 fix clippy 2025-02-27 22:56:32 +02:00
Roei Erez
991f8603ee update version to 0.7.2-dev1 2025-02-24 16:15:27 +02:00
Roei Erez
486c6de890 update version to 0.7.2.dev1 2025-02-24 16:13:04 +02:00
Roei Erez
35f0e0fc3f Merge branch 'v0.7.0-package'
* v0.7.0-package:
  update version to 0.7.1
  Remove min 0-conf fee rate (#750)
  update version to 0.7.0
2025-02-24 11:44:16 +02:00
Erdem Yerebasmaz
5a6b495f6c chore: Update flutter_rust_bridge to 2.8.0 & update Flutter dependencies to latest (#727)
* chore: update Flutter dependencies to latest

Use Flutter version 3.27.4 on CI workflows

* chore: update flutter_rust_bridge to 2.8.0 and generate bindings

chore: update dependencies to latest

* Use Flutter 3.29.0 on CI workflows
2025-02-19 13:25:01 +03:00
Roei Erez
6d47d2964d update version to 0.7.1 2025-02-18 18:16:42 +02:00
Daniel Granhão
2f27042e65 Remove min 0-conf fee rate (#750)
(cherry picked from commit eb3b12021c)
2025-02-18 12:23:10 +00:00
Daniel Granhão
eb3b12021c Remove min 0-conf fee rate (#750) 2025-02-18 12:20:39 +00:00
Ross Savage
6bf203dd80 Add seed to ConnectRequest (#748)
* Add seed option to ConnectRequest

* Explicitly require mnemonic or seed
2025-02-17 17:37:06 +01:00
Roei Erez
8243f3bbf8 update version to 0.7.0 2025-02-17 15:12:16 +02:00
Daniel Granhão
fc03572588 Persist and expose BIP353 addresses (#718)
* Persist and expose BIP353 addresses

* Increment schema minor version

* Move bip353 address from LNURL context to SendDestination

* Update after sdk-common merge

* Address review

* Only try to insert bip353 address when available
2025-02-11 15:29:16 +00:00
Roei Erez
41bfaab8f1 Revert "Clean and update dependencies (#726)"
This reverts commit c52acd5ae7.
2025-02-09 17:49:30 +02:00
Daniel Granhão
99d8765681 Support regtest (#707)
* Support regtest

* Fix bindings, print and switch boltz client crate

* Remove stop-grace-period

* Fix docker compose issues

* feat: add rt-sync to regtest setup

* Configure local rtsync instance on default regtest config

* Bump sdk-common rev

* Fix compose restart missing quotation

* Specify platform only in base configurations

* Fix after rebase

---------

Co-authored-by: yse <hydra_yse@proton.me>
2025-02-07 16:00:59 +00:00
Daniel Granhão
c52acd5ae7 Clean and update dependencies (#726) 2025-02-07 13:59:00 +00:00
Roei Erez
0056429c0d Merge branch 'v0.7.0-rc4'
* v0.7.0-rc4:
  update version to 0.7.0-rc4
2025-02-06 13:06:12 +02:00
Ross Savage
0b4acc6f6a Add seed passphrase to ConnectRequest (#722)
* Add seed passphrase to ConnectRequest

* Fix tests
2025-02-06 11:32:47 +01:00
Roei Erez
2ae49043df update version to 0.7.0-rc4 2025-02-05 17:42:51 +02:00
Roei Erez
96ad2fcb5e Merge branch 'debug-ios-crash-on-push'
* debug-ios-crash-on-push:
  update version to 0.7.0-rc3
  Switch to pure AES implementation in ecies (#716)
  update version to 0.7.0-rc2
  Add logging to handle_push
  update version to 0.7.0-rc1
2025-02-05 17:31:59 +02:00
Roei Erez
8a0036d2d3 update version to 0.7.0-rc3 2025-02-04 21:46:31 +02:00
Roei Erez
3594943aec update version to 0.7.0-rc2 2025-02-04 18:43:04 +02:00
Ross Savage
d25598e6a4 Auto dismiss replaceable notifications (#711) 2025-02-04 16:53:40 +01:00