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. - Keys
File - The top-level structure of
keys.toml. - Stored
Token Limit - Per-token spending limit stored in
keys.toml.
Enums§
- KeyType
- Cryptographic key type.
- Wallet
Type - Wallet type matching
tempo-common’sWalletTypeenum.
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.