Skip to main content

Crate hns_wallet_host

Crate hns_wallet_host 

Source
Expand description

Fail-closed private ABI-v2 host state for browser and mobile adapters.

Structs§

AcceptedEvent
AcceptedResponse
AuthoritySnapshot
NegotiatedSession
SystemClock
SystemEntropy
WalletHost
Process-local host state. It deliberately does not implement Clone or serialization: session, authority, approval, and replay state must not be persisted or projected into a website context.

Enums§

AuthorityLifecycle
ClockError
ConnectionState
EntropyError
HostError
HostOutput

Constants§

MAX_AUTHORITIES
MAX_ISSUED_APPROVAL_IDS
MAX_ISSUED_AUTHORITY_IDS
MAX_PENDING_APPROVALS
MAX_PENDING_REQUESTS
MAX_RECENT_PROVIDER_NONCES
MAX_RECENT_REQUEST_IDS

Traits§

Clock
A clock owned by WalletHost. Implementations must report Unix milliseconds and must not silently substitute a monotonic-process epoch.
Entropy
An entropy source owned by WalletHost. A successful call must fill the complete destination with cryptographically secure random bytes.