mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-31 19:45:23 +01:00
* feat(cdk-integration-tests): refactor regtest setup and mintd integration - Replace shell-based regtest setup with Rust binary (start_regtest_mints) - Add cdk-mintd crate to workspace and integration tests - Improve environment variable handling for test configurations - Update integration tests to use proper temp directory management - Remove deprecated start_regtest.rs binary - Enhance CLN client connection with retry logic - Simplify regtest shell script (itests.sh) to use new binary - Fix tracing filters and improve error handling in setup - Update dependencies and configurations for integration tests fix: killing chore: comment tests for ci debugging chore: compile Revert "chore: comment tests for ci debugging" This reverts commit bfc594c11cf37caeaa6445cb854ae5567d2da6bd. * chore: sql cipher * fix: removal of sqlite cipher * fix: auth password * refactor(cdk-mintd): improve database password handling and function signatures - Pass database password as parameter instead of parsing CLI args in setup_database - Update function signatures for run_mintd and run_mintd_with_shutdown to accept db_password - Remove direct CLI parsing from database setup logic - Fix auth database initialization to use correct type when sqlcipher feature enabled
CDK Mint RPC
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-rpc
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.