Crosschain Swap
Last updated
Last updated
Crosschain Swaps in Onchain Toolkit, powered by LayerZero, enable secure and seamless asset transfers across blockchain networks. Hereβs how to get started:
Step 1: Connect Your Wallet
Open the Onchain Toolkit platform.
Click the Connect Wallet button at the top right of the interface.
Select your preferred wallet (e.g., MetaMask, WalletConnect) and authorize the connection.
Ensure that your wallet is configured for the blockchain network you want to swap from.
Step 2: Navigate to Crosschain Swaps
On the left-hand sidebar, click on Crosschain Swaps to open the swaps interface.
Youβll see fields to select the source blockchain, destination blockchain, and the asset you want to swap.
Step 3: Choose Your Networks and Asset
Source Network: Select the blockchain where your assets are currently located. (Example: Ethereum, Binance Smart Chain, or Polygon)
Destination Network: Choose the blockchain where you want to send your assets.
Asset Selection: Pick the token or cryptocurrency you wish to swap. Make sure the asset is supported on both the source and destination networks.
Step 5: Preview, Confirm and Approve the Swap
Once you have click preview, you can choose from the selected provider.
Click Approve to authorize the transaction in your connected wallet.
Once approved, click Swap to initiate the crosschain transfer.
A confirmation window will appear with the transaction details. Review them carefully before confirming.
Step 6: Wait for Confirmation
The swap process will take a few minutes as LayerZero technology securely transfers your assets across networks.
You can monitor the progress of your transaction directly on the platform or by checking the transaction ID in a blockchain explorer.
Step 7: Verify Your Balance
Once the swap is complete, your assets will appear in your wallet on the destination blockchain.
Open your wallet and ensure the token balance reflects the swapped amount.
Best Practices for Crosschain Swaps
Check Supported Assets: Ensure the asset and blockchain combination is supported by Onchain Toolkit.
Verify Fees: Review transaction fees before confirming the swap to avoid surprises.
Ensure Sufficient Gas: Make sure you have enough native cryptocurrency (e.g., ETH, BNB) for gas fees on both the source and destination networks.
Use a Reliable Wallet: Ensure your wallet is up to date and compatible with LayerZero-powered swaps.
Why Use Crosschain Swaps?
Trustless Transactions: LayerZero ensures secure, decentralized swaps without intermediaries.
Enhanced Liquidity: Access fragmented markets and broaden your investment options.
Efficient and Fast: Seamless asset transfers without relying on traditional centralized exchanges.
Onchain Toolkit makes crosschain swaps straightforward and efficient, empowering users to navigate decentralized finance with ease. Whether you're optimizing your portfolio or exploring new markets, these swaps unlock the full potential of the blockchain ecosystem!