Sally
SALLY
Glossary

What is a swap widget?

A swap widget is a self-contained, embeddable trading interface that lets visitors swap tokens directly on your website or dApp without leaving the page. It handles quoting, routing, and execution non-custodially. Sally offers an embeddable swap widget you can drop into any page and earn referral fees on volume.

A swap widget is a complete trading interface packaged so it can be dropped into someone else's website or app. A few lines of embed code give your visitors a working swap — token selection, live quotes, routing and execution — without sending them off to a separate exchange. The integration is non-custodial: trades settle from the user's own wallet, and the host site never touches the funds.

For project teams, communities and content sites, this turns a page into a place where people can actually act. A token project can let holders buy directly under the chart; a tutorial can let readers try a swap inline. Because the widget carries the same routing engine as the full app, embedded users still get aggregated pricing rather than a single, worse pool.

Sally offers an embeddable swap widget for Base and BNB Smart Chain that you can configure and paste into any page, documented under its swap-embed guide. Volume that flows through your embed earns referral fees on-chain, so the widget is both a feature for your users and a revenue stream for you. It keeps the security properties of the main app — non-custodial execution and best-route aggregation — while living entirely inside your own site.

How this relates to Sally

Swap widget / embeddable widget is part of how Sally works on Base and BNB Smart Chain. Put it into practice with the tool below.

Embed the swap widget →

Related terms

Command palette

Jump to a page or run an action