Commit Graph

169 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
ok300
50a654b49c Merge branch 'main' into yse-remove-api-fields
# Conflicts:
#	packages/dart/lib/src/bindings.dart
#	packages/dart/lib/src/frb_generated.dart
#	packages/dart/lib/src/frb_generated.io.dart
#	packages/dart/lib/src/model.dart
#	packages/flutter/example/lib/main.dart
#	packages/flutter/lib/flutter_breez_liquid_bindings_generated.dart
2024-05-15 09:20:53 +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
3616a1c7b4 Add option to use local profile on Apple & Linux/Windows build scripts 2024-05-08 15:37:29 +03:00
Erdem Yerebasmaz
ad00b32bb5 Build libraries for Android, Apple & Linux platforms on bootstrap recipe
Fix filepath used on Linux & Windows script
2024-05-08 13:04:53 +03:00
Erdem Yerebasmaz
4dc16e565a Run dart format -l 110 2024-05-08 01:19:46 +03:00
Erdem Yerebasmaz
552865d508 Set line length back to 110 on Dart/Flutter projects 2024-05-08 01:19:31 +03:00
Ross Savage
612e2dd1f1 Merge pull request #162 from breez/savage-ci-fixes
Various CI fixes
2024-05-06 22:25:40 +02:00
Ross Savage
0f556a02ad Fix conversion of enum's in Kotlin 2024-05-06 17:46:51 +02:00
Ross Savage
8585217495 Fix RN example app 2024-05-06 16:21:38 +02:00
Ross Savage
360562744f Fix kotlin bindings sources 2024-05-06 16:19:50 +02:00
Erdem Yerebasmaz
cc85881a39 Merge pull request #161 from breez/flutter_ci
CI: Check Dart/Flutter bindings & run static code analysis for Dart/Flutter packages
2024-05-06 15:30:20 +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
74986f4d87 Add Troubleshooting section to README.md 2024-05-06 14:58:31 +03:00
Erdem Yerebasmaz
b3d9cf675a Install Melos as global package as part of just init
Update README accordingly
 - Remove Melos from prerequisites
2024-05-06 14:58:05 +03:00
Ross Savage
9edd68d08a Fix BindingWallet naming 2024-05-06 13:56:40 +02:00
Erdem Yerebasmaz
2246d9ca30 Add descriptions to just recipes
- Rename 'all' to 'bootstrap'
- Add 'frb' parameter to install 'frb' dependencies
- Disable test-flutter recipe
- Do not build library again child recipes of 'test'
2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
3071c36486 Generate Dart/Flutter bindings 2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
d2b054a39a Fix the path for generated docs 2024-05-06 11:10:17 +03:00
Erdem Yerebasmaz
52db699af0 Do not skip dependencies check when generating bindings 2024-05-06 11:10:17 +03:00
Erdem Yerebasmaz
fa1426ed07 Bundle the whole process under 'just all' command 2024-05-06 11:10:17 +03:00
Erdem Yerebasmaz
88f4958f11 List all just commands by default 2024-05-06 11:10:17 +03:00
Erdem Yerebasmaz
0c0287b465 Ignore symlink files for C headers
Remove symlink files from version control
2024-05-06 11:10:17 +03:00
Erdem Yerebasmaz
c782fbf058 Check Flutter bindings with CI
- Add static analysis step for Dart & Flutter packages
- Ignore warning for unused element on build scrips for Windows targets
- Continue if there are any errors with generating bindings
2024-05-06 11:10:17 +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
Ross Savage
309f7e7e39 Merge pull request #160 from breez/savage-fix-secp256k1-zkp
Change secp256k1-zkp source
2024-05-03 15:26:27 +02:00
Ross Savage
267819bb08 Change secp256k1-zkp dependency git source 2024-05-03 15:15:49 +02:00
Erdem Yerebasmaz
71c42b0b34 Update README and remove TODO 2024-05-03 16:05:40 +03:00