multiversx_sdk/
test_wallets.rsuse crate::wallet::Wallet;
fn test_wallet(pem_file_contents: &str) -> Wallet {
Wallet::from_pem_file_contents(pem_file_contents.to_string()).unwrap()
}
pub fn alice() -> Wallet {
test_wallet(include_str!("test_wallets/alice.pem"))
}
pub fn bob() -> Wallet {
test_wallet(include_str!("test_wallets/bob.pem"))
}
pub fn carol() -> Wallet {
test_wallet(include_str!("test_wallets/carol.pem"))
}
pub fn dan() -> Wallet {
test_wallet(include_str!("test_wallets/dan.pem"))
}
pub fn eve() -> Wallet {
test_wallet(include_str!("test_wallets/eve.pem"))
}
pub fn frank() -> Wallet {
test_wallet(include_str!("test_wallets/frank.pem"))
}
pub fn grace() -> Wallet {
test_wallet(include_str!("test_wallets/grace.pem"))
}
pub fn heidi() -> Wallet {
test_wallet(include_str!("test_wallets/heidi.pem"))
}
pub fn ivan() -> Wallet {
test_wallet(include_str!("test_wallets/ivan.pem"))
}
pub fn judy() -> Wallet {
test_wallet(include_str!("test_wallets/judy.pem"))
}
pub fn mallory() -> Wallet {
test_wallet(include_str!("test_wallets/mallory.pem"))
}
pub fn mike() -> Wallet {
test_wallet(include_str!("test_wallets/mike.pem"))
}