🎇Quick Start
Getting Start with Rango Widget
Examples
Here you could explore different examples of using widget for different frameworks:
Installation
First you need to add @rango-dev/widget-embedded
dependency.
Then you could use this code snippet to easily add widget to your project.
Get Your API KEY
Our service is currently free. But to use our API, SDK or Widget, you need to request an API key, describing your dApp, the blockchains you like to connect to, and your dApp domain if it's a website to enable CORS headers for your API key.
IFrame Version
If you want to use Rango widget directly in your html codes using IFrame, you code use code snippet below.
IFrame Limitations
Although using the iframe version is quite straightforward, we recommend utilizing the JavaScript package directly instead. This is because certain wallets, such as Phantom and MetaMask Mobile on iOS, have limitations when working with iframes due to security concerns, which may cause issues for users.
Last updated