Expand description
Foundry policy for the canonical MPP Alloy HTTP transport.
StructsΒ§
- Funding
Context π - Lazy
Accounts Provider - Lazily resolves a chain-bound MPP Charge provider from Tempo Accounts.
- Lazy
MppHttp Transport - The MPP transport used by Foundryβs runtime transport builder.
ConstantsΒ§
- DEFAULT_
MPP_ πSESSION_ DEPOSIT - Open a channel with 0.02 tokens when the server does not suggest a deposit.
- MAX_
CONCURRENT_ πMPP_ HTTP_ REQUESTS - Keep high-fanout fork database reads from overwhelming paid RPC endpoints.
- MAX_
MPP_ πSESSION_ DEPOSIT - Never let a paid RPC reserve more than one six-decimal token automatically.
FunctionsΒ§
- extract_
challenge_ πchain_ and_ currency - Extract
(chainId, currency)from a Tempo Charge or Session challenge. - has_
access_ πkey_ for_ challenge - insufficient_
balance_ πdetails - interactive_
fund_ πallowed - interactive_
login_ πallowed - lazy_
mpp_ πws_ connect - Build the canonical MPP WebSocket connector with Foundryβs lazy Accounts provider.
- lock_
map π - redacted_
url π - run_
interactive_ πtempo_ fund - with_
funding_ πhelp - with_
transport_ πfunding_ help