Native Ethereum projects like Uniswap written in Solidity can now be “transpiled” to StarkNet via Nethermind’s new Warp project.
Ethereum development company Nethermind has announced that it has “transpiled and compiled” the Uniswap v3 decentralized exchange (DEX) into “Warp”, a project designed to allow Ethereum users to trade tokens on the Ethereum Layer 2 network. Ethereum, more scalable, StarkNet.
The milestone was announced by team leader Jorik Schellekens in an October 9 Medium post.
Nethermind describes Warp as a “Solidity to Cairo transpiler,” allowing Ethereum-based projects written in Solidity to translate their codebase to StarkNet, allowing them to capitalize on cheaper costs.
Transpilation 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 the Solidity code into Cairo, the programming language used to write applications on StarkNet.
The Warp plugin is still technically in development, according to Schellekens, but he added that Nethermind will soon “run the entire Uniswap test suite against a StarkNet-deployed Uniswap implementation.”
The milestone came after StarkNet’s new “build contracts from other contracts” capability, which is what allowed Warp to successfully transpile and install all Solidity files from Uniswap v3.
Schellekens noted the importance of this feat due to the sheer size of the Uniswap code base, which allows projects of all sizes to access StarkNet:
“With Warp maturing rapidly, the barrier to entry for projects large and small to test the capabilities of StarkNet is down.”
But Warp’s translation of Solidity in Cairo was not perfect. Warp’s GitHub indicates that there are still a number of Solidity features that Nethermind developers haven’t figured out how to add to Cairo, while some other key features require “developer intervention” or “will likely never be supported.”
Related: StarkWare Lands $100M As Investors Confident in Layer 2 Success
Nethermind said they plan to continue improving Warp features to bring more Ethereum-based projects to StarkNet:
“We will continue to work hard on features and repeat this experiment with several other protocols, bringing new protocols to StarkNet at a rapid rate.”
StarkWare, the company behind StarkNet, partnered with Nethermind in July 2021 to help build advanced features and infrastructure elements for StarkNet.
Nethermind and Warp are not affiliated with Uniswap.