฿BitcoinButton

Embed

Drop BitcoinButton on any site

MoneyButton-style iframe or script embed. Configure amount, payee, label, and stream / NFT id — then copy the snippet. Payments are settle through AgentPay Connect (same popup as GigsFeed); mock rail when neither a Connect key nor AGENTPAY_AGENT_KEY is present; the embed UX is ready. Paymail mint (`/paymails`) is first-party for now; embeddable paymail mint is optional later to place.

Configure

Iframe snippet

<iframe
  src="https://entangleit.com/bitcoinbutton/embed/widget?amount=0.001&to=creator%40bsv&action=pay&currency=BSV&label=Pay+with+Bitcoin&stream=aurora-live&compact=1"
  title="BitcoinButton"
  width="320"
  height="200"
  style="border:0;border-radius:16px;overflow:hidden;max-width:100%;"
  loading="lazy"
  allow="clipboard-write"
></iframe>

Script snippet

<!-- BitcoinButton embed -->
<div
  class="bitcoinbutton"
  data-amount="0.001"
  data-to="creator@bsv"
  data-action="pay"
  data-currency="BSV"
  data-label="Pay with Bitcoin"
  data-stream="aurora-live"
  data-compact="true"
></div>
<script async src="https://entangleit.com/bitcoinbutton/embed.js"></script>

The loader injects an iframe for each .bitcoinbutton node. Listen for postMessage events with source: "bitcoinbutton" for post-payment hooks.

Query params

  • amount — payment amount
  • to — payee handle or address
  • action — pay | tip | unlock | mint
  • currency — BSV | USD | sats
  • label — button text
  • stream / nft — live stream or NFT canvas id
  • compact — 1 for dense embed layout

Widget path: /bitcoinbutton/embed/widget?amount=0.001&to=creator%40bsv&action=pay&currency=BSV&label=Pay+with+Bitcoin&stream=aurora-live&compact=1

Full docs: /bitcoinbutton/embed