mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-25 08:35:09 +01:00
* Split the database trait into read and transactions. The transaction traits will encapsulate all database changes and also expect READ-and-lock operations to read and lock records from the database for exclusive access, thereby avoiding race conditions. The Transaction trait expects a `rollback` operation on Drop unless the transaction has been committed. * fix: melt quote duplicate error This change stops a second melt quote from being created if there is an existing valid melt quote for an invoice already. If the first melt quote has expired then we allow for a new melt quote to be created. --------- Co-authored-by: thesimplekid <tsk@thesimplekid.com>
CDK Mintd
ALPHA This library is in early development, the API will change and should be used with caution.
Cashu mint daemon implementation for the Cashu Development Kit (CDK). This binary provides a complete Cashu mint server implementation.
Installation
From crates.io:
cargo install cdk-mintd
From source:
cargo install --path .
Configuration
The mint can be configured through environment variables or a configuration file. See the documentation for available options.
Usage
# Start the mint with default configuration
cdk-mintd
# Start with custom config file
cdk-mintd --config /path/to/config.toml
# Show help
cdk-mintd --help
License
This project is licensed under the MIT License.