This tutorial shows you how to embed the swap widget in your website easily, regardless of whether your website already functions as a decentralized application (dApp). Your users can swap ERC-20 tokens with the bitoftrade AllPay widget without ever leaving your website!
Here's a preview of your future widget:
By adjusting the widget's colors, font, and token list to match your app's theme, you can make it appear as though it was always there. This manual will show you how.
Adjust your widget on the customization panel. You can change backgrounds, colors, functionality, tokens, and more...
After you are satisfied with the amazing widget you created, you'll be ready to start the integration part. Notice that all you need is at the bottom of the page under "Integration", no installations are needed!
Place this script tag on the
<body>of your page:
<div>tag where you want to locate the widget:
Add this to the <script> tag at the bottom of the <body> tag: