pub struct EthStore { /* private fields */ }
Expand description

Accounts store.

Implementations

Open a new accounts store with given key directory backend.

Open a new account store with given key directory backend and custom number of iterations.

Modify account refresh timeout - how often they are re-read from KeyDirectory.

Setting this to low values (or 0) will cause new accounts to be picked up quickly, although it may induce heavy disk reads and is not recommended if you manage many keys (say over 10k).

By default refreshing is disabled, so only accounts created using this instance of EthStore are taken into account.

Trait Implementations

Returns a raw opaque Secret that can be later used to sign a message.

Imports presale wallet

Imports existing JSON wallet

Checks if password matches given account.

Copies account between stores and vaults.

Returns a public key for given account.

Returns uuid of an account.

Returns account’s name.

Returns account’s metadata.

Modifies account metadata.

Modifies account name.

Returns local path of the store.

Signs a message with raw secret.

Inserts new accounts to the store (or vault) with given password.

Inserts new derived account to the store (or vault) with given password.

Generates new derived account.

Get reference to some account with given address. This method could be removed if we will guarantee that there is max(1) account for given address. Read more

Returns all accounts in this secret store.

Changes accounts password.

Exports key details for account.

Entirely removes account from the store and underlying storage.

Sign a message with given account.

Sign a message with derived account.

Agree on shared key.

Decrypt a messages with given account.

Create new vault with given password

Open vault with given password

Close vault

List all vaults

List all currently opened vaults

Change vault password

Cnage account’ vault

Get vault metadata string.

Set vault metadata string.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.