Commit Graph

196 Commits

Author SHA1 Message Date
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
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
07e91916e1 Merge pull request #165 from breez/savage-rn-kotlin-enum-fix
Fix conversion of enum's in Kotlin
2024-05-06 20:20:15 +02:00
Ross Savage
0f556a02ad Fix conversion of enum's in Kotlin 2024-05-06 17:46:51 +02:00
Ross Savage
6e15c7762d Remove Flutter waiting CI job 2024-05-06 16:31:41 +02:00
Ross Savage
8585217495 Fix RN example app 2024-05-06 16:21:38 +02:00
Ross Savage
cddb9cce37 Set the breez-liquid-sdk-swift ref branch 2024-05-06 16:19:50 +02:00
Ross Savage
360562744f Fix kotlin bindings sources 2024-05-06 16:19:50 +02:00
Ross Savage
aec163c05a Wait for swift publishing job for flutter and RN 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
Ross Savage
5815e7e7ed Merge pull request #163 from breez/savage-rn-binding-fix
Fix BindingWallet naming
2024-05-06 14:19:20 +02: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
b8738ed76f Add a dummy test for Dart package 2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
fe01c23334 Correct the library file path & profile on Dart package tests 2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
51142bd9b6 Generate FFI bindings 2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
fd14033edc Export error structs through Dart library 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
1501362757 Merge pull request #121 from breez/dart_packages
[frb] : Add support for Dart/Flutter bindings - Part II
2024-05-03 16:05:53 +03:00
Erdem Yerebasmaz
71c42b0b34 Update README and remove TODO 2024-05-03 16:05:40 +03:00
Erdem Yerebasmaz
9e8e647157 Use topmost .gitignore for flutter project 2024-05-03 16:05:40 +03:00
Erdem Yerebasmaz
2b56a76551 Add .flutter-version to .gitignore 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
3d1d3b5435 Remove obsolete files 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
5d966fc856 Move dart & flutter packages to packages folder on root 2024-05-03 16:05:39 +03:00