Earn with Trails
A variety of applications enable users to earn yield on their assets by depositing liquidity into various protocols. This is a complex task as developers must manually integrate various protocols across chains that also meets their target risk profile. Then once integrated, users must find a bridge, manually move their liquidity to the desired chain, potentially swap to the vault or pool asset, and finally deposit into the protocol. Trails simplifies this by natively integrating with various DeFi protocols for easy integration - highlighting APY, TVL and other metrics important for users. Additionally, developers can specify any arbitrary logic and pass it to trails for more complex or custom flows. For users, all the complexity is handled for them including swapping and bridging to the corresponding vault or pool token in a single transaction to immediately begin earning yield.Use Cases
Ideal for a variety of yield-generating and staking scenarios:- Deposit into lending protocols like Aave or Morpho
- Fund yield aggregator vaults like Yearn Finance
- Fund auto-compounding yield strategies
Examples
Deposit into a user-selected Aave or Morpho vault
Trails has integrated multiple DeFi pools and vaults across several protocols such as Aave and Morpho that your users can select from out of the box.Deposit into a specific DeFi pool
You can also use Trails with any lending pool that you define. The user can select any token they hold in their wallet from any supported chain to automatically swap to the corresponding pool token for a deposit. The calldata can be changed to support virtually any function and contract that you specify. For example, depositing USDC into an Aave pool on Base:Next Steps
Learn more about configuring and customizing earn flows:- Earn Mode Configuration - Complete configuration options and parameters for earn mode
- SDK Configuration - Widget setup, callbacks, and event handling
- Widget Theming - Customize the appearance to match your brand
- Tokens & Chains - Configure supported tokens and DeFi protocols
- Customization Guide - Advanced customization options for earn flows