Expand description
Tempo network utilities.
Re-exports§
pub use auth::AccessKeyOutcome;pub use auth::EnsureAccessKeyConfig;pub use auth::ensure_access_key;
Modules§
- auth
- Tempo wallet device-code authorization flow.
- keystore 🔒
- Tempo wallet keystore types and discovery helpers.
- registry 🔒
- session 🔒
- Tempo session registry and local lifecycle metadata.
Structs§
- KeyEntry
- A single key entry in
keys.toml. - Keys
File - The top-level structure of
keys.toml. - Session
Call Scope - A single target scope in a session entry.
- Session
Entry - Persisted metadata for one temporary session.
- Session
Record - Top-level registry persisted in
wallet/sessions.toml. - Session
Selector Rule - A single selector rule in a session scope.
- Session
Token Limit - Spending limit stored for a session entry.
- Stored
Token Limit - Per-token spending limit stored in
keys.toml. - Tempo
Sponsor - Gas sponsor configuration for Tempo fee-payer signatures.
- Tempo
Sponsor Preview - User-visible sponsor digest metadata for a single outgoing Tempo transaction.
Enums§
- KeyType
- Cryptographic key type.
- Session
Status - Status of a local session entry.
- Wallet
Type - Wallet type matching
tempo-common’sWalletTypeenum.
Constants§
- DEFAULT_
TEMPO_ HOME - Default Tempo home directory relative to the user’s home.
- TEMPO_
BROWSER_ GAS_ BUFFER - Conservative gas buffer for browser wallet transactions on Tempo chains.
- 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.
- WALLET_
SESSIONS_ PATH - Relative path from Tempo home to the session registry file.
Functions§
- decode_
key_ authorization - Decodes a hex-encoded, RLP-encoded key authorization.
- read_
session_ record - Read and parse the Tempo session registry.
- read_
tempo_ keys_ file - Read and parse the Tempo wallet keys file.
- remove_
session_ entry - Atomically remove a session from the registry.
- resolve_
tempo_ sponsor_ signer - Resolves a
--tempo.sponsor-signerURI into a Foundry wallet signer. - session_
registry_ path - Returns the path to the Tempo session registry file.
- tempo_
home - Resolve the Tempo home directory.
- tempo_
keys_ path - Returns the path to the Tempo wallet keys file.
- upsert_
session_ entry - Atomically upsert a
SessionEntryinto the session registry.