Quick Start
Getting Start with Rango Widget
Last updated
Was this helpful?
Getting Start with Rango Widget
Last updated
Was this helpful?
Here you could explore different examples of using widget for different frameworks:
First you need to add @rango-dev/widget-embedded
dependency.
Then you could use this code snippet to easily add widget to your project.
If you want to use Rango widget directly in your html codes using IFrame, you code use code snippet below.
Our service is currently free. But to use our API, SDK or Widget, you need to , 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.
Although using the iframe version is quite straightforward, we recommend utilizing the JavaScript package directly instead. This is because certain wallets, such as and MetaMask Mobile on iOS, have limitations when working with iframes due to security concerns, which may cause issues for users.