01 May 2023•
4 min read
We are excited to announce the launch of Wormhole Connect, an easy-to-integrate widget that allows developers to add cross-chain asset bridging directly into their dapp in as few as 3 lines of code.
In today’s status quo, transferring assets cross-chain is incredibly difficult for both users and developers.
For end-users who want to bridge tokens from other networks, they often need to leave a website/dapp to bridge, manage different gas tokens and multiple wallets, and then return to the original dapp to complete their transaction.
For developers, it’s not much better. Operating on multiple chains means having to manage the intricacies of integrating multiple blockchains/runtimes and, in the worst-case scenario, sending users away from your app/website to complete their bridging elsewhere.
Wormhole Connect is an open-source frontend SDK that lets Web3 developers embed asset bridging directly into their apps or websites. With Connect, developers can simplify their users’ end-to-end bridging experience and customize the UI so that the widget can feel native to their environment.
Drift Protocol is a DEX (decentralized exchange) built on the Solana blockchain, enabling transparent and non-custodial cryptocurrency trading. Drift Protocol is designed to provide a seamless trading experience with low slippage, low fees, and minimal price impact amongst four primary products:
By integrating Wormhole Connect, Drift Protocol allows users from various blockchains to access their DeFi products. See how easy integrating Connect into their dapp has been:
Integrating Wormhole Connect will provide Drift users with seamless cross-chain functionality, enhancing their overall experience and supporting Drift and Wormhole’s mutual goal of driving the growth and widespread adoption of DeFi.
While today Wormhole Connect focuses on transferring assets using the Wormhole-powered token bridge contracts, eventually, it will enable developers to create custom Wormhole Connect-compatible routes that any integrator can use. These custom routes can add additional liquidity sources, such as native swaps or native USDC transfers through CCTP, or even chain arbitrary functions along with bridging functionality.
Integrators will be able to choose which routes to expose to their users, ensuring the best fit for their use cases. The widget will also expand its default routes, supporting bridging to native or wrapped assets by automatically routing between e.g., Portal Bridge, Circle, or Hashflow, depending on the desired destination asset.
Integrating cross-chain functionality has never been easier. Here’s the snippet for a simple integration:
<!-- include in <head> --> <script src="https://www.unpkg.com/@wormhole-foundation/[email protected]/dist/main.js" defer></script> <link rel="https://www.unpkg.com/@wormhole-foundation/[email protected]/dist/main.css" /> <!-- include in <body> --> <div id="wormhole-connect"></div>
Yes, just a few lines of code - that's all you need. Do you want to learn more?
Please refer to our Integration Guide for detailed instructions on how to integrate Wormhole Connect.
Of course, we are here to help and happy to guide you along the way: please reach out on Discord, get the “builder” role, and join our exclusive developer channels.
Alternatively, you can check out the Connect page and begin developing on the cutting edge of cross-chain.
If you’re new to Wormhole, here’s what you need to know:
Wormhole is the industry standard cross-chain messaging protocol powering applications across Web3. Wormhole provides developers access to liquidity and users on over 20 of the leading blockchain networks, enabling use cases that span DeFi, NFTs, governance, and more. Wormhole enables a growing suite of products to build on its messaging layer - Wormhole Connect is a key asset layer product, providing developers an in-app bridging widget that can be integrated in as few as 3 lines of code. The wider Wormhole network is trusted and used by teams like Circle and Uniswap, and to date, the platform has facilitated the transfer of over 35 billion dollars through hundreds of millions of cross-chain messages.
Learn more on wormhole.com.
If you have questions, need support, or simply want to connect, join the Wormhole community and keep up-to-date with our upcoming announcements. We’re always happy to hear your feedback.
Here’s your chance to get in on this one.
Take a deep dive into our ever-evolving discussion on xChain technologies, new feature announcements, research, and more.
20 Sep 2023•
2 min read
Wormhole Connect has integrated Circle’s Cross-Chain Transfer Protocol (CCTP) to enable application builders (and their users) to utilize Native USDC for their cross-chain token tr...
20 Sep 2023•
2 min read
17 Aug 2023•
3 min read
Moonbeam, a top platform for multi-chain applications in the Polkadot ecosystem, has launched Moonbeam Routed Liquidity (MRL). With this, Moonbeam unlocks billions of dollars in li...
17 Aug 2023•
3 min read