mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-01 03:55:22 +01:00
* feat: refresh keysets * fix(cdk): resolve keyset counter skipping index 0 in deterministic secret generation - Modified Database::get_keyset_counter to return u32 instead of Option<u32> - Added database migrations to increment existing keyset counters by 1 - Removed counter increment logic from wallet operations to use actual counter value - Ensures deterministic secret generation starts from index 0 instead of skipping it
CDK Common
ALPHA This library is in early development, the API will change and should be used with caution.
Common types and utilities shared across the Cashu Development Kit (CDK) crates.
Installation
Add this to your Cargo.toml:
[dependencies]
cdk-common = "*"
Features
This crate provides common functionality used across CDK crates including:
- Common data types and structures
- Shared traits and interfaces
- Utility functions
- Error types
License
This project is licensed under the MIT License.