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 types::*;
pub use wallet::*;
pub use wallet_repository::*;

Modules§

database
FFI Database bindings
error
FFI Error types
logging
FFI Logging configuration
npubcash
FFI bindings for the NpubCash client SDK
postgres
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 FfiWalletSQLDatabase. This eliminates duplication between SQLite and Postgres FFI implementations.