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
Announcing Polygon Pod, a Podcast From the Epicenter of Web3

What’s the future of DeFi? How can blockchain projects shake the reputation for being bad for the environment? What in the world are zero knowledge proofs? How can Web3 attract and accommodate the next billion users? When Flippening? You want to know the answers and so do we. That’s why Polygon is launching Polygon Pod […]

Read More
Introducing Polygon Nightfall Mainnet: Decentralized Private Transactions for Enterprise

We’re in the early innings when it comes to enterprise needs for blockchains. Whether it’s supply chain management or marketplaces, the potential for secure business transactions on a public ledger has enormous implications. That’s why we’re pleased to announce Polygon Nightfall, a blockchain solution that leverages cutting edge Optimistic-Zero Knowledge technology to give businesses an […]

Read More
Polygon Is Going Carbon Negative in 2022 With a $20 Million Pledge

Today marks the start of a new, sustainable era for the Polygon ecosystem -- the core team has committed to eliminating all of the network’s carbon debt going back to inception and making the chain climate positive into the future. Polygon’s Green Manifesto announced today is part of a broader vision for sustainable development that […]

Read More
Introducing Polygon ID, Zero-Knowledge Identity for Web3

At Polygon, we believe that putting people firmly in control of their digital identities is at the core of Web3’s promise to empower users over networks. We have been working behind the scenes to fulfill this promise and today are proud to introduce Polygon ID, the self-sovereign, decentralized and private identity for the next iteration […]

Read More
Calling All Web3 Developers: #WAGMIonPolygon

This is Dalip, head of Developer Relations at Polygon. These past few weeks have been tough on everyone in Web3. But when the going gets tough, the tough get building. That’s why today we are announcing #WAGMIonPolygon, a new series for developers available on our YouTube channel. The program will focus on educational content, expert […]

Read More
PolygonInsights - WEEK19

Hola readers! Roland-Garros, an eTennis competition series by BNP Paribas, will launch its first NFT collection on Polygon, Chainsmokers shared their album royalties via NFT drops on our network, and the Polygon PoS bridge maintains its position in the Top 5 most used dApps on Ethereum. Let’s dive in.  Key takeaways:  There was an increase […]

Read More
MSP Recovery and Tokenology Choose Polygon to Tokenize Medical Claims

MSP Recovery, a $32.6 billion publicly-traded U.S. company leading the healthcare reimbursement recovery industry, has partnered with Tokenology to launch a healthcare claims tokenization platform that will help eliminate fraud and benefit patients, care providers and insurers alike.  LifeChain will run on Polygon, leveraging the carbon-neutral network’s low transaction fees, high throughput and a suite […]

Read More
crossmenuchevron-down-circle