Expand description
Versioned, framed, secret-minimizing private wallet service ABI.
Structs§
- Account
Summary - Approval
Prompt - HnsName
Disclosure - One canonical Handshake name disclosed by a permission prompt. The hash is lowercase hexadecimal so a trusted UI can render and compare the exact authority being granted without receiving private wallet/name state.
- Host
Authority Facts - Host
Hello - Provider
Binding - Wallet-owned provider authority binding carried by every private provider output. Generation zero is valid only while the authority has never had a permission grant or revocation tombstone.
- Provider
Capability Snapshot - Provider
Event Envelope - Secret
String - An owned ABI secret that zeroizes its allocation on drop and never prints
its plaintext. It deliberately does not implement
Clone. - Service
Failure - Service
Hello - Service
Limits - Session
Envelope - Wallet
HnsAuthority Context - Wallet-service evidence joined to a trusted native broker lease by the browser host. This value is not independently an authority and is never a website/provider projection.
- Wallet
Runtime Status - Workflow
Summary
Enums§
- AbiError
- Approval
Decision - Approval
Summary - Approval
Warning - Direct
Offer Approval Action - Disconnect
Reason - Host
Frame - Host
Platform - Module
Approval Action - Name
Market Approval Action - Provider
Event Payload - Provider
Namespace - Service
Capability - Service
Error Code - Service
Frame - Service
Request - Service
Response - Wallet
Authority Context Request - Additive native-only request kept outside
WalletRequestso the exact six-operationhnsReadOperationsV1subset remains unchanged. - Wallet
Handshake Network - Canonical Handshake network identity used by the native-only wallet authority-context operation. Simnet is intentionally absent because the browser authority broker admits only production, public test, and local regression networks.
- Wallet
Request - Wallet
Response
Constants§
- APPROVAL_
SCHEMA_ VERSION - LENGTH_
PREFIX_ BYTES - MAX_
ABI_ FRAME_ BYTES - MAX_
APPROVAL_ FRAME_ BYTES - MAX_
APPROVAL_ LIFETIME_ MS - MAX_
FAILURE_ MESSAGE_ BYTES - MAX_
HNS_ NAME_ BYTES - MAX_
HNS_ NAME_ DISCLOSURES - MAX_
METHOD_ BYTES - MAX_
ORIGIN_ BYTES - MAX_
PASSPHRASE_ BYTES - MAX_
PROVIDER_ EVENT_ BYTES - MAX_
PROVIDER_ METHODS - MAX_
PROVIDER_ REQUEST_ BYTES - MAX_
PROVIDER_ RESULT_ BYTES - MAX_
PUBLIC_ ITEMS - MAX_
PUBLIC_ STRING_ BYTES - MAX_
RECOVERY_ PHRASE_ BYTES - PROVIDER_
SCHEMA_ VERSION - WALLET_
ABI_ VERSION
Functions§
- declared_
payload_ len - decode_
host_ frame - decode_
service_ frame - encode_
host_ frame - Encode a host frame into an owned buffer that clears its allocation on
drop. Host requests can contain wallet passphrases or restore phrases, so
callers must retain this owner through the transport write instead of
copying the bytes into an ordinary
Vec<u8>. - encode_
service_ frame