Routes

Routes overview

This page explains the concept of routes in Wormhole Connect. To configure them in your widget, check here.

Routes are methods by which the widget will transfer the assets. Wormhole Connect supports Token Bridge transfers for any arbitrary token, and for certain tokens it also supports more advanced transfer methods that provide superior UX.

When you select the source chain, source token and destination chain, Wormhole Connect will display the best routes that are available for that particular combination. In practice, this means that if routes other than the Token Bridge is available, only those will be displayed. Check the feature matrix to see under which exact conditions the routes appear.

Token bridge routes

This is the transfer method that Wormhole is best known for. It locks assets on the source chain, and mints wormhole-wrapped "IOU" tokens on the destination chain. To transfer the assets back, the wormhole-wrapped tokens are burned, which unlocks the tokens on their original chain.

Manual route

This transfer method requires 2 transactions: one on the origin chan to lock the tokens (or burn the wormhole-wrapped tokens), and one on the destination chain to mint the wormhole-wrapped tokens (or unlock the original tokens). To offer this option, enable the bridge route in the configuration.

Automatic route

Trustless relayers are able to execute the second transaction on behalf of the user, so that the user only needs to execute 1 transaction on the origin chain to have the tokens delivered to the destination automatically - for a small fee. Wormhole Connect automatically detects whether a token is supported by the relayer, and will display the option if the relay route is enabled in the configuration.

CCTP routes (for USDC only)

Circle, issuer of USDC, provides a native way by which native USDC can be transferred between CCTP enabled chains. Wormhole Connect is capable of facilitating such transfers.

Note that if native USDC is transferred out of the CCTP-enabled chains to any other outside of this list, the transfer will be routed through the Token Bridge and the resulting asset will be a wormhole-wrapped token instead of native USDC.

Manual route

This transfer method needs 2 transactions: one on the origin chain to burn the USDC, and one on the destination chain to mint the USDC. The manual CCTP route does not use Wormhole messaging in the background, relying on CCTP only. To offer this option, enable the cctpManual route in the configuration.

Automatic route

Trustless relayers are able to execute the second transaction on behalf of the user, so that the user only needs to execute 1 transaction on the origin chain to have the tokens delivered to the destination automatically - for a small fee. To offer this option, enable the cctpRelay route in the configuration.

Native Token Transfers (NTT) routes

A framework by Wormhole, Native Token Transfers enables token issuers to retain full ownership of their tokens across any number of chains, unlike the Token Bridge. NTT contracts must be deployed by the token issuer, and Wormhole Connect needs to be configured with the appropriate nttGroups before such tokens are recognized as transferrable via NTT. Refer to the documentation in the NTT repo for more information about the contracts needed and about the framework in general.

Manual route

This transfer method needs 2 transactions: one on the origin chain to burn or lock the tokens, and one on the destination chain to mint the tokens. To offer this option, enable the nttManual route in the configuration.

Automatic route

Trustless relayers are able to execute the second transaction on behalf of the user, so that the user only needs to execute 1 transaction on the origin chain and have the tokens delivered to the destination automatically - for a small fee. Wormhole Connect automatically detects whether a token is supported by the relayer, and will display the option if the nttRelay route is enabled in the configuration.

ETH Bridge route

Powered by Uniswap liquidity pools, this route can transfer native ETH or wstETH between certain EVMs without going through the native bridges. For example, you can transfer native ETH from Arbitrum to Optimism and end up with Optimism ETH all in one go. Supported chains are: Ethereum, Arbitrum, Optimism, Base, Polygon (canonical wETH), BSC (canonical wETH), Avalanche (canonical wETH)

Automatic route

Due to the complexity of the transaction that need to be executed on the destination, only the relayed route is available. To offer this option, enable the ethBridge and/or wstETHBridge route in the configuration.

Cosmos Gateway route

Wormhole Gateway is a Cosmos-SDK chain that provides a way to bridge non-native assets into the Cosmos ecosystem and serves as a source for unified liquidity across Cosmos chains. This transfer method is offered when the destination is an IBC-compatible Cosmos chain (Osmosis, CosmosHub, Evmos, Kujira, Injective).

Automatic route

The Wormhole Guardian network automatically delivers messages to Wormhole Gateway if the tokens are destined for IBC-compatible Cosmos chains, requiring no input or extra 'Gateway gas' from the user. When the wormhole-wrapped tokens are minted on Gateway, they are then automatically transferred to their intended destination via a network of IBC relayers. To offer this option, enable the cosmosGateway route in the configuration.

tBTC route (for tBTC only)

Bridge Threshold's Bitcoin via this hybrid solution that uses a combination of the Token Bridge and Threshold's own contracts. Native tBTC is first locked in the Wormhole Token Bridge, transferred to the destination in the form of wormhole-wrapped tBTC, which is then immediately locked in Threshold's contract that mints native tBTC for it. The net result is that the user ends up with native tBTC on chains where this Threshold contract is deployed (Solana, Polygon, Arbitrum, Optimism, Base).

Note that if native tBTC is transferred out of these chains to any other outside of this list, the transfer will be routed through the Token Bridge and the resulting asset will be a wormhole-wrapped token instead of native tBTC.

Manual route

This transfer method needs 2 transactions: one on the origin chain to burn or lock the tokens, and one on the destination chain to mint the tokens. To offer this option, enable the tbtc route in the configuration.

Last updated