Struct ethstore::EthStore[][src]

pub struct EthStore { /* fields omitted */ }

Accounts store.

Methods

impl EthStore
[src]

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

impl SimpleSecretStore for EthStore
[src]

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.

impl SecretStore for EthStore
[src]

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.

Lists all found geth accounts.

Imports geth accounts to the store/vault.

Signs a message with raw secret.

Auto Trait Implementations

impl Send for EthStore

impl Sync for EthStore