195 Commits

Author SHA1 Message Date
Roei Erez
1ca3dce4ca update version to 0.10.1 2025-07-03 16:21:14 +03:00
Roei Erez
4ebdf96b17 update versions 2025-07-03 10:19:56 +03:00
Daniel Granhão
6f4b1a42d5 Merge pull request #944 from breez/daniel-set-boltz-client-api-key
Set api key on boltz client requests
2025-06-17 15:06:05 +01:00
Daniel Granhão
1124db0e91 Allow non-local swap claims (#934)
* Allow non-local swap claims

* Apply fixes and add sync E2E tests

* Extract txn mempool conflict check logic

* Fix wasm

* Wasm E2E test fixes

* Rollback partial sync changes

* Rollback E2E test changes

* Add delay before non local chain swap claim
2025-05-30 10:08:40 +01:00
Roei Erez
c2ade6148b Merge pull request #927 from breez/savage-update-kmp
Update Kotlin Multiplatform bindgen to uniffi 0.28
2025-05-27 13:01:17 +03:00
Roei Erez
90425ce0b6 Merge branch 'v0.9.1'
* v0.9.1:
  update version to 0.9.1
  Update CS and Go bindgen to uniffi 0.28 (#926)
  update lwk_wollet to fix tip update
  Rework draining to enable BOLT12 drain
  update version to 0.9.0
2025-05-25 14:35:19 +03:00
Ross Savage
af8e9d61ff Update Kotlin Multiplatform bindgen to uniffi 0.28 2025-05-23 16:26:30 +02:00
Ross Savage
e090c858bf Add payer note to BOLT12 invoice request (#930)
* Add payer note to BOLT12 invoice request

* Fix regtest

* Address review feedback
2025-05-23 14:21:26 +00:00
Ross Savage
ba301bdaf9 Update LWK for node.js compatible sleep (#931) 2025-05-22 13:50:19 +00:00
Roei Erez
19f1148bcd update version to 0.9.1 2025-05-22 14:56:50 +03:00
Roei Erez
95e301e95d update lwk_wollet to fix tip update
(cherry picked from commit c728bbaad2)
2025-05-20 13:01:59 +03:00
Roei Erez
c728bbaad2 update lwk_wollet to fix tip update 2025-05-20 10:53:47 +03:00
Roei Erez
f2b303fb33 update version to 0.9.0 2025-05-19 10:07:39 +03: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
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
71b66e553f Move dependency to breez org (#899) 2025-04-29 12:50:49 +00: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
Roei Erez
3c7781bbb4 Merge branch 'v0.8.0'
* v0.8.0:
  remove ubunto-20.04 as it is dprecated
  update version to 0.8.0
2025-04-22 17:53:43 +03:00
Daniel Granhão
e10c7b129a Prevent concurrent claim attempts (#883)
* Prevent concurrent claim attempts

* Add timeout to boltz client

* Use same timeout for boltz API and chain clients

* Update boltz client rev after merge
2025-04-21 10:33:19 +01:00
Roei Erez
90cec4b18e update version to 0.8.0 2025-04-17 20:53:38 +03:00
Daniel Granhão
09138c9d45 Wasm: wallet cache persistence (#868)
* Expose wallet cache persister

* Implement IndexedDB wallet cache persister

* Refactor wallet persister interfaces

* Implement Node Fs persister

* Encrypt wallet updates

* Remove unnecessary tokio_with_wasm features

* Improve async persist logs

* Fix flutter binding generation

* Use dynamic dispatch for wallet_cache_persister

* Optimize conditional compilation branching

* Address review

* Refactor structure
2025-04-10 14:46:16 +01:00
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
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
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
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
e1fdbd19d2 Add Wasm package (#814) 2025-03-31 18:18:53 +02:00
Daniel Granhão
35aeb62e36 WASM: fix clippy and tests (#823) 2025-03-27 22:56:53 +00: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
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
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
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
8c95ea5ac7 WASM: getting the current time (#795) 2025-03-21 11:46:28 +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
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
8509720cf4 Move mockall dependency (#783) 2025-03-17 11:54:34 +01:00
Roei Erez
1d5fda1428 Merge pull request #764 from breez/refactor-recoverer
Refactor recoverer
2025-03-15 16:21:40 +02:00
Daniel Granhão
7bd09aea5d WASM: Update boltz client dependency and use included wasm tokio-tungstenite (#769)
* Update boltz client dependency and use included wasm tokio-tungstenite

* Avoid unnecessary swapper init

* Update boltz client rev after merge
2025-03-15 10:29:35 +00:00
Roei Erez
79ca49d949 Add tests 2025-03-13 13:50:09 +02:00
Roei Erez
5fdb3471b8 update cargo.lock 2025-03-12 16:04:57 +02: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