#signatory #cdk #mint #cashu #key #embedded

bin+lib cdk-signatory

CDK signatory default implementation

22 releases (5 breaking)

new 0.15.0 Feb 17, 2026
0.14.3 Jan 11, 2026
0.14.2 Dec 5, 2025
0.14.2-rc.3 Nov 27, 2025
0.11.0 Jun 29, 2025

#131 in Magic Beans

Download history 118/week @ 2025-10-28 78/week @ 2025-11-04 57/week @ 2025-11-11 15/week @ 2025-11-18 14/week @ 2025-12-02 108/week @ 2025-12-09 47/week @ 2025-12-16 46/week @ 2025-12-23 8/week @ 2025-12-30 74/week @ 2026-01-06 151/week @ 2026-01-13 147/week @ 2026-01-20 93/week @ 2026-01-27 56/week @ 2026-02-03 62/week @ 2026-02-10

387 downloads per month
Used in 8 crates (2 directly)

MIT license

535KB
12K SLoC

In memory signatory

Implements the Signatory trait from cdk-common to manage the key in-process, to be included inside the mint to be executed as a single process.

Even if it is embedded in the same process, the keys are not accessible from the outside of this module, all communication is done through the Signatory trait and the signatory manager.


[!Warning] This project is in early development, it does however work with real sats! Always use amounts you don't mind losing.

crates.io Documentation License

Cashu Development Kit

CDK is a collection of rust crates for Cashu wallets and mints written in Rust.

ALPHA This library is in early development, the api will change and should be used with caution.

Project structure

The project is split up into several crates in the crates/ directory:

Development

For a guide to settings up a development environment see DEVELOPMENT.md

Implemented NUTs:

Mandatory

NUT # Description
00 Cryptography and Models
01 Mint public keys
02 Keysets and fees
03 Swapping tokens
04 Minting tokens
05 Melting tokens
06 Mint info

Optional

# Description Status
07 Token state check ✔️
08 Overpaid Lightning fees ✔️
09 Signature restore ✔️
10 Spending conditions ✔️
11 Pay-To-Pubkey (P2PK) ✔️
12 DLEQ proofs ✔️
13 Deterministic secrets ✔️
14 Hashed Timelock Contracts (HTLCs) ✔️
15 Partial multi-path payments (MPP) ✔️
16 Animated QR codes
17 WebSocket subscriptions ✔️
18 Payment Requests ✔️
19 Cached responses ✔️
20 Signature on Mint Quote ✔️
21 Clear Authentication ✔️
22 Blind Authentication ✔️
23 Payment Method: BOLT11 ✔️
25 Payment Method: BOLT12 ✔️
26 Payment Request Bech32m Encoding ✔️
27 Nostr Mint Backup ✔️

License

Code is under the MIT License

Contribution

All contributions are welcome.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.

Please see the development guide.

Dependencies

~41–64MB
~1M SLoC