Decentralized exchange Uniswap v3 gets 'Warp'ed' onto StarkNet

Ethereum-native projects like Uniswap that are written in Solidity can now be transpiled to StarkNet via Nethermind’s new ‘Warp’ project

Ethereum development company Nethermind has announced it has “transpiled and compiled” decentralized exchange (DEX) Uniswap v3 on “Warp” — a project designed to allow Ethereum users to swap tokens on the more scalable Ethereum layer-2 network StarkNet. 

The milestone was announced by team lead Jorik Schellekens in an Oct. 9 Medium post.

Nethermind describes Warp as a “Solidity to Cairo Transpiler” which enables Ethereum-based projects written in Solidity to transition its codebase onto StarkNet, allowing them to capitalize on cheaper fees.

Transpiling is the process of taking source code written in one programming language and transforming it into another language that has a similar level of abstraction.

In this case, Warp transpiles Solidity code to Cairo — the programming language used to write applications on StarkNet

The Warp plugin is still technically under development according to Schellekens, but he added that Nethermind will soon have “Uniswap’s entire test suite running against a Uniswap implementation deployed on StarkNet.”

The milestone came following StarkNet’s new “contract creation from other contracts” capability, which is what enabled Warp to successfully transpile and deploy every Solidity file from Uniswap v3.

Schellekens noted the significance of this feat given the sheer size of Uniswap’s codebase, allowing projects of all sizes to get onto StarkNet. 

“With Warp rapidly maturing, the barrier to entry for large and small projects alike to test out the capabilities of StarkNet is lowering.”

But Warp’s Solidity to Cairo translation hasn’t been picture-perfect. Warp’s GitHub shows that there are still a number of Solidity functions that Nethermind developers haven’t figured out how to add to Cairo, while a few other key functions will either require “developer intervention” or will “likely never be supported” at all.

Related: StarkWare nets $100M as investors bank on layer-2 success

Nethermind said that they plan on advancing Warp’s features further to bring more Ethereum-based projects to StarkNet.

“We will continue working hard on features and repeat this experiment with a few other protocols, bringing new protocols to StarkNet at warp speed.”

StarkWare, the company behind StarkNet, teamed up with Nethermind in Jul. 2021 to help build advanced features and infrastructure elements for StarkNet.

Nethermind and Warp are not affiliated with the decentralized exchange (DEX) Uniswap.

Source: https://cointelegraph.com/news/decentralized-exchange-uniswap-v3-gets-warp-ed-onto-starknet