Use a reachable address
The generated code uses this site’s origin. A loopback address works only on the computer hosting the site.
Create a branded link that opens a selected exchange on this site.
<a href="https://simpleswap.world/?from=btc&to=eth&amount=0.1" style="display:inline-block;background:#0080ff;color:white;padding:14px 22px;border-radius:12px;font:500 14px Arial;text-decoration:none"> Exchange BTC to ETH </a>
The generated code uses this site’s origin. A loopback address works only on the computer hosting the site.
Show the selected asset and network together so recipients can confirm compatibility.
Local account keys and provider credentials should never be inserted into a public embed.