Commit Graph

240 Commits

Author SHA1 Message Date
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
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