hypermid.io, loaded as an iframe.
The widget includes full wallet connection (550+ wallets via Reown/WalletConnect) supporting EVM, Solana, Bitcoin, TON, TRON, and SUI — no additional setup needed.
Features
- Cross-chain swap & bridge — 90+ chains, best route comparison
- On-ramp — Buy crypto with card via RampNow (USD, EUR, GBP, and more)
- Gas refuel — Top up gas on any chain
- Wallet connection — MetaMask, WalletConnect, Coinbase, Trust Wallet, Binance, and 550+ more
- Full theme customization — Colors, borders, radius, fonts
- Event callbacks — Quote, execute, status, error events via postMessage
- Auto-resize — Iframe height adjusts to content
- Mode toggle — Users can switch between Swap, Gas, and Fund modes
Quick Start
Script Tag (Any Website)
Data Attribute (Zero JS)
For even simpler integration — no JavaScript needed:Direct Iframe
If you prefer full control, embed the iframe directly:Playground
Use the interactive Widget Playground to customize colors, fonts, border radius, modes, and more — then copy the embed code directly.Wallet Connection
The widget includes built-in wallet connection via Reown AppKit — the same wallet infrastructure used by the main Hypermid app. No additional configuration needed. Supported wallet ecosystems:| Ecosystem | Wallets |
|---|---|
| EVM | MetaMask, WalletConnect QR, Coinbase, Trust Wallet, Binance, SafePal, Rainbow, and 500+ more |
| Solana | Phantom, Solflare, Backpack |
| Bitcoin | Xverse, Leather, UniSat |
| TON | Tonkeeper, MyTonWallet |
| TRON | TronLink |
| SUI | Sui Wallet |
On-Ramp (Buy Crypto)
The widget includes a built-in “Buy Crypto” tab powered by RampNow. Users can purchase crypto with their credit/debit card directly within the widget. To open the widget in on-ramp mode by default:- Fiat currencies: USD, EUR, GBP, and more
- Crypto tokens: ETH, USDC, USDT, BTC, and 50+ tokens
- Payment methods: Credit card, debit card, Apple Pay, Google Pay
- KYC: Handled by RampNow within the flow
Supported Chains
The widget supports all chains available in the Hypermid app:- EVM: Ethereum, Arbitrum, Base, Polygon, Optimism, BSC, Avalanche, and 50+ more
- Non-EVM: Solana, Bitcoin, TON, TRON, NEAR, XRP, Dogecoin, Litecoin, and more
- On-ramp: Buy crypto with card on any supported chain
Best Practices
- Set default chains — Pre-select the most common pair for your users to reduce friction
- Use
partnerId— Ensures fee tracking and higher rate limits for your integration - Handle callbacks — Implement
onExecuteandonErrorto update your app state - Don’t use
sandbox— The iframesandboxattribute breaks wallet connections - Set
height: 700px— The widget needs at least 700px height for the on-ramp form - Lock chains if needed — Use
lockFromChain/lockToChainfor focused use cases - Test in incognito — Your existing Hypermid session may auto-connect the wallet