Commit Graph

16 Commits

Author SHA1 Message Date
ok300
ccf0b34c52 Change to blinding variant slip77 (#49) 2024-03-26 05:54:24 +01:00
ok300
4e3536f67f Derive Debug for relevant structs (#45) 2024-03-21 19:53:33 +00:00
yse
a32fffe1b8 fix: automatic directory creation on wallet startup (#47) 2024-03-21 20:53:02 +01:00
yse
a123d32651 feat: added onchain_amount_sat field to received swaps (#41) 2024-03-21 19:42:21 +01: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
d254496269 Add CI config (#37)
* Add CI config

* Cargo fmt

* Add cargo clippy CI step
2024-03-21 09:32:58 +00:00
ok300
516f95a685 Consolidate wallet initialization (#30)
* Consolidate wallet initialization
2024-03-19 12:39:08 +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
a2202ecbcd Fix receive-payment by increasing claim absolute_fee 2024-03-18 18:23:50 +01:00
ok300
682b45bc8f Simplify range validation 2024-03-18 16:54:38 +01:00
ok300
84adad9231 Remove unused variable 2024-03-18 15:52:34 +01:00
yse
0c020fbaf1 fix: set claim absolute fees to constant (#17) 2024-03-18 12:38:08 +01:00
yse
68b1fb13be fix: temporarily switching to no-persist (#20) 2024-03-18 12:06:03 +01:00
yse
72835423cb feat: add get_info method to wallet (#12)
* feat: initial `get_info` wallet method
* feat: add current active address to info
2024-03-18 10:41:41 +01:00
yse
c17bbc9c4f chore: splitting models and renaming wallet (#11)
* chore: split code and rename wallet
* chore: removing `wait_for_tx`
2024-03-13 10:27:57 +01:00
yse
ffadce402e feat: adding initial methods (#2)
Note that the structure is still experimental and subject to change, refer to breez-sdk-liquid#2 for more details
2024-03-13 09:10:26 +01:00