1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//! # WalletD
//!
//! This library facilitates the creation and use of non-custodial multi-currency wallets.
//!
#![forbid(unsafe_code)]
#![warn(missing_docs)]

pub use walletd_bip39::{
    Language as Bip39Language, Mnemonic as Bip39Mnemonic, MnemonicType as Bip39MnemonicType, Seed,
};

pub use walletd_mnemonics_core::{MnemonicHandler, MnemonicStyleBuilder};

mod key_pair;
pub use key_pair::{KeyPair, KeyPairBuilder, MnemonicKeyPairType};
pub use walletd_bitcoin::blockstream;
pub use walletd_bitcoin::{BitcoinAmount, BitcoinWallet};
pub use walletd_coin_core::{
    BlockchainConnector, BlockchainConnectorGeneral, ConnectorType, CryptoAddress, CryptoAmount,
    CryptoWallet, CryptoWalletBuilder, CryptoWalletGeneral,
};
pub use walletd_ethereum::{EthClient, EthereumAmount, EthereumFormat, EthereumWallet};
pub use walletd_hd_key::{HDKey, HDNetworkType, HDPath, HDPathBuilder, HDPathIndex, HDPurpose};
pub use {
    walletd_bip39, walletd_bitcoin, walletd_coin_core, walletd_ethereum, walletd_hd_key,
    walletd_mnemonics_core,
};

mod crypto_coin;
pub use crypto_coin::CryptoCoin;

mod error;
pub use error::Error;