Commit Graph

36 Commits

Author SHA1 Message Date
ok300
177127d376 Update flutter bindings 2024-05-15 09:41:06 +02:00
ok300
6b88461341 Add PaymentError::Refunded to UDL 2024-05-15 09:22:47 +02:00
yse
67aa6a38f8 fix: reword lockup tx error 2024-05-14 15:45:49 +02:00
yse
4496318089 fix: renaming 2024-05-14 15:44:30 +02:00
yse
70e2db708a feat: add better fee estimation 2024-05-14 15:33:26 +02:00
yse
5a9dc1d5ce feat: fix fee calculation issues 2024-05-14 13:05:55 +02:00
yse
55804e88c5 feat: add double lockup checks and resolve on claim details 2024-05-14 13:05:55 +02:00
yse
a92e83a446 feat: improve send and refund 2024-05-14 13:05:54 +02:00
yse
28d4f264eb feat: add refund and improve send flow 2024-05-14 13:05:27 +02:00
ok300
a1e437a04e Fix error handling in receive_payment 2024-05-13 17:05:50 +02:00
ok300
6b58682a91 Receive: broadcast claim tx when lockup tx in mempool 2024-05-12 18:34:44 +02:00
ok300
8f93587129 Extract get_liquid_swap_key() 2024-05-12 18:06:00 +02:00
yse
2e8bbb3e4a fix: change send_payment resolve 2024-05-10 18:20:24 +02:00
ok300
5476ddad54 Add non-blocking socket (fix #173) 2024-05-09 22:58:39 +02:00
ok300
d8cbcce5ae Correctly handle swap status parsing errors 2024-05-09 21:45:04 +02:00
ok300
fb7190032a Bump boltz-rust client to latest patch level 2024-05-09 21:22:57 +02:00
ok300
91b6598cf8 Update claim conditions for pending rev swaps 2024-05-09 20:59:48 +02:00
ok300
135fa9da62 Rev swap claims: broadcast claim tx with lowball fees 2024-05-09 20:58:40 +02:00
ok300
e4353b75be Use correct ElectrumConfig when claiming 2024-05-09 19:35:51 +02:00
ok300
dc569f0721 Simplify swap subscription 2024-05-09 16:11:50 +00:00
ok300
24861cb372 Track swap status updates via websocket event stream 2024-05-09 16:11:50 +00:00
ok300
d67756bf43 Migrate receive-payment to V2 API, use WS to get status 2024-05-09 16:09:12 +00:00
yse
18257dbc91 feat: migrate send_payment to v2 (#171) 2024-05-09 15:47:23 +03:00
yse
be3120c935 feat: remove PrepareSendResponse fields
feat: add `PrepareSendRequest` object

fix: rename to `claim_tx_feerate`

fix: fix reverse submarine test

feat: improve prepare_send and prepare_receive interfaces

fix: use v2 to broadcast lowball tx

feat: finalize prepare_send and prepare_receive

feat: remove manual BTC pair from response

fix: remove `pair_hash` from PrepareReceive

rebasing

updating Cargo.lock

fix: update lbtc pair method names

fixing bindings

fix: re-add uniffi_macros

add comment to elements dependency

fix: switch back to v1 fee calculation

fix: revert to v1 pair hash

fix: simplify migrations

fix: rename `FeesExpired` to `InvalidOrExpiredFees`

Log error when list_ongoing_swaps() fails

Log swap ID when list_ongoing_swaps() succeeds

Migrations: add missing ongoing_receive_swaps field

Clarify swap type (reverse vs submarine) in logs
2024-05-09 11:26:10 +03:00
Erdem Yerebasmaz
05689299f0 Update flutter_rust_bridge to 2.0.0-dev.33
Update dependencies to latest & increase the supported range
2024-05-06 14:58:31 +03:00
Erdem Yerebasmaz
3071c36486 Generate Dart/Flutter bindings 2024-05-06 14:50:20 +03:00
ok300
8a1508ab07 Rename wallet to SDK or LiquidSdk (#157)
* Rename global instance in bindings.rs

* Rename wallet to SDK or LiquidSdk

* Rename BindingWallet to BindingLiquidSdk

* Rename wallet to lwk_wollet, signer to lwk_signer

* Rename LsSdkError to LiquidSdkError

* Cargo fmt

* Rename LsSdkError in RN generator

---------

Co-authored-by: Ross Savage <hello@satimoto.com>
2024-05-03 13:53:37 +00:00
Erdem Yerebasmaz
fc85f4f488 Generate Dart/Flutter bindings 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
d5ae712568 Generate Dart bindings & C Headers
- Enable full dependencies
2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
31d37cc05e Add suitable crate-types are configured for target devices
- lib is required for non-library targets, such as tests and benchmarks
- staticlib is required for iOS
- cdylib for all other platforms
2024-05-03 16:05:39 +03:00
ok300
708a3526c7 Add request, response to API methods (#153)
* Add request, response to get_info()

* Add request, response to prepare_send_payment()

* Add request, response to restore()

* Add request, response to connect()

* Update lib/bindings/src/breez_liquid_sdk.udl

Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>

* Update lib/bindings/src/breez_liquid_sdk.udl

Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>

* Update lib/core/src/bindings.rs

Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>

* Fix bindings.rs call

* Update connect to handle ConnectRequest

---------

Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>
Co-authored-by: Ross Savage <hello@satimoto.com>
2024-05-03 08:48:03 +00:00
ok300
92542876e5 Merge branch 'ok300-rename-lib-folders' 2024-05-02 21:11:55 +02:00
ok300
33815fac05 Integrate ureq fix from Boltz Client (#148) 2024-05-02 18:29:45 +00:00
ok300
3df6a5c3d4 CLI: Allow choosing custom network (#151)
* CLI: Allow choosing custom network

* Cargo fmt
2024-05-02 18:27:31 +00:00
ok300
6589a8799b Rename workspace members (subfolders) (#149)
* Rename ls-sdk-bindings workspace member

* Rename ls-sdk-core workspace member

* Rename ls-sdk-react-native
2024-05-02 18:22:32 +00:00
ok300
ce637b15bb Rename ls-sdk-core workspace member 2024-05-02 18:03:44 +02:00