pub fn create_wallet_from_private_key(
private_key: &str,
) -> Result<LocalWallet, Box<dyn Error>>Expand description
Creates a wallet from a private key string
ยงExample
let private_key = "4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d";
let wallet = create_wallet_from_private_key(private_key)?;