Skip to main content

Module keystore

Module keystore 

Source
Expand description

Tempo wallet keystore types and discovery helpers.

Shared types for reading keys from the Tempo CLI wallet keystore ($TEMPO_HOME/wallet/keys.toml, defaulting to ~/.tempo/wallet/keys.toml).

Structs§

KeyEntry
A single key entry in keys.toml.
KeysFile
The top-level structure of keys.toml.
StoredTokenLimit
Per-token spending limit stored in keys.toml.

Enums§

KeyType
Cryptographic key type.
WalletType
Wallet type matching tempo-common’s WalletType enum.

Constants§

DEFAULT_TEMPO_HOME
Default Tempo home directory relative to the user’s home.
TEMPO_HOME_ENV
Environment variable to override the Tempo home directory.
TEMPO_PRIVATE_KEY_ENV
Environment variable for an ephemeral Tempo private key.
WALLET_KEYS_PATH
Relative path from Tempo home to the wallet keys file.

Functions§

decode_key_authorization
Decodes a hex-encoded, RLP-encoded key authorization.
read_tempo_keys_file
Read and parse the Tempo wallet keys file.
tempo_home
Resolve the Tempo home directory.
tempo_keys_path
Returns the path to the Tempo wallet keys file.