A collection of demos showcasing Superbridge as a widget.
Superbridge is a bridge provider, hosting customisable bridge UIs for a number of rollups, tokens and ecosystems.
A few of our solutions include,
- Superbridge, the official Superchain gateway
- Rollies, no-code Bridge-as-a-Service for rollups
- Token specific bridges
-
Get a bridge URL to embed
-
If you want to enable Superchain bridging, you can use the Superbridge
https://v3.superbridge.app?widget=true
link -
If you're a Rollies customer, you can get a bridge URL from the Rollies dashboard
-
If you have any other valid Superbridge bridge URL, you can use that with the
?widget=true
query parameter
-
-
Checkout the live site and determine which kind of widget integration you want to try
-
Add the widget to your codebase, a simple iframe embed is all that's needed
<iframe
src={`http://v3.superbridge.app/?widget=true`} // use your bridge URL here
allowtransparency="true" // (Optional) Use to enable transparent background colors set in your theme
/>
After you've added the widget to your codebase, you can customise the widget's appearance and behaviour using a few available props. Everything is passed in as query parameters to the provided URL.
fromChainId
- The chain ID of the chain you want to bridge fromtoChainId
- The chain ID of the chain you want to bridge totokenAddress
- The address of the token you want to bridge, this should be the address of the token on thefromChainId
networkrecipient
- Prefill the recipient of the bridge operation, will default to the users connected wallet address if not providedtheme
- Customise the theme of the widget via a stringified JSON object, refer to the object to see the available options