December 24, 2024

Rise To Thrive

Investing guide, latest news & videos!

Uniswap Launches Swap Widget — Devs Can Embed the Dex With ‘One Line of Code’

3 min read

On Thursday, Uniswap Labs, the company behind the popular decentralized finance (defi) protocol, Uniswap, launched a tool called the Swap Widget. Essentially, the widget allows developers and decentralized app (dapp) operators to embed the Uniswap decentralized exchange (dex) app with “one line of code.”

Software Engineers Can Now Embed Uniswap Swapping Functionality Into Web3 Dapps

One of the largest dex applications in terms of trade volume, Uniswap, announced the launch of a new widget tool that gives dapp operators the ability to integrate Uniswap into their third-party applications. The Uniswap blog post that announces the new Swap Widget explains that integration is easy as it only requires a single React component and one line of code.

“We envision a world in which everyone is able to access fair, open, and transparent markets,” the company said on Thursday. “The Swap Widget brings this vision closer to reality by allowing developers to easily embed Uniswap swapping functionality, allowing their users to seamlessly swap tokens, join a community or DAO, wrap assets, and more, without leaving their apps.”

The Swap Widget features a user interface that is customizable and for pricing the widget “bundles Uniswap Labs’ Auto Router to find the best price across Uniswap v2 + v3 token pools.” The widget also connects to layer two (L2) chains including Polygon, Arbitrum, and Optimism. Uniswap says that the Swap Widget is already available in a number of popular Web3 applications like Oasis.app, Friends With Benefits, and the non-fungible token (NFT) marketplace Opensea.

As of Thursday, the widget is fully available to embed into a Web3 application and people can follow instructions by leveraging Uniswap’s developer docs. In order to ask questions or get technical support, interested Swap Widget users need to join the group’s Discord channel. At the time of writing, Uniswap v3 has the largest trading volume out of a slew of dex protocols with $1.11 billion in 24-hour volume. There are 479 unique tokens available on Uniswap and roughly 923 pairs, according to dex platform statistics.

Tags in this story
dApps, DeFi, Defi Apps, Defi protocols, Devs, Embed Uniswap, Engineers, Software Developers, Swap Widget, Swapping, trading, uniswap, Uniswap V2, uniswap v3, Web3 Apps, Web3 Dapps

What do you think about Uniswap’s Swap Widget? Let us know what you think about this subject in the comments section below.

Jamie Redman

Jamie Redman is the News Lead at Bitcoin.com News and a financial tech journalist living in Florida. Redman has been an active member of the cryptocurrency community since 2011. He has a passion for Bitcoin, open-source code, and decentralized applications. Since September 2015, Redman has written more than 5,000 articles for Bitcoin.com News about the disruptive protocols emerging today.




Image Credits: Shutterstock, Pixabay, Wiki Commons

Disclaimer: This article is for informational purposes only. It is not a direct offer or solicitation of an offer to buy or sell, or a recommendation or endorsement of any products, services, or companies. Bitcoin.com does not provide investment, tax, legal, or accounting advice. Neither the company nor the author is responsible, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with the use of or reliance on any content, goods or services mentioned in this article.

Read disclaimer