thesimplekid
de5f9111e1
feat: mint url flag ( #765 )
2025-05-24 07:17:06 -04:00
David Caseria
0e250af87a
Export NUT-06 supported settings field ( #764 )
...
* Export NUT-06 supported settings field
* Fix doc test
2025-05-24 05:57:36 -04:00
thesimplekid
abf10da330
chore: update deps ( #761 )
2025-05-20 10:27:52 +01:00
thesimplekid
b63dc1045d
refactor: nut04 and nut05 ( #749 )
2025-05-19 09:49:11 +01:00
thesimplekid
fc2b0b3ea2
chore: bump version to 0.9.2 ( #760 )
...
* chore: bump version to 0.9.2
* chore: update changelog
2025-05-18 12:46:48 +01:00
thesimplekid
3920c6f9bc
fix: nut18 payment request encoding/decoding ( #758 )
...
* fix: nut18 payment request encoding/decoding
* refactor: reorder nut18fns
* refactor: reorder nut18
2025-05-18 10:04:02 +01:00
thesimplekid
70944500fc
chore: clippy mint_url ( #759 )
2025-05-18 09:05:44 +01:00
thesimplekid
c001375b32
fix: mint url trailing slash ( #757 )
2025-05-17 20:01:16 +01:00
thesimplekid
df0de05571
fix: get spendable to return witness ( #756 )
2025-05-17 20:00:49 +01:00
thesimplekid
67342ec793
feat: htlc from hash ( #753 )
...
* feat: htlc from hash
* chore: typos
2025-05-17 14:21:49 +01:00
thesimplekid
385ec4d295
feat: optional transport and nut10 secret on payment request ( #744 )
...
* feat: optional transport on payment request
* feat: create token for payment rquest
* feat: create payment request
* feat: arg append
2025-05-15 09:06:10 +01:00
thesimplekid
9ac387ae3d
Ln use common ( #751 )
...
* chore: cdk-cln use common
* feat: lnd use common
* feat: lnbits use common
2025-05-14 17:29:58 +01:00
thesimplekid
65e785561c
Update README.md
2025-05-14 16:24:37 +01:00
thesimplekid
e268866446
chore: clippy ( #750 )
...
* chore: clippy
* chore: fmt
2025-05-14 15:55:37 +01:00
thesimplekid
056ddecfeb
chore: update flake
2025-05-13 15:05:51 +01:00
lollerfirst
a4c2454e94
[PATCH + BUGFIX] Multinut LND re-query and use_mission_control ( #746 )
...
* patch LND re-query and use mission control + bugfix on the melt verification
* remove unusued import
* chore: fmt
---------
Co-authored-by: thesimplekid <tsk@thesimplekid.com >
2025-05-06 13:19:32 +01:00
thesimplekid
5a3a274875
fix: melt start up check ( #745 )
2025-05-06 11:33:24 +01:00
thesimplekid
34eb10fd9e
Mpp cdk cli ( #743 )
...
* refactor: Extract user input logic into a helper function
* feat: get multiple quotes (hacky)
* refactor: cdk-cli
* refactor: cdk-cli
* feat: refactor balances
2025-05-05 08:41:54 +01:00
thesimplekid
c1d6880daa
Merge pull request #740 from KnowWhoami/test/remove_anyhow
...
test: use `expect` / `unwrap` instead of `anyhow`
2025-05-01 12:43:05 +01:00
KnowWhoami
ffce3a8aef
test: use expect/unwrap instead of anyhow
2025-05-01 03:29:43 +05:30
thesimplekid
4c80108ace
Merge pull request #739 from thesimplekid/fix_ws_commands
...
fix: Update SupportedMethods with WsCommand enum and new constru…
2025-04-29 09:44:37 +01:00
thesimplekid
d880bb13cc
refactor: Update SupportedMethods with WsCommand enum and new constructor
2025-04-29 08:53:55 +01:00
thesimplekid
052f4e812d
Merge pull request #737 from thesimplekid/replace_testnut
...
feat: use tsk testmint
2025-04-29 08:07:40 +01:00
thesimplekid
a113bb16c4
Merge pull request #738 from crodas/fix/race-condition-tests
...
Fix race condition
2025-04-29 08:06:53 +01:00
Cesar Rodas
2dec11e1e4
Fix race conditions
...
Because of the nature of Rust tests, the nutshell integration test has a race
condition. Triggering the issue in the local environment was hard, but it
happens more often in #509 because all the keys are read from memory without
blocking the database.
The error happens because, by default, Rust tests run in parallel, and maybe by
design or by mistake, the external wallet did not increase its counter until
the completion of the minting. This led to some tests having the same blinded
messages, and the fastest test would mint successfully. The slowest test would
result in the CDK failing to sign duplicated blinded messages.
In any case, the fix is on the rust side, running the tests sequentially.
2025-04-28 18:53:41 -03:00
thesimplekid
63e6a4d610
feat: use tsk testmint
2025-04-27 16:21:25 +01:00
thesimplekid
7ae5a0c8b9
Merge pull request #736 from thesimplekid/prepare_v0.9.1
...
chore: bump CDK version from 0.9.0 to 0.9.1
2025-04-23 19:59:28 +01:00
thesimplekid (aider)
d8dad5dc7c
chore: bump CDK version from 0.9.0 to 0.9.1
2025-04-23 18:54:05 +01:00
thesimplekid
d57abea048
Merge pull request #734 from thesimplekid/fix_remove_urls
...
fix: remove urls grpc
2025-04-23 18:49:37 +01:00
thesimplekid
1fbb6c7aa9
fix: remove urls grpc
2025-04-23 17:05:26 +01:00
thesimplekid
1683bc10a7
Merge pull request #733 from aki-mizu/main
...
update lnbits-rs to 0.5.0
2025-04-23 09:49:39 +01:00
Darrell
bac711d9fd
update lnbits-rs to 0.5.0
2025-04-23 16:44:59 +09:00
C
15e10c0e90
Merge pull request #730 from crodas/fix/race-condition-state-update
...
Fix race conditions with proof state updates.
2025-04-22 11:24:58 -04:00
Cesar Rodas
25fad98aa8
Fix formatting
2025-04-22 11:43:25 -03:00
C
5505f0b5d7
Apply suggestions from code review
...
Co-authored-by: thesimplekid <tsk@thesimplekid.com >
2025-04-22 09:30:21 -04:00
thesimplekid
db14c1aecc
Merge pull request #731 from thesimplekid/fix_p2pk_multi_sig
...
Fix p2pk multi sig
2025-04-22 12:48:46 +01:00
thesimplekid
570782e3b6
chore: clippy
2025-04-22 11:29:36 +01:00
thesimplekid
8379da2655
fix: only could sigs from unique pubkeys
2025-04-22 11:29:36 +01:00
thesimplekid
48fd3c652b
test: multiple sigs
2025-04-22 11:29:36 +01:00
thesimplekid
204ff46dc4
Merge pull request #732 from thesimplekid/update_stable_rust
...
chore: update stable rust to 1.86.0
2025-04-22 11:21:16 +01:00
thesimplekid
06a3237977
chore: update stable rust to 1.86.0
2025-04-22 10:12:15 +01:00
Cesar Rodas
81a6d68ef3
Remove wallet states from check_state_transition
2025-04-20 11:17:03 -03:00
Cesar Rodas
abdde307c6
Fix race conditions with proof state updates.
...
Add a strict set of updates to prevent incorrect state changes and correct
usage. Supporting the transaction at the trait level prevented some cases, but
having a strict set of state change flows is better.
This bug was found while developing the signatory. The keys are read from
memory, triggering race conditions at the database, and some `Pending` states
are selected (instead of just selecting `Unspent`).
This PR also introduces a set of generic database tests to be executed for all
database implementations, this test suite will make sure writing and
maintaining new database drivers
2025-04-19 18:15:42 -03:00
thesimplekid
3626dd2f6a
Merge pull request #727 from thesimplekid/fix_debug_info_panic
...
Fix debug info panic
2025-04-14 12:10:32 +01:00
thesimplekid
717742be05
fix: debug print of info
2025-04-13 22:21:43 +01:00
thesimplekid (aider)
f5f3e50507
fix: Correct mnemonic hashing in Debug implementation
2025-04-13 22:19:41 +01:00
thesimplekid
607cdf23d4
feat: Add robust mnemonic hashing and debug tests for Info struct
2025-04-13 22:19:39 +01:00
thesimplekid
7715d45f3b
Merge pull request #724 from thesimplekid/token_value_uniqe
...
refactor: Ensure unique proofs when calculating token value
2025-04-11 10:03:57 +01:00
thesimplekid
43d1d75b7e
feat: mint should not enforce expiry ( #723 )
2025-04-11 09:26:19 +01:00
thesimplekid (aider)
3b5c8b5c5e
refactor: Ensure unique proofs when calculating token value
2025-04-10 23:21:58 +01:00