27 lines
870 B
Rust
27 lines
870 B
Rust
// file: kb_wallet/src/lib.rs
|
|
// version: 6
|
|
|
|
//! Wallet boundary for local key storage and transaction signing.
|
|
#![warn(missing_docs)]
|
|
#![deny(unreachable_pub)]
|
|
#![forbid(unsafe_code)]
|
|
|
|
mod constants;
|
|
mod wallet;
|
|
|
|
/// Number of bytes stored by the standard Solana keypair JSON format.
|
|
pub(crate) use crate::constants::SOLANA_KEYPAIR_LENGTH;
|
|
/// Canonical tracing target for this crate.
|
|
pub(crate) use crate::constants::TRACING_TARGET;
|
|
|
|
/// Solana keypair kept private inside the wallet boundary.
|
|
pub use crate::wallet::TemporaryWallet;
|
|
/// Filesystem-backed store for development and integration-test wallets.
|
|
pub use crate::wallet::TemporaryWalletStore;
|
|
/// Validated non-secret wallet alias.
|
|
pub use crate::wallet::WalletAlias;
|
|
/// Non-secret wallet policy.
|
|
pub use crate::wallet::WalletPolicy;
|
|
/// Non-secret wallet description.
|
|
pub use crate::wallet::WalletSummary;
|