README.md
TEXT FILE705 B · Public source code for developers, search crawlers and AI agents
1# How to Generate a Bitcoin Receive Address for a Website
2
3Keep the wallet credential on the backend. The browser requests a checkout session, not arbitrary wallet operations. The documented WAB RECEIVE endpoint accepts net and type; its result contains an address.
4
5Use a fixed loopback engine URL, a timeout and a bounded response. Do not retry automatically after an ambiguous response. The address returned here is trusted engine data; the example does not independently validate its checksum. Persist the address against the authenticated order before displaying it. For priced invoices prefer WATCH CREATE.
6
7Run `python3 stage22-receive-address.py` for offline assertions. No live integration test.Read-only source · Select a line number to link directly · Raw download above
