pub struct Wallet {
pub private_key: [u8; 32],
pub public_key: [u8; 65],
pub b256_address: [u8; 32],
}Expand description
A Fuel-native wallet with SHA-256 derived B256 address.
Fields§
§private_key: [u8; 32]§public_key: [u8; 65]§b256_address: [u8; 32]Trait Implementations§
Auto Trait Implementations§
impl Freeze for Wallet
impl RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl UnwindSafe for Wallet
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