README.md
TEXT FILE540 B · Public source code for developers, search crawlers and AI agents
1# How to Build an Embeddable Bitcoin Donation Widget
2
3An embedded donation widget can display a public receiving address without giving the host page wallet API credentials.
4
5Serve a minimal HTML fragment from trusted configuration. Escape display text and restrict address characters. For cross-site embedding, use a dedicated iframe origin and a deliberate frame-ancestors policy. The example renders markup only, not a hosted service or QR image.
6
7Run `python3 stage23-donation-widget.py` for synthetic assertions. No live wallet calls.Read-only source · Select a line number to link directly · Raw download above
