# How to Build an Embeddable Bitcoin Donation Widget An embedded donation widget can display a public receiving address without giving the host page wallet API credentials. Serve 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. Run `python3 stage23-donation-widget.py` for synthetic assertions. No live wallet calls.