Skip to main content

Module keystore

Module keystore 

Source
Expand description

Tempo Accounts store discovery and local key metadata.

Re-exportsยง

use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::hex; ๐Ÿ”’
use alloy_primitives::hex; ๐Ÿ”’
use alloy_rlp::Decodable; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use tempo_alloy::accounts::TempoAccountsStore; ๐Ÿ”’
use tempo_alloy::accounts::default_accounts_store_path; ๐Ÿ”’
use tempo_primitives::SignatureType; ๐Ÿ”’
use tempo_primitives::transaction::SignedKeyAuthorization; ๐Ÿ”’
use tempo_primitives::transaction::TokenLimit; ๐Ÿ”’

Structsยง

AccountsStoreView
Snapshot used by the existing keychain list/show/doctor commands.
KeyEntry
Non-secret view of one access key in the Tempo Accounts store.
StoredTokenLimit
Per-token spending limit exposed by the local keychain commands.

Enumsยง

KeyType
Cryptographic key type used by Tempo Accounts access keys.

Constantsยง

TEMPO_HOME_ENV
Environment variable to override the Tempo home directory.

Functionsยง

decode_key_authorization
Decode an RLP key authorization stored by Tempo Accounts.
read_tempo_accounts_store
Read non-secret metadata from the canonical Tempo Accounts store.
tempo_accounts_store_path
Return the canonical Tempo Accounts store.json path.