<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Danilo Kim on Medium]]></title>
        <description><![CDATA[Stories by Danilo Kim on Medium]]></description>
        <link>https://medium.com/@danilowhk?source=rss-598b5d76ca3a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CDwdzNxBJfjcLs_3CXltKg.jpeg</url>
            <title>Stories by Danilo Kim on Medium</title>
            <link>https://medium.com/@danilowhk?source=rss-598b5d76ca3a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 22:56:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danilowhk/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Kakarot zkEVM Journey Through 2023]]></title>
            <link>https://medium.com/@danilowhk/the-kakarot-zkevm-journey-through-2023-cc73200384ee?source=rss-598b5d76ca3a------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc73200384ee</guid>
            <category><![CDATA[starknet]]></category>
            <category><![CDATA[zero-knowledge-proofs]]></category>
            <category><![CDATA[zkevm]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[kakarot-zkevm]]></category>
            <dc:creator><![CDATA[Danilo Kim]]></dc:creator>
            <pubDate>Thu, 25 Jan 2024 09:54:11 GMT</pubDate>
            <atom:updated>2024-01-25T09:54:11.321Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Reflecting on the past year, 2023 has been remarkable for us at Kakarot, marked by substantial development progress, the forging of new partnerships, successful completion of two fundraising rounds, participation in major crypto events across the globe, and significant team growth. As we continue to progress on our commitment to scale Ethereum, we are very excited for what’s to come in 2024.</p><p>Below is a recap of everything you need to know about 2023.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZxmpEXyHMK2z-4UdE8oDrQ.jpeg" /><figcaption>2023 Laying the Foundations of Kakarot</figcaption></figure><h3>I. What is Kakarot?</h3><p>Kakarot is an L2 zkEVM built in Cairo, with the primary goal of scaling Ethereum and introducing new features, such as native account abstraction, to our community.</p><p>For this, we’ve implemented the <a href="https://ethereum.org/en/developers/docs/evm/">Ethereum Virtual Machine (EVM)</a> in <a href="https://book.cairo-lang.org/">Cairo</a>, a provable programming language developed by the <a href="https://starkware.co/">StarkWare</a> team. ‘Provable’ here means that every Cairo program can generate execution traces which can be used to generate Stark Proofs. This capability allows Kakarot zkEVM to execute thousands of transactions, bundle them into a single proof, and then verify it on Ethereum, thus functioning as a L2 zkEVM.</p><p>Now a question you might be asking: <a href="https://www.youtube.com/watch?v=t57fk1vyMLE&amp;t=1s">Why not implement an EVM directly in Zk Circuits</a>, as like solutions from Polygon zkEVM, Scroll, Taiko, and PSE zkEVM?</p><p>The reason is simple, building a zkEVM in a powerful higher-level language such as Cairo have many benefits compared to writing pure Circuits, despite the overhead. Here are some of these benefits:</p><ul><li><strong>Speed of Development</strong>: Leveraging the power of Cairo, in just 6 months, with a team of six developers and many open source contributors, we have managed to build not just one, but two zkEVMs, one in Cairo Zero ~10,000 lines of code and another one in Cairo ~20,000 lines of code, compared to ~110,000 lines of code for Scroll zkEVM circuits. Note that the reason we were able to develop the EVMs so quickly and have so many contributors is due to the simplicity of writing Cairo compared to pure ZkCircuits. It’s like writing in Python or Rust as opposed to working directly with assembly.</li><li><strong>Adaptability: </strong>Given Ethereum’s constant evolution and the fact that implementing new EIPs is much faster in higher-level languages like Cairo, we believe that Kakarot has the potential to quickly adapt and test all the new features and ideas from the Ethereum community before any other zkEVM.</li><li><strong>Security:</strong> “The best line of code is one that is never written.” With a smaller codebase, testing and auditing become easier, resulting in <a href="https://twitter.com/VitalikButerin/status/1592884235102474240">increased safety</a>. We rely on the battle-tested CairoVM, which has successfully scaled Ethereum for over 3 years through <a href="https://starkware.co/starkex/">StarkEx</a> and <a href="https://twitter.com/Starknet">@Starknet</a>. Therefore, by utilizing the CairoVM, Kakarot benefits from the audits and security work conducted by StarkWare’s cryptographers.</li></ul><p>By capitalizing on these advantages, we are currently exploring:</p><ul><li>Scaling Ethereum through an L2 zkEVM</li><li><a href="https://vitalik.eth.limo/general/2023/09/30/enshrinement.html">Proving Ethereum L1 by achieving type 1 zkEVM</a></li><li>Exploring Account Abstraction solutions for improved UX in web3 applications</li></ul><h3>II. Speeding up</h3><p>This first full year of Kakarot was a period of significant growth for us.</p><p>Notably, we successfully completed two investment rounds:</p><ul><li>A <a href="https://twitter.com/KakarotZkEvm/status/1664571575637626882">pre-seed</a> round, with the participation of StarkWare, Vitalik Buterin and <a href="https://x.com/KakarotZkEvm/status/1664571592469368834?s=20">many others</a>.</li><li>A <a href="https://twitter.com/KakarotZkEvm/status/1724406350825103425">seed</a> round, with the participation of Stake Capital, LongHash Ventures and <a href="https://x.com/KakarotZkEvm/status/1724406378096460227?s=20">many other investors</a>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pszeB0scSNe1EzPt.png" /></figure><p>These fundraisings allowed us to expand our team, welcoming many contributors and three new core team members:</p><ul><li><a href="https://twitter.com/bajpaiharsh244">Harsh Bajpai</a>, former protocol engineer of Polygon ID, as a core developer</li><li><a href="https://twitter.com/eniwhere_">Mathieu Saugier</a>, one of the most active contributors in the Cairo language and Starknet ecosystem, as a core developer</li><li><a href="https://twitter.com/greged93">Gregory Edison</a>, a former aeronautical and robotics engineer who transitioned to the blockchain industry in 2022, as a core developer</li></ul><p>While this is a good start, it is just the beginning of our expansion, as we plan to double the size of our team in 2024.</p><p>2023 has also been a year of extensive travel, as we participated in numerous major crypto events. We organized workshops, panel discussions, and gave talks at events such as StarkWare sessions, EDCON, ETH CC, ETH KL, Starknet CC Paris and Istanbul, STARK x city events, Web3 Transitions Summit, Mu Chiang Mai, and many others. For a comprehensive recap of our journey around the world, we invite you to read this <a href="https://twitter.com/KakarotZkEvm/status/1737815658933739888">brief thread</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-a_r5C7Z9Es2-gCz.png" /></figure><p>From a community perspective, we acknowledge that while the launch of our Discord server created a lot of excitement, it is currently challenging for non-developers to contribute to Kakarot. However, we want to assure you that we haven’t forgotten about you, and you are a central part of our plans for 2024. Specifically, 2024 will be the year when you will have the opportunity to directly interact with Kakarot and actively participate in the project’s evolution. So, get ready and join us now on <a href="https://discord.gg/kakarotzkevm">Discord</a>!</p><h3>III. Main technical advancements</h3><h3>Official Ethereum test suite</h3><p>From December 2022, Kakarot had 100% opcode equivalence, an RPC client, integration with MetaMask, and the ability to create and interact with dApps like Uniswap v2. As we had the first working version of Kakarot, the next step was to ensure we are secure and aligned with the Ethereum Foundation’s specs for an EVM.</p><p>To achieve this, we focused on passing the approximately 20,000 tests written by Ethereum Foundation (EF) that <a href="https://github.com/kkrt-labs/ef-tests">focus on testing the EVM</a> and cover various edge cases. Successfully passing these tests means we have an accurate execution layer.</p><p>While we have not yet achieved a success rate of 100%, we have been making rapid progress, going from 10% to over 70% as of the writing of this article.</p><h3>Understanding the Cairo programming language</h3><p><a href="https://www.cairo-lang.org/cairo-whitepaper/">Cairo</a> has two versions: Cairo Zero, which is lower-level, and Cairo, which is higher-level. The first version of Kakarot zkEVM is written in <a href="https://github.com/kkrt-labs/kakarot">Cairo Zero</a>, and the second, in <a href="https://github.com/kkrt-labs/kakarot-ssj">Cairo</a>.</p><p>While Cairo Zero has already made significant contributions to the Zero Knowledge space, it has areas for improvement as any emerging language does. Cairo Zero notably evolved through a process of trial and error.</p><p>After years of learning from Cairo Zero development, the StarkWare team decided to develop Cairo. This new version introduces numerous improvements, including syntax enhancements, a new compilation flow through the Sierra intermediate representation, expanded language features such as native data structures and error handling, and enhanced safety mechanisms.</p><p>However, the main drawback of Cairo is that developers who have written code in Cairo Zero will need to rewrite their programs and all the tooling in Cairo to benefit from the improvements brought by this latest version.</p><p>Back to our story, we started implementing the EVM in Cairo Zero in October 2022 and achieved 100% bytecode equivalence by December 2022. With the launch of Cairo in early 2023, we had to rewrite our entire codebase. However, considering the frequent updates in this new version of Cairo, we decided to wait for the language to stabilize before rewriting the opcodes in Cairo.</p><p>In August 2023, after discussions with StarkWare, we realized that Cairo had stabilized, allowing us to rewrite our zkEVM. After months of focus, we were pleased to announce that Kakarot’s implementation of the EVM was available in both Cairo Zero and Cairo. By supporting Cairo, we are now positioned to leverage innovations in the Starknet ecosystem such as Cairo Native, which compiles Cairo code into LLVM. This could lead to a significant improvement in the throughput of the Kakarot zkEVM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JFHp94e4dRxTR0wY.png" /></figure><h3>Closing remarks</h3><p>In the meantime, if you are a project or developer interested in collaborating or contributing to the development of Kakarot, our <a href="https://twitter.com/danilowhk2">DMs are always open</a> and we would be delighted to discuss with you!</p><p>If you are a community member who would like to follow our journey, participate in our growth, and benefit from our future scaling solutions, follow us on <a href="https://twitter.com/KakarotZkEvm">Twitter</a> and join our <a href="https://discord.gg/kakarotzkevm">Discord</a>.</p><p>Get ready for an exciting year at Kakarot! 🥕</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc73200384ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>