Skip to main content

Crate cdk_mint_rpc

Crate cdk_mint_rpc 

Source
Expand description

§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-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.

Re-exports§

pub use proto::*;

Modules§

mint_rpc_cli
Module containing command-line interface functionality for the mint RPC client
proto
CDK mint proto types

Structs§

WalletAddressPage
A page of revealed wallet addresses.
WalletInfoError
Error returned while reading the configured on-chain wallet.
WalletTransactionPage
A page of wallet transactions.

Traits§

WalletInfoProvider
Supplies read-only information for the management wallet service.

Type Aliases§

CdkMintClient
Type alias for the CdkMintClient that works with any tower service
DynWalletInfoProvider
Dynamically dispatched wallet information provider.
InterceptedCdkMintClient
Type alias for CdkMintClient with the version header interceptor over a Channel
InterceptedWalletServiceClient
Type alias for WalletServiceClient with the version header interceptor over a Channel