Paid AI API
Upgrade the starter's HTTP 402 mock into real AuthFetch/payment middleware once wallet preflight is clean.
- Wallet auth instead of signup
- Payment before expensive work
- Visible revenue in the flow
A runnable first win before the big docs.
Clone the maintained starter, run wallet preflight, and complete paid API, private memory, and creation proof flows in no-spend mode before moving to mainnet tutorials.
Start here
git clone https://github.com/p2ppsr/use.bsv.tools.git && cd use.bsv.tools/starter && npm install && npm run preflight && npm run dev
Verified path
It does not pretend that funded wallets, payment middleware, storage services, or marketplace patch instructions are already first-run safe. It gives a working no-spend milestone and tells you exactly what the real wallet state is.
After the starter
Upgrade the starter's HTTP 402 mock into real AuthFetch/payment middleware once wallet preflight is clean.
Move from the starter's local encryption into wallet-owned records with create/list/read/delete states intact.
Replace the starter's browser proof with wallet-backed signature, storage, and a shareable proof page.
Use the tools