Skip to main content

Crate cdk_ffi

Crate cdk_ffi 

Source
Expand description

CDK FFI Bindings

UniFFI bindings for the CDK Wallet and related types.

Re-exports§

pub use database::*;
pub use error::*;
pub use logging::*;
pub use npubcash::*;
pub use nwc::*;
pub use types::*;
pub use wallet::*;
pub use wallet_repository::*;

Modules§

bip321
BIP 321 payment instruction FFI bindings.
database
FFI Database bindings
error
FFI Error types
logging
FFI Logging configuration
npubcash
FFI bindings for the NpubCash client SDK
nwc
FFI bindings for the Nostr Wallet Connect (NIP-47) wallet service.
sqlite
token
FFI token bindings
types
FFI-compatible types
wallet
FFI Wallet bindings
wallet_repository
FFI WalletRepository bindings

Macros§

impl_ffi_wallet_database
Macro to implement WalletDatabase for wrapper types that delegate to an inner FfiWalletDatabaseWrapper. This eliminates duplication between SQLite, Postgres, Supabase, and other FFI implementations.