Multi cross-chain bridges and transaction batching on destination chain.
This project aims provide a widget to perform multiple cross-chain bridges and batch swapping and staking on the destination chain. Minimising the steps required for users wishing to make use of protocols in different chains. As a use case we perform a cross-chain Bridge to Polygon and from there we swap and deposit tokens into AAVE Lending Pool.
How it's made
This project uses Li Finance SDK to bridge the assets from xDai and BSC into Polygon. Once the funds are transferred to the destination chain we initialise the Etherspot SDK to create transactions which we can batch within a single call. Therefore reducing the amount of the steps in the user flow.