Struct saito_rust::wallet::Wallet [−][src]
pub struct Wallet {
pub publickey: SaitoPublicKey,
pub privatekey: SaitoPrivateKey,
// some fields omitted
}
Expand description
The Wallet
manages the public and private keypair of the node and holds the
slips that are used to form transactions on the network.
Fields
publickey: SaitoPublicKey
privatekey: SaitoPrivateKey
Implementations
[privatekey - 32 bytes] [publickey - 33 bytes]
[privatekey - 32 bytes [publickey - 33 bytes]
pub async fn create_golden_ticket_transaction(
&mut self,
golden_ticket: GoldenTicket
) -> Transaction
pub async fn create_staking_deposit_transaction(
&mut self,
total_requested: u64
) -> Transaction
pub async fn create_staking_withdrawal_transaction(
&mut self,
staking: &Staking
) -> Transaction
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Wallet
impl UnwindSafe for Wallet
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more