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
Introducing Plonky2

Polygon Zero’s mission is simple: to use zero-knowledge proofs to scale Ethereum to a billion users, without compromising decentralization or security. Achieving this requires fast and efficient proof systems. Today, we’re excited to share Plonky2, a major milestone for zero-knowledge cryptography. Plonky2 is a recursive SNARK that is 100x faster than existing alternatives and natively […]

Read More
Polygon Takes A Major Lead In ZK Rollups; Welcomes Mir, A Groundbreaking ZK Startup In A $400M Deal

TL;DR: We are excited to announce that Mir, a startup building groundbreaking ZK tech, is joining the Polygon family in a $400M* deal. Mir gathered a team of talented cryptographers and engineers, and after almost two years of work developed the world’s fastest ZK scaling technology. The Mir team is now joining Polygon in order […]

Read More
Polygon Announces Polygon Miden - A STARK-Based, Ethereum-Compatible Rollup

TL;DR: We are excited to announce the newest member of the Polygon solution suite - Polygon Miden, an upcoming STARK-based, EVM-compatible rollup. The project is led by Bobbin Threadbare, former Facebook’s core ZK researcher who led the development of Winterfell. Today we are releasing Polygon Miden’s core component - Miden VM, the first open-source STARK-based […]

Read More
Why Web3 Developers Are Choosing Polygon Over Other Solutions 

When it comes to deploying on Ethereum, there is only one place that lets developers easily migrate their projects, offers a broad range of scaling options and has some of the industry’s lowest transaction rates. These are just some of the reasons why the number of teams using Polygon jumped 100-fold in the past year. […]

Read More
Polygon’s Breakthrough Year: 2021 in Review

Welcome to 2022! This is shaping up to be another amazing year for the Polygon ecosystem. But after an absolutely breakthrough 2021, it's got big shoes to fill. Over the past year, Polygon made big strides toward accomplishing its mission of bringing the next billion users to Ethereum. The network’s low-fee infrastructure attracted some of […]

Read More
All You Need to Know About the Recent Network Upgrade

Earlier this month, Polygon’s core development team with help from bug bounty  platform Immunefi successfully fixed a critical network vulnerability. Considering the nature of this upgrade, it had to be executed without attracting too much attention. We are now ready to give the full account of what happened. A group of whitehat hackers notified Immunefi, […]

Read More
crossmenuchevron-down-circle