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
EY and Polygon to co-develop Ethereum scaling solutions for enterprises and launch Polygon Nightfall - a privacy-focused Rollup

14th September - EY, a global professional services and technology firm, is collaborating with Polygon on building and implementing scaling and enterprise solutions for the Ethereum ecosystem. As part of this collaboration, EY and Polygon will work on Polygon Nightfall, a public, privacy-focused Rollup. In addition to this, EY will offer its other flagship blockchain […]

Read More
Polygon: First Scaling Solution for Coinbase

The Protocol team was recently established at Coinbase to work on scaling Ethereum through integration with L2 and other ETH scaling solutions. The Coinbase team plans to integrate Polygon PoS as their first scaling solution for Coinbase. The Coinbase Protocol team is an experienced group of engineers at Coinbase focused on contributing to scaling blockchains and […]

Read More
Hermez Network is Joining Polygon and Becoming Polygon Hermez via the First Full-Blown Merger of Two Blockchain Networks

We are proud and excited to announce that Hermez, one of the most prominent zero-knowledge (ZK) cryptography-based scaling projects and teams, will be joining Polygon. Starting today, we will initiate the process of merging Hermez into the Polygon ecosystem, where it will be operating under the new name: Polygon Hermez. Polygon Hermez will become a part of […]

Read More
Polygon Bug Bounty Program Is Live On Immunefi!

Polygon’s bug bounty program on Immunefi, DeFi's leading bug bounty platform, is now live with a maximum bounty of $2,000,000. If you are a security researcher looking to venture out into the blockchain space, this is your chance to understand how things function. This bug bounty program is focused on smart contracts with an essential […]

Read More
Meet Polygon Team At Messari Mainnet!

Polygon team members will be speaking at Messari Mainnet in New York City on September 21-22. We also have a booth at the conference, so come meet us and learn about Polygon! Here are some of the talks you can’t miss: On September 21, at 2:20 pm, Dean Thomas, Head of Institutional Capital, will speak […]

Read More
What do you prefer - Maximum Security or Cheaper Transactions?

The Ethereum scaling solutions space has been heating up lately. Which is a good thing, because Ethereum (and its community) needs scaling as soon as possible. As you know, Polygon's mission is to develop various kinds of Ethereum scaling solutions, from sidechains to rollups (and more). But all these solutions come with trade-offs. There's no […]

Read More
crossmenuchevron-down-circle