Commit Graph

94 Commits

Author SHA1 Message Date
Erdem Yerebasmaz
795be560e6 Add Cargo profile for ls-sdk-flutter scripts 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
09e1807f78 Add Dart/Flutter packages 2024-05-03 16:05:39 +03:00
Ross Savage
2ebf8b4bda Merge pull request #128 from breez/savage-kotlin-multiplatform
Add kotlin multiplatform bindings
2024-05-03 12:28:37 +02:00
Ross Savage
42d70838f5 Fix python test 2024-05-03 12:09:58 +02:00
Ross Savage
9b0d1a6203 Fix ordering of default fields 2024-05-03 11:42:56 +02:00
Ross Savage
daa2a1b242 Add kotlin multiplatform bindings 2024-05-03 10:55:36 +02: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
3221f883ac Rename ls-sdk-react-native 2024-05-02 18:17:58 +02:00
ok300
ce637b15bb Rename ls-sdk-core workspace member 2024-05-02 18:03:44 +02:00
ok300
cdd2f7dd3e Rename ls-sdk-bindings workspace member 2024-05-02 17:50:40 +02:00
yse
0aa699d5d3 fix: more robust resolve for pending swaps (#137) 2024-05-02 09:15:58 +02:00
ok300
a0a852b223 Merge branch 'ok300-rename-rust'
# Conflicts:
#	lib/ls-sdk-bindings/makefile
2024-05-02 08:11:44 +02:00
ok300
080698c2d1 Update receive to support only payer amount (#131) 2024-05-02 06:00:56 +00:00
ok300
cb7e753c95 Rename project: Rust, uniffi (#133)
* Rename rust crates, uniffi bindings

* Rename uniffi tests

* Rename uniffi UDL file
2024-05-02 05:44:47 +00:00
Ross Savage
8b1dc17fc3 Add python bindings 2024-04-30 22:54:47 +02:00
Ross Savage
7add324b2a Rename android, swift and react native bindings 2024-04-30 22:46:27 +02:00
ok300
c8174153cb Rename uniffi UDL file 2024-04-30 19:32:53 +02:00
ok300
f37f00a235 Rename uniffi tests 2024-04-30 19:25:39 +02:00
ok300
42865c116e Rename rust crates, uniffi bindings 2024-04-30 19:21:54 +02:00
Erdem Yerebasmaz
de70900ab7 Run make react-native 2024-04-29 19:16:48 +03:00
Erdem Yerebasmaz
d4adb5580f Return LsSdkError if getting a wallet instance fails
Add missing import
2024-04-29 18:51:29 +03:00
Erdem Yerebasmaz
0b07484bfd Rename init() to connect() 2024-04-29 18:41:37 +03:00
Erdem Yerebasmaz
08aa2eaeaf Revert "Apply frb's file structure changes to ls-sdk-bindings" 2024-04-29 18:41:37 +03:00
Erdem Yerebasmaz
c54e61ba2a Ran cargo fmt & added empty file for generated Bindings 2024-04-29 18:41:37 +03:00
Erdem Yerebasmaz
63be6097e7 Move PaymentError to error.rs 2024-04-29 18:41:37 +03:00
Erdem Yerebasmaz
cb7ccf35ac Add backup & restore to Dart bindings 2024-04-29 18:41:37 +03:00
Erdem Yerebasmaz
b0f35786d6 Expose LBtcReverseRecovery through crate explicitly on Rust input file of Dart bindings
Otherwise it won't be resolved on the generated files.
2024-04-29 18:41:37 +03:00
Erdem Yerebasmaz
7e21180fab Enable frb feature by default 2024-04-29 18:41:37 +03:00
Erdem Yerebasmaz
ba28e75244 Apply frb's file structure changes to ls-sdk-bindings 2024-04-29 18:41:37 +03:00
Erdem Yerebasmaz
f26818252d Create bindings for Dart/Flutter generation on Rust 2024-04-29 18:41:37 +03:00
Erdem Yerebasmaz
25d945d73f Add flutter_rust_bridge crate and make necessary changes on file structure
flutter_rust_bridge is added as a feature named "frb"
2024-04-29 18:41:37 +03:00
Ross Savage
8aef55ee51 Rename the manually coded init function to connect 2024-04-29 18:41:37 +03:00
ok300
4d710cde42 Update RN bindings 2024-04-29 18:40:41 +03:00
ok300
522bdaea5c Rename init() to connect() (#119)
* Rename init() to connect()

* Shorten commit ID for secp256k1-zkp dependency

* Update RN bindings

* Rename the manually coded init function to connect

* Update RN example app

---------

Co-authored-by: Ross Savage <hello@satimoto.com>
Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>
2024-04-29 15:25:48 +00:00
ok300
021d28c947 Expand error message on invalid swap state (#112) 2024-04-29 11:03:39 +00:00
ok300
47a8dde47d Integrate boltz-client fix for swapstatus (#111) 2024-04-29 11:01:34 +00:00
ok300
95a05cc428 CI: build bindings, add binding tests (#114)
* CI: build bindings, add binding tests

* Cargo fmt

* Add assertion in python binding test
2024-04-29 10:49:33 +00:00
ok300
1accd632fc Bump boltz-client (#108)
* Bump boltz-client

* Include swap ID in errors
2024-04-26 12:46:09 +02:00
ok300
a1ecdfed9a Add more details to swap_status error (#106)
* Add more details to swap_status error

* Cargo fmt
2024-04-25 20:52:46 +02:00
Ross Savage
14b7367f05 Add the React Native package build off of the generated bindings and example project 2024-04-25 13:57:11 +02:00
Ross Savage
4efb664dde Add code generation of React Native bindings 2024-04-25 13:46:02 +02:00
Ross Savage
567b077717 Add building of android bindings and swift bindings for iOS 2024-04-25 13:42:53 +02:00
yse
1d3ed4b00c feat: add fee calculation to payment receive (#101) 2024-04-25 10:56:21 +02:00
yse
ecc211e090 feat: add backup and restore functionality (#65) 2024-04-25 09:40:32 +02:00
ok300
6f598b7bbd LWK cache removal: remove dependency on hash tag (#102) 2024-04-23 15:56:25 +00:00
ok300
f138f6ae05 Rename BoltzError to Generic (#96)
* Rename BoltzError to Generic

* Alphabetically order error enum variants
2024-04-19 22:10:03 +02:00