pub struct EvmWallet {
pub private_key: [u8; 32],
pub public_key: [u8; 65],
pub evm_address: [u8; 20],
pub b256_address: [u8; 32],
}Expand description
An EVM-compatible wallet with keccak256 derived address, zero-padded to B256.
Fields§
§private_key: [u8; 32]§public_key: [u8; 65]§evm_address: [u8; 20]§b256_address: [u8; 32]Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvmWallet
impl RefUnwindSafe for EvmWallet
impl Send for EvmWallet
impl Sync for EvmWallet
impl Unpin for EvmWallet
impl UnwindSafe for EvmWallet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more