Ethereum co-founder Vitalik Buterin proposed a way to connect disparate scaling solutions at the second layer of the network. This will allow transactions between services in the decentralized finance (DeFi) space that use different scaling solutions, without having to settle on the mainnet.
Such solutions, also called roll-ups, are smart contracts where the user makes a deposit. After that, all operations are carried out in a roll-up without calls to the main network. The various scaling solutions have their own contracts and cannot communicate with each other except through the main network. As a result, a situation arises when on the second level it is impossible to conduct a direct transaction between Synthetix and Loopring.
“Suppose there is an intermediary in exchange operations, Ivan (in real implementation, you can choose from a variety of intermediaries),” Buterin writes. – Ivan has an IVAN_A account in rollup A (which he completely controls). Ivan also has a certain amount of funds in the IVAN_B smart contract of rollup B “.
The developer expects users to transfer their assets along with instructions to such intermediaries to move them between roll-ups for a small fee. Crediting funds to the user in roll-up B through a smart contract will reduce the risk of fraud. According to Buterin, in the worst case, if Ivan takes the commission and does not send the transaction, the user will have to find a way to get some funds in roll-up B to pay the commission, and then independently claim the assets from the contract.
In this case, the transfer of funds will be carried out with a delay in order to group operations. The described system resembles the principles of mutual settlements of banks, when when transferring money from one bank to another, the user immediately sees changes in balances, but in reality the banks settle among themselves after some time.
Buterin describes the concept using an individual user as an example. It is possible that over time, independent projects will be launched for such operations, which will be managed by decentralized autonomous organizations using staking and liquidity pools. In addition, DeFi projects will be able to directly integrate exchange services, making life easier for their users.