Commit Graph

26 Commits

Author SHA1 Message Date
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
Ross Savage
267819bb08 Change secp256k1-zkp dependency git source 2024-05-03 15:15:49 +02:00
Ross Savage
daa2a1b242 Add kotlin multiplatform bindings 2024-05-03 10:55:36 +02:00
ok300
33815fac05 Integrate ureq fix from Boltz Client (#148) 2024-05-02 18:29:45 +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
Erdem Yerebasmaz
c54e61ba2a Ran cargo fmt & added empty file for generated Bindings 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
47a8dde47d Integrate boltz-client fix for swapstatus (#111) 2024-04-29 11:01:34 +00:00
ok300
1accd632fc Bump boltz-client (#108)
* Bump boltz-client

* Include swap ID in errors
2024-04-26 12:46:09 +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
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
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
yse
efc970d1e0 feat: add json responses to cli (#81) 2024-04-09 21:30:02 +02:00
ok300
091c0ced8b Bump boltz-client, fix fee calculation (#68)
* Bump boltz-client, fix fee calculation

* Cargo fmt
2024-04-04 14:01:33 +00:00
yse
76278ac1b6 fix: update lib tests (#67) 2024-04-02 11:37:24 +02:00
yse
aec000f0fd fix: remove Boltz internal txid logging (#64) 2024-03-29 02:49:23 +01:00
ok300
076badca32 Bump boltz-client (#62)
* Bump boltz-client to the latest commit

* Fix error types

* Consolidate boltz_client Errors into one type
2024-03-26 19:42:35 +00:00
ok300
3ba213fa92 Bump lwk to v0.3.0 (#61) 2024-03-26 19:39:54 +00:00
ok300
a55b496f27 Remove unused dependency: tokio (#46) 2024-03-21 19:52:41 +00:00
yse
03c2c3918a feat: add invoice_amount_sat field to swaps (#33)
* fix: rebasing and updating cargo.lock

* feat: add `requested-amount-sat` field to pending swaps

* lint

* feat: added list-payments method

* linting

* feat: adding pending transactions to list-payments

* fix: rename received_amount to invoice_amount

* fix: renaming Pending to PendingReceive

* fix: remove expect from preimage unwrapping
2024-03-21 15:05:08 +01:00
ok300
865733c0a9 Simplify cargo dependencies (#35)
* Arrange dependencies alphabetically

* Reduce tokio feature set to minimum

* CLI: remove lwk dependencies

* lib: remove lightning dependency

* lib: remove rusqlite features
2024-03-21 07:30:17 +00:00
yse
21335d73aa feat: add primary methods for ongoing swaps (#28)
* Fix receive-payment by increasing claim absolute_fee

* feat: added sqlite methods for ongoing swaps

* fix: create specific error type when persisting swaps

---------
Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com>
2024-03-19 13:13:33 +01:00
ok300
865a2d6cf4 Simplify workspace layout 2024-03-18 14:07:56 +01:00