Atomically deposit any token into any lending vaults (Aave, Morpho, Compound, Euler, Yearn, Beefy, Lido, Fluid and more) in a single atomic transaction
Suppose you hold $GALA and want to put it to work earning yield in a lending protocol, specifically by converting it into interest bearing $aETHWETH in a single atomic transaction. With GlueX’s unified Router API and smart contract integrations, you can swap one token and deposit the proceeds into a lending vault atomically, without juggling approvals or multiple onchain calls.In this guide, we’ll walk through exactly how to:
Build a swap quote to convert $GALA into $WETH
Bundle that quote into a Zap that deposits directly into the Aave vault to receive $aETHWETH
Submit the transaction and verify the resulting vault deposit
Moving from a regular token to a yield bearing asset usually requires multiple platforms, manual steps and higher fees. GlueX removes these barriers, bringing:✅ Time efficiency - One transaction instead of many✅ Cost savings - Lesser gas fees✅ Simplicity - No manual interactions with multiple protocolsThis tutorial uses $GALA → $aETHWETH as an example, but GlueX allows you to swap any token to any yield generating token in a single transaction
🔹 Instant access to yield without manual interventions🔹 Seamless diversification into yield generating assets🔹 Cost savings by reducing gas fees across multiple stepsWith GlueX, DeFi becomes as easy as sending an email 🚀