Commit Graph

230 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
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
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
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
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
Dunsin
5763d70bf7 Update README: Add Breez API Key Instructions (#807)
* Update README: Add Breez API Key Instructions

* docs: add prerequisites step to README before run instructions
2025-03-26 14:26:06 +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
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
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
065bb7493e Improve WASM CI tests (#770) 2025-03-12 12:16:06 +01:00
Ross Savage
6d72fdce57 WASM: Interface (#757)
* Define common types

* Define sdk types

* Add SDK methods

* Add LiquidSdkBuilder

* Add callback interfaces

* Update CI for WASM

* Replace async and test macros

* Update sdk-common/macros dependencies
2025-03-11 06:21:46 +01:00
yse
74ef2c6f08 feat(wasm): switch to compatible rusqlite fork (#754)
Co-authored-by: Ross Savage <hello@satimoto.com>
2025-03-05 23:38:19 +01:00
yse
b616ca1877 feat(wasm): split dependencies and add base wrapper (#753)
Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>
2025-03-05 23:01:18 +01:00
Roei Erez
991f8603ee update version to 0.7.2-dev1 2025-02-24 16:15:27 +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
Ross Savage
b390864986 Chain swap: calculate cooperative tx size and allow immediate refund (#715)
* Calculate cooperative tx sizes

* Allow immediate refund of failed incoming chain swap

* Update to merged trunk

* Calculate refundable amount from utxos

* Revert removable of utxo selection

* Apply suggestions from code review

Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com>

---------

Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com>
2025-02-21 08:09:53 +01: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
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
yse
9fbf7774b8 feat: add client_id to rt-sync notifications (#747) 2025-02-17 16:31:31 +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
Daniel Granhão
87cc4a830e Switch to pure AES implementation in ecies (#716)
(cherry picked from commit d139f36756)
2025-02-04 21:44:31 +02:00
Daniel Granhão
d139f36756 Switch to pure AES implementation in ecies (#716) 2025-02-04 18:43:22 +00:00
Roei Erez
3594943aec update version to 0.7.0-rc2 2025-02-04 18:43:04 +02:00
Daniel Granhão
0c9d2b8cbe Prevent missing notifications due to concurrent SDK instances (#697)
* Prevent missing notifications due to concurrent SDK instances

* Expose swap claim tx id and use it to derive WaitingConfirmation in plugins

* Use id type as get payment request variant
2025-02-03 17:33:07 +00:00
Roei Erez
c1b7ea1302 update version to 0.7.0-rc1 2025-02-01 10:49:01 +02:00
Roei Erez
a57edbeace configure timeouts 2025-01-30 03:15:48 +02:00
Ross Savage
b24046c5e9 LNURL-pay drain (#674)
* LNURL-pay drain

* Fix min_sendable calculation
2025-01-29 14:44:46 +01:00