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. 

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

More from the Polygon Blog
The Many Lives of Tokens

Tokens are the élan vital of Web3 networks, and projects are often perceived through the price at which they trade. But token price, subject to market sentiment and speculation, is not synonymous with token value. To understand the fundamentals, we must first unpack the different ways that value accrues to tokens in the new Internet […]

Read More
Going Beyond the Green Manifesto: Our New Impact Commitment 

With Ethereum’s Merge finally upon us, we’ve been thinking about how this historic milestone will affect our sustainability efforts. Polygon’s initial commitment to become carbon neutral and eventually carbon negative was largely addressing emissions generated by our relationship with Ethereum. The Merge dramatically changes that equation. Ethereum’s transition from Proof-of-Work to Proof-of-Stake consensus, known as […]

Read More
Starbucks Taps Polygon for Its 'Starbucks® Odyssey' Web3 Experience 

Today, we are thrilled to announce that Starbucks Coffee Company is working with Polygon to provide the blockchain technology to build its recently announced Web3 experience, Starbucks Odyssey. As a result of the partnership, this new Web3-powered experience will allow Starbucks Rewards loyalty program members and Starbucks partners (employees) in the United States to earn […]

Read More
Polygon Avail’s Ability to Scale: What We Can Improve Next

The Polygon Avail Testnet is now live. As users begin incorporating Avail into their chain designs, a question that often comes up is, “How many transactions can Avail process?” This is Part Two in a three-part series of articles that will address Polygon Avail’s current performance, as well as its ability to scale in the […]

Read More
Ethereum Merge FAQ and Common Misconceptions

Ethereum’s much-anticipated transition to the proof of stake (PoS) consensus, known as the Merge, is almost upon us. It’s a momentous event with broad-ranging implications for the greater Ethereum ecosystem. So we wanted to provide a definitive list of frequently asked questions (and answers) as well as address some of the common misconceptions, both of […]

Read More
Polygon-Powered Icetea Labs Accelerator Launches With 6 Startups

Polygon has teamed up with Alpha Venture DAO and Icetea Labs to launch the inaugural Icetea Labs Accelerator Program for blockchain startups.  Working in a tight three-way partnership, Polygon is co-creating an accelerator to funnel resources, mentorship, education, and business acumen to promising Web3 companies from around the world. The startups selected for the accelerator […]

Read More
Apply to Polygon Bootcamp Africa and Kickstart Your Web3 Developer Journey

Applications are open for Polygon Bootcamp Africa, launched in partnership with Xend Finance! The eight-week intensive educational course and hackathon combo will put developers in Africa on the Web3 map.  This is Polygon’s biggest step in providing resources to developers, builders, and creators in Africa, and it comes during an important time.  An internet and […]

Read More
ZK White Paper: Efficient ZK Proofs for Keccak

As part of our ongoing efforts to inform the Ethereum community about the efforts of Polygon’s zero-knowledge (ZK) teams, we will be posting a series of technical papers by our engineers and researchers. We hope that everyone who’s interested in the inner workings of Polygon’s ZK projects, Ethereum itself, and cryptographic engineering in general will […]

Read More
crossmenuchevron-down-circle