LayerCakeSwap is a DEX protocol which consumes 7 times less gas1 in comparison with UniSwap, based on L2 network. It solves following problems:
- High gas rates make DeFi expensive for users ~$12-18 USD per swap (@ 1,000 USD/Eth)
- DeFi users prefer and trust Ethereum and aren’t willing to migrate to side chains solutions (like Binance Smart Chain, POA, etc.) for gas efficiency
Users interact with LayerCakeSwap smart contract on Ethereum using familiar interface, no additional setup required. Even more, LayerCakeSwap contract API is accessible for other smart contract on Ethereum.
Smart contract emits events to manage operations on L2 network based on Polkadot (Substrate). Gas efficiency comes from executing calculations & data storage on L2 network.
Operation | UniSwap | LayerCakeSwap |
---|---|---|
Deposit Eth | - | 22,656 |
Deposit token | - | 48,628 |
Swap token to Eth2 | 165,969 | 22,656 |
AddToLiquidity pool | in research | 22,656 |
Withdraw from liquidity pool | in research | 22,656 |
Withdraw ETH | - | no data yet |
Withdraw token | - | no data yet |
1 - for swap operation. UniSwap gas consumption was measured for ETH/DAI pair.
2 - gas for UniSwap was measured for ETH/DAI Swap
- User interacts with smart contract on Ethereum network as usual
- Contract processes method and emits an event
- LCSwap listens to events and execute orders on L2
Deposit assets (Ethereum / Token)
Orders (Swap, Liquidity pool management)
Withdraw process
Legend