dYdX is a DeFi focused on the exchange of crypto assets. In it, users can do trading spot , margin or inclusive, trade with perpetual contracts Bitcoin and cryptocurrencies . It recently launched its new Ethereum layer 2 platform, which would make use of ZK-rollups, allowing users to trade perpetual contracts with very low commissions and no waiting times.
The use of this Ethereum layer 2 scalability improvement will only be implemented, for now, in the perpetual contract trading module. However, although the application allows the use of layer 1 wallets for interaction with it, with the new improvement, users will be able to continue using the same wallets, without any modifications .
The announcement about the launch of the new module was made public on April 6 through the dYdX blog. In this, the launch of the new platform for trading perpetual contracts with the zkSTARKS rollups was announced, which would arrive thanks to the StarkEx scalability engine of the StarkWare company.
This new perpetual contracts trading module, basically, it would be the replacement of the previous one, which works within the main Ethereum network (layer 1) . Within the announcement of the launch, users are recommended to close their positions within the old module, since, if not, they will be automatically liquidated on April 20 of this year.
For its part, the change in the platform is merely operational internally. The interface would receive only a few minor tweaks, but would retain the way it is used.
layer 2 (Rollups)
Within the ad, The motivations that led dYdX to migrate to a more user-friendly platform are explained, the main cause being the inability of the main Ethereum network to cope with the high demand that has been suffered in these recent times .
Currently Ethereum processes, on average, a total of 15 transactions per second (TPS) which is not enough, given that every time new DApps are born that need more network bandwidth (more TPS). With the implementation of the ZK-rollups, a window opens that could increase this limit beyond 20,000 TPS, a goal proposed by the ZKsync 2.0 rollups, which are used by the ZK-rollups, as reported by CriptoNoticias at the time.
in the perpetual contracts module of dYdX
With the use of the ZK-rollups in dYdX within the perpetual contracts trading module, a series of changes were implemented in order to improve the user experience.
As of launch, users will be able to see some improvements thanks to the reduction in waiting times and low commission costs, such as: placing smaller orders which, in addition, thanks to the new optimization, will not suffer delays by the network and will be placed in the order book immediately .
In the same way, users will be able to make cross margin between the different contracts perpetual available on the platform, as well as enjoy much lower commissions in any of the operations carried out within dYdX. They will also benefit from an increase in the size of leverage and low penalties for order settlement.