Refuel
Last updated
Last updated
Managing native or gas tokens across multiple blockchains can be cumbersome and frustrating, especially when a cross-chain swap is required just to get enough gas for your main transaction. If you've ever felt this pain, Refuel is here to help.
Refuel is an instant bridge that allows users to swap gas tokens from one chain for gas tokens on other chains. Since gas swaps are typically small transactions meant to facilitate larger ones, processing speed and convenience are crucial. To ensure quick and efficient swaps, we've chosen a centralized approach for Refuel to make gas-to-gas swaps as fast as possible.
Deployment: Refuel contracts are deployed on supported chains. In the first wave, Refuel will be available on Ethereum, Arbitrum, Base, and zkSync Era, with plans to expand support to all chains supported by XY Finance
Transaction Creation: When users interact with Refuel on XY Finance, a transaction is initiated (after your approval) to transfer gas tokens from your wallet to our Refuel contract on the source chain.
Confirmation: We monitor the contracts for successful transfers on the source chain to confirm these transfers are indeed completed on the source chain
Completion: Upon confirmation, the contracts will initiate a corresponding transaction on the destination chain, transferring the appropriate amount of gas tokens to your address.
Here's a quick step-by-step guide.
Navigate: Click the "Refuel" button in the upper navigation bar.
Connect Wallet: Connect your wallet.
Select Chains: Choose the source and destination chains for your gas tokens.
Input Amount: Enter the token amount to swap or use the "5x Gas" / "10x Gas" buttons for pre-defined amounts based on estimated gas price.
Refuel: Click the "Refuel" button to proceed.
Confirm: Click the "Refuel" button again to confirm & approve the transaction.
Track: After approval, monitor your transaction status on the same page.
Tips: If you switched to a different page, you may find your Refuel transactions under "Transaction -> Refuel"