Files
cdk/crates/cdk-mint-rpc
C 238b09d56a Split the database trait into read and transactions. (#826)
* 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>
2025-06-28 12:07:47 +01:00
..
2025-03-25 23:27:38 +00:00
2025-05-29 09:38:10 -04:00

CDK Mint RPC

crates.io Documentation MIT licensed

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

gRPC server and CLI client for managing Cashu mints in the Cashu Development Kit (CDK).

Components

This crate includes:

  • gRPC server for mint management
  • CLI client for interacting with the gRPC server
  • Protocol definitions for mint management

Installation

From crates.io:

cargo install cdk-mint-cli

As a library:

[dependencies]
cdk-mint-rpc = "*"

Usage

CLI

# Show available commands
cdk-mint-cli --help

# Get mint info
cdk-mint-cli info

# Manage keysets
cdk-mint-cli keysets list

License

This project is licensed under the MIT License.