Documentation Index
Fetch the complete documentation index at: https://docs.rhino.fi/llms.txt
Use this file to discover all available pages before exploring further.
Embedding the Rhino.fi SDA Widget (iframe)
You can easily embed the Rhino.fi SDA Widget into any site using a simple<iframe>. It provides a complete UI for generating Smart Deposit Addresses and bridging into a destination address, with no installation or bundling required.
β‘ Quick Start
You can either customize your widget visually using our playground or use the example code below directly.Customize Your Theme
Use our playground to visually design and preview your widget, then copy the embed code.
YOUR_API_KEY with your actual Rhino.fi API key and 0xYOUR_RECIPIENT_ADDRESS with the destination address you want to receive funds at.
Unlike the bridge widget, the SDA widget has no default configuration β chainIn, chainOut, token, and recipient are all required query params.
Visit the Rhino.fi Console
You can create a project and manage API keys there.
Customization
You can customize the widgetβs appearance and default values using URL query parameters. Hereβs a quick overview:| Query Param | Required | Description | Example |
|---|---|---|---|
| apiKey | β | API key to authenticate | apiKey=YOUR_API_KEY |
| chainIn | β | Source chain | chainIn=ETHEREUM |
| chainOut | β | Destination chain | chainOut=BASE |
| token | β | Source token | token=USDT |
| recipient | β | Destination (recipient) address | recipient=0x0 |
| tokenOut | Destination token | tokenOut=USDC | |
| amount | Pre-fills the amount in the deposit QR code | amount=10 | |
| mode | Widget mode (light or dark) | mode=dark | |
| theme | Theme configuration in JSON | theme={...} (URL-encoded JSON) |
π¨ Theming
You can customize the appearance of the widget by passing atheme query param in URL-encoded JSON format.
Supported Theme Properties