Commit Graph

677 Commits

Author SHA1 Message Date
Ross Savage
e885ddcb26 Strip input prefix before bip353 lookup (#869)
* Update lock for boltz-rust

* Strip input prefix before bip353 lookup
2025-04-09 08:59:17 +00:00
Roei Erez
51ef43043c fix realtime sync url for wasm 2025-04-08 12:42:43 +03:00
yse
8a33bb42e6 feat: switch Esplora client url to Breez server instance (#845)
Co-authored-by: Ross Savage <mr.dangeross@googlemail.com>
2025-04-08 10:27:13 +02:00
Ross Savage
58c94c6105 Fix clippy issues for rust 1.86.0 (#864) 2025-04-08 06:00:49 +00:00
Ross Savage
826ae786e4 Add a waterfalls method of fetching scripts history (#858) 2025-04-07 12:42:09 +00:00
Ross Savage
ff49831e90 LWK waterfalls fixes (#853)
* Enable use of the derivation index to scan to with waterfalls

* Page waterfalls requests
2025-04-07 07:40:20 +00:00
Daniel Granhão
42a489722b WASM: db backups (#851)
* WASM: db backups

* Address review feedback

* Log backup recovery errors and proceed
2025-04-06 10:03:33 +01:00
Ross Savage
59ab0578d6 Wasm: Reset interval after sync (#860)
* Reset interval after sync

* Update lightning dependency to 0.1.2

* Move reset to end of the block
2025-04-05 07:18:47 +02:00
Ross Savage
3f94fd970a Fix clippy test issues (#850)
* Fix clippy test issues

* Address review feedback
2025-04-03 10:21:27 +00:00
Ross Savage
cf601f4622 Store claim/refund addresses (#849)
* Store claim/refund addresses

* Store receive claim address before constructing the tx
2025-04-03 06:28:32 +02:00
Daniel Granhão
f437c9194e Add regtest end-to-end tests (#816)
* Add regtest end-to-end tests

* Check that regtest environment is set up

* Add todo comment

* Add missing gloo-timers feature

* Link GH issues

* Update DEVELOPMENT.md

* Update boltz submodule

* Fix after rebase
2025-04-03 01:26:21 +01: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
f813939529 Adds Logger interface for Wasm (#835) 2025-04-01 16:19:38 +02:00
Daniel Granhão
c8b59d76a3 WASM: fix remaining sleep and current time uses (#840) 2025-04-01 14:42:57 +01:00
yse
126bfc651b fix: use lazy init for all swapper clients (#841) 2025-04-01 09:10:36 +02:00
Ross Savage
e1fdbd19d2 Add Wasm package (#814) 2025-03-31 18:18:53 +02:00
Ross Savage
63cd6ead36 Only full_scan_to_index when not using waterfalls (#833) 2025-03-31 10:28:18 +02:00
Ross Savage
f748397829 Set framework CFBundleShortVersionString (#826) 2025-03-28 11:32:41 +01:00
Daniel Granhão
35aeb62e36 WASM: fix clippy and tests (#823) 2025-03-27 22:56:53 +00:00
yse
640821a95d feat: use esplora for lwk wollet (#818) 2025-03-27 17:54:12 +01:00
yse
84fe545a3d fix[wasm]: typo (#822) 2025-03-27 15:20:21 +01:00
Ross Savage
165a0e7ff9 Fix println (#820) 2025-03-27 13:54:25 +01:00
Ross Savage
1d111d0c30 Use MaybeSend + MaybeSync for all traits (#817) 2025-03-27 13:26:24 +01:00
yse
9b9d0ee2c4 fix[wasm]: minor compilation issues (#819) 2025-03-27 12:58:00 +01:00
yse
89c18c541b feat: add Esplora support to Boltz swapper (#805)
Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com>
2025-03-27 12:55:56 +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
Daniel Granhão
80f6156c87 WASM: fix various minor issues (#810)
* Use tokio-stream on wasm builds

* Add missing MaybeSend/Sync

* Fix unused warning

* Exclude From<UrlError> impl
2025-03-26 01:23:36 +00: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
0918330141 WASM: Conditionally add MissedTickBehavior (#806)
* Conditionally add MissedTickBehavior

* Directly reference MissedTickBehavior
2025-03-25 13:30:21 +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
37979e6052 WASM: spawn task (#797) 2025-03-24 14:50:46 +00:00
Daniel Granhão
95fade5c1c WASM: sync grpc client (#790) 2025-03-24 14:00:16 +00:00
Daniel Granhão
a06c6d522e WASM: prevent filesystem access (#792)
* WASM: prevent filesystem access

* Exclude logger module on wasm

* Drop use of conditional compilation in `LiquidOnchainWallet`

* Expose `LiquidSdkBuilder` and configure build for wasm

* Move working_dir setup and log header to connect with signer

* Add in memory persister constructor

* Drop builder connect method

* Remove `empty_wallet_cache` from WASM interface

* Impose custom persister on wasm
2025-03-24 13:31:22 +00:00
Daniel Granhão
2952b6133e Expose real time synced event (#800) 2025-03-24 11:46:02 +00:00
Ross Savage
3088526bdf Add missing lnurl_info/bip353_address to wasm (#804) 2025-03-24 12:21:37 +01:00
Ross Savage
fb232f0707 Setup emscripten (#782) 2025-03-24 06:21:58 +01:00
Ross Savage
3ad0cabc72 WASM: Update secp256k1-zkp patch (#780)
* Update secp256k1-zkp patch

* Change repository org
2025-03-24 05:31:45 +01:00
Daniel Granhão
9fd9f96acb WASM: run core crate tests on wasm (#799) 2025-03-23 22:59:13 +00:00
Daniel Granhão
8c95ea5ac7 WASM: getting the current time (#795) 2025-03-21 11:46:28 +00:00
Daniel Granhão
a2076b86b4 WASM: lock frb and bindings modules (#791) 2025-03-19 23:54:15 +00:00
Ross Savage
07a7f06ec0 Fix pending receive balance (#787) 2025-03-19 21:03:21 +01: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
Daniel Granhão
116a898c21 Fix swap recovery before wallet scan (#775)
* Fix swap recovery before wallet scan

* Only do full scan when required

* Move scan to `recover_from_onchain`

* Cache index without buffer
2025-03-17 13:29:19 +00: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
Ross Savage
8509720cf4 Move mockall dependency (#783) 2025-03-17 11:54:34 +01:00