From e54572709e5a0246417275736c4d57dc537ac328 Mon Sep 17 00:00:00 2001 From: Shroominic Date: Tue, 1 Jul 2025 14:11:05 -0300 Subject: [PATCH] fix formatting --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 2619543d..6381679d 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ graph TD ``` **Key Benefits:** + - **Per-Request Payments** – Send exact tokens for each API call - **Automatic Change** – Receive change tokens in response headers - **No Pre-funding** – No need to maintain account balances @@ -131,6 +132,7 @@ graph TD - **Minimum Amount Protection** – Proxy enforces minimum token value to prevent dust attacks **Header Format:** + - **Request**: `x-cashu: ` – Token to spend for this request (must meet minimum amount) - **Response**: `x-cashu: ` – Change token if payment exceeds cost @@ -144,6 +146,7 @@ To use this feature, you'll need a client that handles both OpenAI API calls and - **[cashu-402-client](https://github.com/9qeklajc/ecash-402-client)** – rust client with automatic wallet management clients automatically: + - **Handle eCash Headers** – Add `x-cashu` tokens to requests and process change tokens - **Manage Wallets** – Maintain your Cashu wallet - **Configure Proxy** – Set Routstr proxy endpoints