mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-05 22:15:46 +01:00
* feat(cdk): add amount_mintable method and improve mint quote validation - Add MintQuote::amount_mintable() method to calculate available mint amount - Update mint issue logic to use centralized amount calculation - Add validation for Bolt11 payment amounts matching quote amounts - Improve error handling and logging for quote amount mismatches
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.