Commit Graph

17 Commits

Author SHA1 Message Date
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
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
63be6097e7 Move PaymentError to error.rs 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
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
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
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
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
ecc211e090 feat: add backup and restore functionality (#65) 2024-04-25 09:40:32 +02: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
ok300
908c9be111 Remove active_address from WalletInfo (#95) 2024-04-19 12:37:45 +02:00
yse
2929d668cf feat: add fee persistence to payments (#83) 2024-04-18 11:24:04 +02:00
ok300
7443a8717a Address uniffi feedback (#90)
* Replace invoice_amount_sat with payer_amount_sat

* Replace onchain_amount_sat with receiver_amount_sat
2024-04-17 20:57:51 +00:00
ok300
e2ace48b48 Add uniffi bindings (#59)
* Rename CLI and lib projects

* Place lib in a workspace

* Add uniffi package

* Bump uniffi version

* Add uniffi.toml config file to customize lib names

* Add makefile for kotlin, python, swift bindings

* Add missing PaymentError variant

* Rename BoltzGeneric error variant
2024-04-15 15:32:16 +00:00