Crate dusk_wallet

Crate dusk_wallet 

Source
Expand description

§Dusk Wallet Lib

The dusk_wallet library aims to provide an easy and convenient way of interfacing with the Dusk Network.

Clients can use Wallet to create their Dusk wallet, send transactions through the network of their choice, stake and withdraw rewards, etc.

Modules§

dat
Methods for parsing/checking the DAT wallet file
gas
This library contains the primitive related to the gas used for transaction in the Dusk Network.

Structs§

Address
A public address within the Dusk Network
DecodedNote
This structs represent a Note decoded enriched with useful chain information
Dusk
Denomination for DUSK
RuskHttpClient
Rusk HTTP Binary Client
RuskRequest
RuskRequesst according to the rusk event system
Wallet
The interface to the Dusk Network
WalletPath
Wrapper around PathBuf for wallet paths

Enums§

Error
Errors returned by this library

Constants§

EPOCH
The length of an epoch in blocks
MAX_ADDRESSES
Max addresses the wallet can store
MAX_CONVERTIBLE
The largest amount of Dusk that is possible to convert
MIN_CONVERTIBLE
The smallest amount of Dusk that is possible to convert

Traits§

SecureWalletFile
Provides access to a secure wallet file

Type Aliases§

Lux
The underlying unit of Dusk