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.
What do you think about Uniswap’s Swap Widget? Let us know what you think about this subject in the comments section below.
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.
Source: https://news.bitcoin.com/uniswap-launches-swap-widget-devs-can-embed-the-dex-with-one-line-of-code/