{"repo":"wevm/mppx","free":true,"listed":false,"github":"https://github.com/wevm/mppx","clone":"git clone https://github.com/wevm/mppx.git","description":"TypeScript Interface for Machine Payments Protocol","language":"TypeScript","stars":166,"topics":["machine-payments","mpp","payments","tempo","viem","wagmi","machine-payments-protocol"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"TypeScript SDK for the Machine Payments Protocol Documentation · Install · Quick Start · Examples · CLI · Payments Proxy · Protocol --- Documentation Full documentation, API reference, and guides are available at mpp.dev/sdk/typescript . Contributors changing Tempo sessions should read the session design before altering credential, recovery, accounting, or transport behavior. Install Quick Start Server Generate MPP SECRET KEY with at least 32 bytes, for example: openssl rand -base64 32 . Client Examples Example Description ------------------------------------------------------ ---------------------------------------------------- charge Payment-gated photo generation API charge-wagmi Payment-gated charge with Wagmi + React session/multi-fetch Multiple paid requests over a single payment channel session/sse Pay-per-token LLM streaming with SSE stripe Stripe SPT charge with automatic client CLI mppx includes a basic CLI for making HTTP requests with automatic payment handling. Tempo session channels are retained and reused automatically until you close them. --session auto is the default. Pass new to open another channel or a channel ID to select one explicitly. Tempo session clients accept only the canonical escrow contract by default. A server may advertise its configured custom escrow in the payment challenge, but the client rejects it unless -M allowCustomEscrow=true is supplied. This opt-in trusts the server-selected address; clients that do not support custom escrows shoul","default_branch":null,"files":null,"tree":[],"storefront":"/r/wevm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wevm/mppx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}