Click the link below to see us port GMX to ZkEVM in a matter of minutes!

ZkEVM: The Future of Web3 Development

ARC
4 min readDec 23, 2022

--

Today we’re proud to share a demonstration of migrating GMX from Arbitrum Blockchain to Polygon ZkEVM. Our developers were able to complete this migration using the ARC Reactor in less than 20 minutes! This ability to migrate EVM-based projects to ZkEVMs quickly and effectively will be massively beneficial for Web3 developers around the world.

Watch it here.

Web3 developers have a new tool at their disposal with the release of ZkEVM (Zero Knowledge Ethereum Virtual Machine). This innovative technology is a layer 2 solution that applies the concept of ZK Rollups to the Ethereum Virtual Machine (EVM), allowing developers to retain all the benefits of rollups without sacrificing any of the functionality of the EVM.

What Are ZK Rollups?

You may still be wondering what exactly a ZK Rollup is and why it is so important. Simply put, a ZK Rollup is a blockchain scalability solution that allows for increased transaction speed and reduced costs, without sacrificing security. By computing transactions off-chain and only committing proof of these transactions to the blockchain, ZK Rollups can handle a much larger volume of transactions without causing network congestion or skyrocketing gas fees.

What is the ZkEVM?

This is where the ZkEVM comes in. It allows developers to port their existing EVM code over to the ZkEVM platform, giving them access to the scalability benefits of ZK Rollups without losing any of the features or functions of their smart contracts. In fact, ZkEVM can increase transaction speed even further, with estimates indicating that it can handle up to 40,000 transactions per second — a massive improvement over Ethereum’s current limit of 20 transactions per second.

But the benefits of ZkEVM don’t stop there. It can also dramatically reduce the costs of transactions, with estimates suggesting that it can lower gas fees by as much as 99% compared to regular Ethereum transactions. And for developers and users who value privacy, ZkEVM has an added bonus. By computing transactions off-chain and only committing proof of these transactions to the blockchain, ZkEVM transactions remain anonymous, as they are compressed down to just one on-chain transaction.

How does the ARC Reactor integrate with ZkEVMs?

Enter ARC’s Web3 IDE, the ARC Reactor. The ARC Reactor is a comprehensive toolkit for blockchain development, including a range of features that make it an ideal home for developers working with ZkEVM. With the ARC Virtual Machine, EVM technology has been fully integrated, and now zkEVM’s. As Polygon’s ZkEVM prepares to launch on the mainnet in early 2023, ARC is proud to offer the first EVM-to-ZkEVM end-to-end solution.

ZkEVM deployment is more efficient with the ARC Reactor than any existing solution.

In addition to the ability to move existing EVM code to ZkEVM, the ARC Reactor now offers the ability for developers to build and deploy new smart contracts on Polygon ZkEVM. This means that the ARC Reactor is now officially integrated with ZK Rollups and allows development on ZK Rollups to be a seamless process through the ARC Reactor. This means that developers can leverage all the advantages of ZkEVMs to build projects that are 90% faster and more cost-effective. Developers can access these tools in addition to all the other competitive offerings our Reactor provides.

The ARC Reactor isn’t just for ZkEVM development — it also includes code-to-diagram technology and a market-leading auto-compiler, making it an intuitive platform for developers working on any type of Web3 project.

Our fork of GMX on ZK Rollups could be 1000 times more efficient, driving higher margins as well as lowered transaction fees, and faster throughput.

So if you’re a developer looking to take your projects to the next level with the power of ZkEVM, the ARC Reactor is a perfect choice. With the ARC Reactor, developers can not only take advantage of this technology but build on top of this in the most efficient Web3 Developer Suite.

Hello, Limitless.

For a full breakdown of all the contracts we deployed in our demonstration video, please see this link.

This is a breakdown of the contracts that have been deployed alongside their corresponding addresses:

WETH (WETH): 0xE9CC37904875B459Fa5D0FE37680d36F1ED55e38
GMX : 0x7207359635174EA1b24838e4C97844bb32C9c64E
Vault : 0x25dCc18F620Cf897a41757ab6efD4155D29280dD
GLP: 0xd8077d23849D06fB19A82F381C10B3A8dC2CC977
USDG : 0x7adE2450Ebf3cfF815F2686d38096D9e6F56C3C6
_vault (address):
Router: 0x5bA7FaDD8a348cf7B03D22792dbc7d642326D032
_vault :
_usdg :
_weth :
ShortsTracker: 0xdb6de030713a4E3CAE4c064F381c8aC35DAcF896
_vault :
PositionRouter: 0x54B86316B3D0dC8Ba8102706B163ed0Ce8c65497
_vault (address):
_router (address):
_weth (address):
_shortsTracker (address):
_depositFee (uint256): 30
_minExecutionFee (uint256): 20000000000000000
OrderBook: - 0x70CEa19EFC89B3586A19F00044bd690F2b947252
OrderBookReader: - 0xe654790B6eA6911bc8CD1525943bcaF19eEa08d6
Reader: - 0xEb786a7eBBa150eE531a1c54444DfA2333853Af5
RewardTracker ===> deploy 3 times, for:
StakedGmx 0x69E37c7f2531E36c7741aA41A685c2c439eF5C1D
Staked + Bonus + Fee GMX
sbfGMX
StakedGlpTracker 0x419EA17dC0E0DA2Cc9A7435a37ED6a8115e04314
Fee + Staked GLP
fsGLP
FeeGlpTracker 0xD6b1326B45fe265a6aD9975C4bC4A0B9eDc816b4
Fee GLP
fGLP
GlpManager: 0xA27B70A1366C7C94e7Ab8A089914AD6ABc881257
_vault (address):
_usdg (address):
_glp (address):
_cooldownDuration (uint256): 900
StakedGlp: 0x5439c7E2D9c598567D8A50E41df5846b8087C8BE
_glp (address):
_glpManager (address):
_stakedGlpTracker (address):
_feeGlpTracker (address):
RewardRouterV2: - 0xFbf62dFb7F228EA1121c70142cfD79A45a665167

--

--

ARC

AI Unleashed, Web3 Secured. Simplifying Enhancing and Securing Your Web3 Experience.