Skip to content

Commit 06485c9

Browse files
committed
docs: highlight fastest runnable examples in README
1 parent d606bf0 commit 06485c9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ This package handles the full payment challenge flow:
99
- retry with `Authorization` proof
1010
- cache proofs locally to avoid duplicate payments
1111

12+
Want to run this immediately? See [Examples (Fastest Way to Run)](#examples-fastest-way-to-run).
13+
1214
## Requirements
1315

1416
- Node.js `>=22`
@@ -96,7 +98,9 @@ Exports from `src/index.ts`:
9698

9799
Default cache location is chosen by the caller. In this suite, `agent-wallet` uses `~/.zbd-wallet/token-cache.json`.
98100

99-
## Examples
101+
## Examples (Fastest Way to Run)
102+
103+
If you want a working paid-request flow in minutes, start with these scripts before wiring your own app code.
100104

101105
- `examples/zbd-agent-fetch.mjs`: end-to-end paid fetch using ZBD API for invoice payment
102106
- `examples/fetch-with-known-proof.mjs`: call a protected endpoint with a precomputed L402 token

0 commit comments

Comments
 (0)