#mint #grpc #cdk #mints

bin+lib cdk-mint-rpc

CDK mintd mint management RPC client and server

6 releases

new 0.9.1 Apr 23, 2025
0.9.0 Apr 9, 2025
0.8.1 Mar 25, 2025
0.7.1 Feb 13, 2025

#122 in Magic Beans

Download history 132/week @ 2025-02-05 142/week @ 2025-02-12 6/week @ 2025-02-19 27/week @ 2025-02-26 161/week @ 2025-03-19 92/week @ 2025-03-26 2/week @ 2025-04-02 138/week @ 2025-04-09 8/week @ 2025-04-16

342 downloads per month
Used in cdk-mintd

MIT license

420KB
9K SLoC

Cashu Mint Management RPC

This crate is a gRPC client and server to control and manage a CDK mint. This crate exposes a server component that can be imported as a library component, see its usage in cdk-mintd. The client can be used as a CLI by running cargo r --bin cdk-mint-cli.

The server can be run with or without certificate authentication. For running with authentication, see the Certificate Generation Guide for instructions on creating the necessary certificates using the included generate_certs.sh script.

Overview

The cdk-mint-rpc crate provides:

  1. A gRPC server for managing Cashu mints
  2. A CLI client (cdk-mint-cli) for interacting with the gRPC server

This allows mint operators to manage their Cashu mint instances remotely through a secure gRPC interface.

Features

  • Remote mint management via gRPC
  • Secure authentication
  • Command-line interface for common mint operations
  • Integration with other CDK components

Usage

CLI Client

The cdk-mint-cli provides a command-line interface for interacting with the mint:

# Using cargo to run the CLI with a specific address
cargo r --bin cdk-mint-cli -- --addr https://127.0.0.1:8086 get-info

This crate is part of the Cashu Development Kit (CDK) ecosystem:

  • cdk: Core Cashu protocol implementation
  • cdk-mintd: Cashu Mint Binary

License

MIT License

Dependencies

~37–53MB
~1M SLoC