ethers_wallet 0.2.2

Ethereum local wallet implemenation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use ethers_primitives::FromHexError;
use thiserror::Error;

#[derive(Debug, Error)]
pub enum WalletError {
    #[error("ecdsa error,{0}")]
    ECDSA(String),

    #[error("Invalid recover id,{0}")]
    RecoverId(u8),

    #[error("Load key error, {0}")]
    LoadKey(String),

    #[error("{0}")]
    FromHexError(#[from] FromHexError),
}