Radyal brings cross-chain DeFi to the masses, by allowing users to farm advanced strategies from any chain, on anychain.
The PoC we present here at EthGlobal allows users to deposit their assets in multiple strategies directly or indirectly event partners.
Strategy list (depending on productivity over the weekend):
https://github.com/AstrolabFinance/radyal-strats/blob/main/README.md
Radyal is brought to you by Astrolab's team, and was entirely designed and built at EthGlobal.
Here is our stack
Contracts/relayers/calldata SDKs
- ERC4626: we forked the standard vault as implemented by @openzeppelin to our own version As4626, which embeds PnL linearization (front-run protection), fee management (entry/exit/management/performance) and related accounting
- @astrolabs/swapper: DEX+Bridge aggregator used to generate calldata, itself used to Zap from any token/chain to any other.
It allows us to aggregate liquidity from major DEX aggregators (eg. 1inch, 0x, CowSwap<-not implemented yet) and bridges (eg. Across, Stargate, CCTP) simultaneously, with a single interface.
https://AstrolabFinance/swapper
- Cross-chain messaging with Li.Fi xChain Zaps + Squid Router Hooks: we built an add-on for @astrolabs/swapper as part of the hackathon to support aggregated bridge messaging, enabling trustless, serverless end-to-end transactions.
Front-end
- WalletConnect Web3Modal + Wagmi: version 3 has made w3m a go-to solution when it comes to UX and compatibility with wallet providers, reason why we chose it over competitors (such as onboard or rainbowkit)
- React: does not need an intro!
Repositories:
https://AstrolabFinance/radyal-front
https://AstrolabFinance/radyal-strats