Commit Graph

47 Commits

Author SHA1 Message Date
thesimplekid
be5e5d2371 chore: prepare v0.7.0 2025-02-06 13:12:16 +00:00
lollerfirst
f2e1940cc7 [NUT-15] LND Support for MPP Payments (#536)
---------

Co-authored-by: thesimplekid <tsk@thesimplekid.com>
2025-02-06 09:30:48 +00:00
thesimplekid
67be74abb8 feat: tests on lnd node 2025-01-24 14:55:02 +00:00
thesimplekid
486f98bc8b feat: lnd mint 2025-01-23 23:45:31 +00:00
thesimplekid
72c66af8b7 feat: second lnd node 2025-01-23 20:56:01 +00:00
thesimplekid
a9662d0362 refactor: add second cln node 2025-01-20 21:07:21 +00:00
thesimplekid
c5d4fa52ef refactor: regtest mint as bin 2025-01-13 20:58:19 +00:00
Cesar Rodas
760564cee0 Introduce subscription support in the Wallet crate.
The main goal is to add a subscription to CDK Mint updates into the wallet.
This feature will be particularly useful for improving the code whenever loops
hit the mint server to check status changes.

The goal is to add an easy-to-use interface that will hide the fact that we're
connecting to WebSocket and subscribing to events. This will also hide the fact
that the CDK-mint server may not support WebSocket updates.

To be fully backward compatible, the HttpClientMethods traits have a new
method, `subscribe,` which will return an object that implements
`ActiveSubscription.`

In the primary implementation, there is a `SubscriptionClient` that will
attempt to connect through WebSocket and will fall to the HTTP-status pull and
sleep approach (the current approach), but upper stream code will receive
updates as if they come from a stream of updates through WebSocket. This
`SubscriptionClient` struct will also manage reconnections to WebSockets (with
automatic resubscriptions) and all the low-level stuff, providing an
easy-to-use interface and leaving the upper-level code with a nice interface
that is hard to misuse. When `ActiveSubscription` is dropped, it will
automatically unsubscribe.

Fixed bug with Default as described in https://github.com/cashubtc/cdk/pull/473#discussion_r1871032297
2024-12-08 16:25:00 +00:00
thesimplekid
c8f82b29d0 chore: remove bindings from cdk repo 2024-11-19 14:57:53 +00:00
thesimplekid
357957d2ac chore: changelog 2024-11-19 10:22:32 +00:00
thesimplekid
187664439c refactor: mint into mods 2024-09-30 22:45:57 +02:00
thesimplekid
610571d05b fix: itest change ordering 2024-09-30 20:43:04 +02:00
thesimplekid
7ea568e615 feat: sql store signatures dleq 2024-09-30 12:20:43 +02:00
thesimplekid
5139c47dac feat: check outgoing payment status flow 2024-09-25 20:28:05 +02:00
thesimplekid
3413c24936 ci: add db matrix to ci 2024-09-21 11:10:38 +02:00
thesimplekid
4a0637a6a5 feat: itests select db 2024-09-21 11:10:38 +02:00
thesimplekid
f9bb5eb913 feat: itests
fix: melt change promises amount
2024-09-19 11:43:43 +02:00
thesimplekid
a06b52039c fix: itest cdk version 2024-09-08 22:39:12 +01:00
thesimplekid
3bf1a3b28f chore: version cdk in other crates 2024-09-08 22:12:06 +01:00
thesimplekid
e065662328 chore: justfile doc check 2024-08-31 20:00:23 +01:00
thesimplekid
bc3b7b28c3 chore: fmt flake and add custom justfile 2024-08-31 16:40:56 +01:00
thesimplekid
e2041d3928 chore: flakebox install 2024-08-29 11:41:12 +01:00
thesimplekid
65163b89bc refactor: check scripts for justfile
chore: ci run examples
2024-08-19 14:48:45 +02:00
thesimplekid
e8114f3383 feat(tests): integration test 2024-08-19 00:01:30 +02:00
thesimplekid
e4069c0243 chore: use workspace version 2024-08-08 10:11:31 -04:00
thesimplekid
bc9fad9e0e feat: strike api for mint backend
feat: Use mint melt settings
2024-07-22 16:16:05 +01:00
thesimplekid
e0efd316d1 feat: Mint fake wallet ln backend 2024-07-16 17:01:56 +01:00
thesimplekid
6a315fc3b9 feat: mintd axum server
feat: deafult NUT-04 and NUT-05 settings to enable bolt11 sats
2024-07-05 23:49:31 +01:00
thesimplekid
16aeec92c7 feat: cln lightning 2024-07-05 23:49:31 +01:00
thesimplekid
6c3f67392b chore: typos in precommit 2024-07-05 22:50:34 +01:00
thesimplekid
04a463be1f feat(wallet): make wallet single mint and unit
feat(wallet): cli use mint with one url and unit

feat(wallet): remove p2pk keys from wallet

feat(wallet): multimint wallet
2024-06-27 12:09:44 +01:00
thesimplekid
5ebdd4f506 feat: cdk-cli 2024-06-09 00:04:20 +01:00
thesimplekid
bbc63306db feat: mint sqlite 2024-06-08 10:34:39 +01:00
thesimplekid
24688deb80 chore: add examples to ci 2024-06-07 00:27:06 +01:00
thesimplekid
c64c741e14 feat: nostr receive 2024-05-19 10:33:37 +01:00
David Caseria
2a09dff5c6 Address PR feedback 2024-05-14 20:27:07 -04:00
thesimplekid
21c8b18dc4 chore: update ci and add binding script 2024-05-10 11:27:32 +01:00
thesimplekid
7d714a2fc5 chore: precommit scripts for bindings 2024-05-10 11:27:32 +01:00
thesimplekid
54a0b13104 chore: add cdk-redb to precommit check 2024-04-24 17:06:35 +01:00
thesimplekid
c77feec5e5 chore: fix precommit scrips check
This removes rustup from the scripts. As rust versions should be managed
through the nix shell and not rust up.
2024-04-24 16:33:42 +01:00
Yuki Kishimoto
61c80606f6 cdk: adj. code according to CODE_STYLE and remove serde_utils mod
* Remove `wallet` and `mint` features from `nuts` module
* Sort dependencies in ASC order
* Fix `check-docks.sh` script

Closes https://github.com/cashubtc/cdk/issues/88
Closes https://github.com/cashubtc/cdk/issues/87

Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
2024-04-18 09:31:36 +02:00
thesimplekid
a17eb0f67e fix: script and ci cdk 2024-04-12 12:07:26 +01:00
thesimplekid
f7b7a2a506 refactor: update CI and script for one cdk crate 2024-04-10 23:04:07 +01:00
Yuki Kishimoto
02fd33225c Add misc/scripts
Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
2024-04-10 17:54:44 +02:00
thesimplekid
003ecb9dba chore: update flakebox files 2023-12-19 21:50:42 +00:00
thesimplekid
9f126e3ed2 chore: update flakebox 2023-11-10 21:31:54 +00:00
thesimplekid
bf5ea01c1f improve: nix flakebox fmt 2023-10-22 18:36:52 +01:00