Bridge Widget - A Simple & Easy Gateway To Polygon Directly From Your DApp.
Dear developers, ever imagined the Polygon bridge in your application, where your users can transfer assets as well as interact with your dApp, all on the same page? This thought has made us build a bite sized, simple and easy to use plug tool, the Bridge widget.
Now, you just have to install the widget library and add the code snippet to your dApp which enhances your user's experience by enabling them to transfer assets between Ethereum and Polygon seamlessly.
The Bridge Widget is a versatile tool that gives all features of the Polygon Bridge with convenience in your application. The Widget dashboard is going to be your workshop where you will also be working on customizing it.
You have options to choose the default token, tokens supported, layout configurations and a wide variety of options to personalize your user's experience.
Once you have the widget designed and implemented, it's only the integration that's pending. For this you just have to click on the 'Get Code Snippet' button - copy the Code snippet and paste it to your application code.
This is how a code snippet looks like to integrate widget
import { Widget } from "@maticnetwork/wallet-widget";
const widget = new Widget({
target: '#btnOpenWidget',
appName: "test",
position:"bottom-right",
network:"testnet",
height: 630,
width:500
});
// create widget
widget.create();
For more info about configuration, please visit - widget config doc
Voila, you have the the perfect recipe for an all in one Polygon experience. The cherry on the cake is that you will be receiving the same Polygon Wallet Support since all these transactions are synonymous to the Polygon bridge and you will never feel short of helping hands. We have also listed a great document that could be used as a reference for your widget development and an example that can guide you further. Last but not the least, we have an implementation video that make sure you have all the resources to launch yours immediately.
https://www.youtube.com/watch?v=OOVzXvivgyM
About Polygon
Polygon is the first well-structured, easy-to-use platform for Ethereum scaling and infrastructure development. Its core component is Polygon SDK, a modular, flexible framework that supports building and connecting Secured Chains like Optimistic Rollups, zkRollups, Validium, etc, and Standalone Chains like Polygon POS, designed for flexibility and independence. Polygon’s scaling solutions have seen widespread adoption with 500+ Dapps, ~567M+ txns, and ~6M+ daily txns.
If you’re an Ethereum Developer, you’re already a Polygon developer! Leverage Polygon’s fast and secure txns for your Dapp, get started here.
Website | Twitter | Ecosystem Twitter | Studios Twitter | Reddit | Discord | Telegram | Instagram