<?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 0xemre on Medium]]></title>
        <description><![CDATA[Stories by 0xemre on Medium]]></description>
        <link>https://medium.com/@0xemre?source=rss-40274eb6cd8f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*q0ocZnyovPeWX8NII5C_7g.jpeg</url>
            <title>Stories by 0xemre on Medium</title>
            <link>https://medium.com/@0xemre?source=rss-40274eb6cd8f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 09:50:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@0xemre/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[Babylon’un Güven Gerektirmeyen Bitcoin Kasalarına Bakış]]></title>
            <link>https://0xemre.medium.com/babylonun-g%C3%BCven-gerektirmeyen-bitcoin-kasalar%C4%B1na-bak%C4%B1%C5%9F-418264489039?source=rss-40274eb6cd8f------2</link>
            <guid isPermaLink="false">https://medium.com/p/418264489039</guid>
            <dc:creator><![CDATA[0xemre]]></dc:creator>
            <pubDate>Wed, 27 Aug 2025 17:42:31 GMT</pubDate>
            <atom:updated>2025-08-27T18:21:28.650Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ut88IciCHQKk7TKMgm2XyA@2x.jpeg" /></figure><h3>Giriş – Neden Bu Konu Önemli?</h3><p>Kripto para ekosisteminin tartışmasız en değerli varlığı olan Bitcoin, 2025 itibariyle 2 trilyon doların üzerinde bir piyasa değerine sahip ve hem bireyler hem de kurumsallar için dijital altın görevi görüyor. Ancak bu devasa piyasa değerine rağmen finansal yeniliklerin en hızlı geliştiği alan olan DeFi (Decentralized Finance) ekosisteminde Bitcoin’in payı yok denecek kadar azdır. Yapılan analizlere göre, dolaşımdaki tüm Bitcoin’lerin %1’inden daha azı aktif olarak DeFi protokollerinde kullanılmaktadır. Geriye kalan milyarlarca dolarlık Bitcoin, cüzdanlarda pasif bir biçimde duruyor ve potansiyelini değerlendiremiyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*KYVNxHudPy8zfXcj0OEZXw@2x.jpeg" /></figure><p>Bugüne kadar Bitcoin’in DeFi’ye entegrasyonu, çoğunlukla WBTC gibi wrapped tokenler veya merkezi köprüler aracılığıyla sağlandı. Fakat bu yöntemler hem güvenlik riskleri taşıyor hem de merkeziyetsizlik ilkesiyle çelişiyor. Örneğin, köprü saldırılarında yüz milyonlarca dolarlık fonun çalındığı biliniyor. Aynı zamanda bu çözümler, Bitcoin’in temel felsefesi olan güvene ihtiyaç duymadan, zincir üzerinde doğrulanabilirlik ilkesine ters düşüyor.</p><p>İşte bu noktada Babylon’un Güven Gerektirmeyen Bitcoin Kasaları (Trustless Bitcoin Vaults) yaklaşımı önemli bir yenilik getiriyor ve bu sorunlara çözüm oluyor. Kasa yapısı sayesinde Bitcoin, üçüncü taraflara güvenmek zorunda kalmadan zincir üzerinde güvenli bir şekilde programlanabilir hale geliyor. Böylece, kredi verme, vadeli borsalar ve BTC teminatlı stablecoin modelleri hayata geçebiliyor.</p><p>Güven Gerektirmeyen Bitcoin Kasalarının yaygınlaşması, sadece DeFi ekosistemini değil, aynı zamanda Bitcoin’in küresel finansal sistemdeki rolünü de dönüştürme potansiyeline sahip. Bugün trilyonlarca dolarlık BTC, çoğunlukla hareketsiz bir varlıkken, bu yeni yaklaşım sayesinde önümüzdeki yıllarda çok daha geniş bir finansal inovasyon alanına entegre olabilir</p><h3>Bitcoin Staking Kavramı</h3><p>Bitcoin, bugüne kadar hep PoW (Proof of Work) ile özdeşleşti. Bu nedenle staking (kilitleme) kavramı çoğunlukla Ethereum ve benzeri PoS (Proof of Stake) zincirleriyle ilişkilendirildi. Sanılanın aksine bir değer saklama ve ödeme aracı olarak düşünülen Bitcoin’ler de stake edilebilir ve bunun üzerinden bir getiri sağlanabilir.</p><p>Detaylara geçmeden önce PoS zincirlerdeki yapıyı daha iyi anlayalım. PoS tabanlı zincirlerde token sahipleri, varlıklarını stake ederek yani kilitleyerek, ağın güvenliğine doğrudan katkıda bulunabiliyor. Stake edilen token miktarı arttığında ağı koruyan varlıkların değeri artar ve sistemin kripto ekonomik güvenliği o kadar artmış olur. Bu modelde dürüst davranan katılımcılar ödül kazanarak getiri elde ederken, kötü niyetli katılımcılar ise slashing (cezalandırma) yoluyla fonlarını kaybeder. Yani PoS, token kilitleyerek bir getiri elde etmek anlamına geliyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*fYkegk0CYS14BakkbdcrRw@2x.jpeg" /></figure><p>İşte tam bu noktada Babylon’un sağladığı Bitcoin kilitleme, Bitcoin’i bir değer saklama ve ödeme aracı olmasının yanında PoS zincirleri için kilitlenebilir bir varlığa dönüştürüyor.</p><p>Herhangi bir köprüleme olmadan, WBTC ile operatörlere güvenmeye gerek kalmadan, BTC’yi ağın dışına çıkarmadan Bitcoin’lerinizin sahipliği sizde kalacak şekilde kilitleme imkanı sağlıyor. Böylece Bitcoin sahipleri hem Bitcoin’lerini ellerinde tutmaya devam ediyor hem de farklı PoS sistemlerin güvenliğine katkı sunarak karşılığında getiri kazanıyor. Tabi bu ödüller dürüst aktörler için geçerli. Kötü niyetli aktörler, cezalandırmaya (slashing) maruz kalabilir. Cezalandırma riskini azaltmak için Bitcoin sahiplerinin güvenilir kesinlik sağlayıcıları seçmesi bu yüzden önemlidir. Kilitleme yaklaşımı sadece yatırımcılar için değil, tüm ekosistem için önemli bir yenilik:</p><ul><li>Bitcoin’in devasa likiditesi ve güvenirliği PoS zincirlerin güvenlik modeline entegre ediliyor.</li><li>Bitcoin sahipleri pasif beklemek yerine varlıklarını üretken hale getiriyor.</li><li>Bitcoin, Union, BOB, Osmosis gibi farklı ekosistemlerde kendi güvencesini ortaya koyuyor ve çok zincirli bir dünyaya adım atıyor.</li></ul><p>Kısacası Bitcoin kilitleme ile birlikte Bitcoin, bir değer saklama ve ödeme aracı olmanın dışına çıkıyor ve güvenlik sağlamak ve ödül kazanmak için de kullanılabilecek bir araç haline geliyor. Babylon’un Bitcoin kilitleme özelliğine buradan ulaşabilirsiniz. Şimdi Babylon Bitcoin kilitlemeyi bir üst seviyeye çıkarıyor ve Güven Gerektirmeyen Bitcoin Kasaları’nı tanıtıyor. Yazının ileriki bölümlerinde bu modelin detaylarını inceleyeceğiz.</p><h3>Güven Gerektirmeyen Bitcoin Kasaları Nedir?</h3><p>Güven gerektirmeyen Bitcoin kasaları Bitcoin’in kendi zinciri üzerinde, üçüncü taraflara</p><p>emanet edilmeden güvenli şekilde kilitlenmesini sağlayan yeni nesil bir mekanizmadır. Bu yaklaşımda her kullanıcı kendi BTC’sini önceden imzalanmış Bitcoin işlemleri (pre-signed transactions) ile bir kasa içine yerleştirir. Bu kasalar Bitcoin’in basit ama güçlü script dilinden yaralanıyor. UTXO (harcanmamış çıktı) tabanlı tasarım sayesinde kasadaki BTC yalnızca iki koşuldan biri sağlandığında harcanabiliyor:</p><ul><li>Kullanıcı fonlarını geri çekmek istediğinde (unstake): Kullanıcı, kendi imzasını kullanarak BTC’sini tek taraflı bir biçimde kasadan çıkartabilir.</li><li>Kötü niyet kanıtlandığında (slashing): Eğer kullanıcı, bir PoS ağında bir blok aynı anda iki defa imzalnırsa bu durum bir kriptografik kanıt ile ispatlanabilir. Bu kanıt kasaya sunulduğunda ilgili BTC’nin bir kısmı ya da tamamı cezalandırma amacıyla kesilir.</li></ul><p>Buradaki en önemli nokta şudur: BTC hiçbir zaman başka bir zincire köprülenmez, wrapped edilmez veya üçüncü tarafın kontrolüne bırakılmaz. Kilitleyen kendi kasasının tek sahibi olmaya devam eder.</p><p>Örnek: BTC Teminatlı Borçlanma</p><p>Diyelim ki Ahmet’in 1 BTC’si var ve Ali’den 50 bin dolar borç almak istiyor. Geleneksel anlamda bu üç şekilde gerçekleşebilir:</p><ul><li>Ahmet BTC’sini Ali’ye verir ve “Borcu ödersem geri ver” diyerek güvenmek zorunda kalır.</li><li>Ahmet BTC’sini köprü üzerinden Ethereum’a taşır ve WBTC alarak bunu teminat gösterir. Teminatla borçlanabilir. Bu durumda, Ahmet köprü operatörüne güvenmek zorundadır.</li><li>Ya da Ahmet BTC’sini kendi tutar, sadece sözle “fiyat düşerse satmana izin vereceğim” der, bu da tamamen güvene dayanır.</li></ul><p>Güven gerektirmeyen Bitcoin kasaları sayesinde ikili, kolayca anlaşabilir:</p><ul><li>Ahmet ve Ali, Bitcoin üzerinde önceden imzalanmış bir dizi işlem hazırlar.</li><li>Eğer Ahmet borcu süresi içinde geri öder ve BTC fiyatı 50 bin doların üzerinde kalırsa, Ahmet BTC’sini tek taraflı olarak geri alır.</li><li>Eğer BTC fiyatı 50.000 bin doların altına düşerse, Ali bir Ethereum akıllı sözleşmesinden alınmış kriptografik kanıt sunarak teminatı kasadan çekebilir.</li></ul><p>Buradaki can alıcı nokta, Ahmet’in BTC’si hiçbir zaman Ali’nin cüzdanına aktarılmaz ve hiçbir zaman köprülenmez. BTC, tamamen tarafsız Bitcoin kasasında durur. Harcanabilmesi yalnızca önceden tanımlanmış kriptografik koşullara bağlıdır.</p><p>Güven Gerektirmeyen Bitcoin kasaları, Bitcoin’i aktif bir finansal araç haline getirir. Kilitleme için kullanılabilir, borçlanma piyasalarında teminat olabilir, hatta farklı zincirlerdeki akıllı kontratların durumuna göre kilit açabilecek şekilde tasarlanabilir. Tüm bunlar yapılırken Bitcoin’in temel ilkesi korunur:</p><p>“Anahtarların senin değilse, coin’lerin de senin değildir.”</p><p>Yani kullanıcılar hem DeFi’nin sunduğu fırsatlara erişir hem de fonlarını hiçbir zaman kendi anahtarlarının dışına çıkarmak zorunda kalmaz.</p><h3>Teknik Altyapı: BitVM3 ve ZKP</h3><p>Güven Gerektirmeyen Bitcoin Kasalarının Bitcoin’de zincir dışı kriptografik kanıtları nasıl doğrulayacağı önemli bir detaydır. Çünkü Bitcoin’in tasarımı sebebiyle Ethereum’da olduğu gibi esnek bir akıllı kontrat altyapısı bulunmaz. Bu da olayları veya sözleşme durumlarını doğrudan takip edememesine yol açar. Bugüne kadar kullanılan HTLC ve EOTS gibi yöntemler kısmi çözümler sunmuştu. Ancak bu yöntemler de sınırlı yeteneklere sahiptir ve Babylon’un yeni sistemine çözüm olmaz. Peki Babylon bu sorunu nasıl aştı? Cevabı BitVM3’te gizli.</p><p>BitVM3, herhangi bir zincir dışı durumun doğrulanabilmesini sıfır bilgi kanıtları ve garbled devreler temel yapı taşını kullanarak sağlar. Hadi bir önceki bölümdeki örneğimize dönelim ve BitVM3’ün çalışma mantığını daha iyi anlayalım:</p><p>Örneğe geçmeden önce Güven Gerektirmeyen Bitcoin Kasalarının oluşturulmasında bazı adımlar izlenir.</p><ul><li>Hem Ahmet hem Ali kendi gizli anahtarlarını (secret) ve bu gizli anahtarları koruyan özel garbled devrelerini oluşturur.</li><li>Bu gizli anahtarlar önemli çünkü anlaşmazlık durumunda sıfır bilgi kanıtlarıyla birlikte açığa çıkarılabiliyor ve hile yapılmasının önüne geçiliyor.</li><li>Ahmet, Ali’nin devresini doğruluyor; gerçekten de geçersiz bir ZK ispatı sunarsa Ali’nin gizli anahtarını açığa çıkarabilecek şekilde tasarlanıp tasarlanmadığını kontrol ediyor.</li><li>Ali de aynı şekilde Ahmet’in devresini doğruluyor.</li><li>Ardından taraflar, kasadaki BTC’yi harcayabilecek olan işlemleri önceden imzalıyor (pre-signed transactions). Böylece sistem, daha sonra olası anlaşmazlık anında hazır işlemlerle çalışabiliyor.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*egq1q3s6bGPklQCL9qjHsQ@2x.jpeg" /></figure><p>Hemen örneklendirelim:</p><ul><li>Diyelim ki Ahmet, gerçekten kredisini ödedi. O zaman bir claim transaction ile kasadaki BTC’sini geri çekmek istiyor.</li><li>Ali, Ahmet’in sunduğu ispatı geçerli gördüğü için hiçbir itirazda bulunmuyor. Böylece Ahmet, süre dolduğunda BTC’sini çekiyor.</li><li>Bu durumda sistem son derece ucuz. Yalnızca üç Bitcoin işlemi gerekiyor ve bunlardeposit, claim, withdrawal işlemleri olmak üzere 2.66 dolara mal oluyor. Hiçbir ZK ispatı zincir üzerinde paylaşılmak zorunda kalınmıyor.</li></ul><p>Peki ya Ahmet kredisini ödemediği halde BTC’sini çekmeye çalışırsa:</p><ul><li>Ali bu durumda zincire bir challenge transaction gönderiyor.</li><li>Ahmet, iddiasını kanıtlamak için ZK ispatını zincire göndermek zorunda kalıyor.</li><li>Eğer ispat geçerliyse (yani Ahmet gerçekten ödemişse), Ali haksız çıkıyor ve Ahmet BTC’sini çekiyor.</li><li>Eğer ispat geçersizse, Ali, Ahmet’in hazırladığı devreyi kullanarak Ahmet’in gizli anahtarını ortaya çıkarıyor ve bunu zincire gönderiyor. Bu durumda Ahmet’in işlemi engelleniyor ve hile yapma ihtimali sıfırlanıyor.</li></ul><p>Ali’nin de benzer şekilde kendi yükümlülükleri var. Örneğin, piyasa fiyatı düşmüşse ve Ali haksız yere Ahmet’in BTC’sini likide etmeye çalışırsa, Ahmet de aynı challenge mekanizmasıyla Ali’nin geçersiz ZK ispatını yakalayıp onun sırrını ortaya çıkarabiliyor.</p><p>Sonuçta, Güven Gerektirmeyen Bitcoin Kasaları Bitcoin’i programlanabilir bir güven kasası haline getiriyor. Borçlanma örneği sadece bir başlangıç: aynı mantık opsiyonlar, türev ürünler, hatta DAO hazineleri için bile uygulanabilir.</p><h3>Uygulama Alanları</h3><p>Güven gerektirmeyen Bitcoin kasalarının (trustless Bitcoin vaults) en büyük gücü, Bitcoin’in pasif bir varlık olmaktan çıkıp farklı DeFi kullanım alanlarında aktif bir rol üstlenmesini sağlamasıdır. Aşağıda bu yaklaşımın öne çıkan üç örneğini ele alalım.</p><p><strong>BTC Destekli Borçlanma</strong></p><p>Bugün DeFi’nin en popüler kullanım alanlarından biri borçlanmadır. Ethereum ekosisteminde Aave gibi protokoller milyarlarca dolarlık kredilere aracılık ediyor. Ancak Bitcoin kullanıcıları için tablo farklı. BTC genellikle yalnızca WBTC gibi versiyonlarıyla bu protokollere dahil olabiliyor ve bu da büyük güven riskleri barındırıyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*ncMX6iMl0tFFrzRRs9Sagg@2x.jpeg" /></figure><p>Güven Gerektirmeyen Bitcoin Kasaları sayesinde, kullanıcılar kendi BTC’lerini doğrudan teminat olarak gösterebiliyor. Örneğin, bir kişi kasasına Bitcoin kilitleyip karşılığında stablecoin borç alabiliyor. Fiyat belirli bir seviyenin altına düşerse likidatörler devreye girerek borcu kapatıyor ve BTC’yi alıyor. Böylece geleneksel köprüler ya da merkezi ihraççılara ihtiyaç kalmadan, doğrudan Bitcoin’in güvenliğiyle çalışan şeffaf bir kredi piyasası mümkün hale geliyor.</p><p><strong>BTC Destekli Stablecoin</strong></p><p>Stablecoinler kripto ekonomisinin can damarı ama bugün kullanılanların çoğu, örneğin USDC ve USDT, ya bankalarda duran dolarlarla teminatlandırılıyor ya da DAI’de olduğu ETH gibi varlıklarla aşırı teminatlandırılıyor. Bitcoin ise bunca büyüklüğüne rağmen bu alanda neredeyse hiç kullanılmıyor.</p><p>Güven Gerektirmeyen Bitcoin Kasaları, Bitcoin’in kendisini teminat olarak kullanarak tamamen merkeziyetsiz ve güvenilir stablecoin’lerin çıkarılmasını mümkün kılıyor. Kullanıcı, kasasına BTC kilitleyip karşılığında dolar sabitli bir token basabiliyor. Bu tokenler DeFi’de serbestçe dolaşabiliyor, ödemelerde kullanılabiliyor veya likidite havuzlarına eklenebiliyor. Böylece Bitcoin sahipleri varlıklarını ellerinde tutarken aynı zamanda onlardan nakit akışı yaratabiliyor.</p><p><strong>BTC Tabanlı Vadeli Merkeziyetsiz Borsa</strong></p><p>Kripto piyasalarında en büyük işlem hacmini vadeli işlemler oluşturuyor. Ancak zincir üstü vadeli işlemler genellikle ETH veya stablecoin tabanlı. Bitcoin burada da geri planda kalıyor.</p><p>Güven Gerektirmeyen Bitcoin Kasaları sayesinde, yatırımcılar doğrudan BTC teminatıyla long ya da short pozisyon açabiliyor. BTC kasaya kilitleniyor, karşılığında zincir üstünde collBTC gibi bir temsil token basılıyor ve bu token vadeli işlemler platformunda teminat olarak kullanılabiliyor. Böylece Bitcoin sahipleri kendi varlıklarını köprülemeye gerek kalmadan, güvenli ve merkeziyetsiz şekilde kaldıraçlı işlemlere katılabiliyor.</p><h3>Sonuç</h3><p>Bitcoin uzun yıllardır dijital altın olarak, güvenli bir değer saklama aracı kimliğiyle öne çıktı. Ancak bu rolü, çoğunlukla onu pasif bir varlığa dönüştürdü. Bugün dolaşımdaki trilyonlarca dolarlık Bitcoin’in büyük kısmı soğuk cüzdanlarda hareketsiz duruyor ve bu devasa sermayenin yalnızca çok küçük bir bölümü, yüzde birden daha azı, merkeziyetsiz finans uygulamalarında kullanılabiliyor. Bu, Bitcoin’in sahip olduğu potansiyelin aslında ne kadar azının hayata geçirilebildiğini gösterir.</p><p>Güven gerektirmeyen Bitcoin kasaları bu noktada yeni bir yaklaşım sunuyor. Bitcoin’i yalnızca saklanan bir değer olmaktan çıkarıp zincir üzerinde güvenle, doğrulanabilir ve programlanabilir şekilde kullanılabilen bir varlık haline getiriyor. Böylece köprüler, merkezi aracılar ya da WBTC’ler olmadan, tamamen Bitcoin’in kendi güvenlik modeli üzerine inşa edilmiş yeni bir finansal altyapı ortaya çıkıyor.</p><p>Bu yenilik, Bitcoin sahiplerinin varlıklarını ellerinde tutmaya devam ederken aynı anda krediye erişmelerini, stablecoin üretmelerini veya türev piyasalarında işlem yapmalarını mümkün kılıyor. Bununla birlikte DeFi ekosistemi, bugüne kadar erişemediği en büyük sermaye havuzlarından biri olan Bitcoin likiditesine açılıyor.</p><p>Sonuçta güven gerektirmeyen Bitcoin kasaları yalnızca teknik bir gelişme değil, aynı zamanda Bitcoin’in küresel finansal sistemdeki konumunu yeniden tanımlayan bir yenilik.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=418264489039" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Investment Memo: Long HyperLiquid ($HYPE) / SHORT ZKsync ($ZK)]]></title>
            <link>https://0xemre.medium.com/investment-memo-long-hyperliquid-hype-short-zksync-zk-4db012902170?source=rss-40274eb6cd8f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4db012902170</guid>
            <dc:creator><![CDATA[0xemre]]></dc:creator>
            <pubDate>Mon, 12 May 2025 10:26:26 GMT</pubDate>
            <atom:updated>2025-05-12T10:26:26.620Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uLcbHX2KWhMRk1T_4LBmIA.png" /></figure><h3>Executive Summary</h3><p>The Long position on Hyperliquid ($HYPE) is driven by its growing perp DEX market share, strong revenue performance, and tokenholder-aligned mechanics such as buybacks and revenue sharing.</p><p>Conversely, the Short thesis on ZKsync ($ZK) reflects declining user activity, stagnant TVL, and an upcoming token unlock that may exert downward pressure.This pair is chosen based on diverging sector trends — rising perp DEX traction versus weakening momentum across general-purpose L2s.</p><h3>Investment Thesis</h3><p><strong>a) Hyperliquid ($HYPE) — Long</strong></p><p>In the increasingly competitive landscape of decentralized perpetual trading, most platforms still struggle to strike a balance between performance, user experience, and decentralization. Hyperliquid stands out among perpetual DEXs with support for over 130 tokens, consistently high trading volume, and infrastructure that enables high-frequency trading. These factors contribute to a strong value proposition for the $HYPE token, making it a logical long-position candidate.</p><p>Our investment thesis on Hyperliquid is driven by five key factors:</p><ol><li><strong>Market Share Leadership:</strong> Hyperliquid has held the top position in the perpetual DEX sector by market share since August 2024 and has maintained this dominance for approximately nine months. Climbing to the top in a highly competitive field within just six months signals a fundamentally well-structured protocol.</li><li><strong>Strengthening Metrics:</strong> Key performance metrics such as market share, volume, revenue, and TVL on both Hyperliquid and HyperEVM have either continued to rise or remained stable. This consistent performance underlines ongoing growth and protocol resilience.</li><li><strong>Token Value Support Mechanisms: </strong>Hyperliquid has a distinctive model to drive sustainable token value. The protocol distributes 46% of its revenue to liquidity providers, incentivizing ecosystem participation. Simultaneously, 56% of total revenue is allocated to $HYPE buy-backs, reducing circulating supply and creating a deflationary effect. This combined mechanism enhances long-term token value while ensuring user-aligned economic incentives.</li><li><strong>Price Performance:</strong> Although a relatively new token, $HYPE entered the market at around $6.5, reached an all-time high of $35, and is trading near $20 at the time of writing. This performance within a short timeframe reflects strong market interest and belief in the token’s fundamentals.</li><li><strong>Solid Tokenomics:</strong> Hyperliquid’s tokenomics set it apart from competitors. There are no venture capital unlocks or major early investor allocations that typically result in sell pressure. The only potential source of significant selling is the core contributor allocation, which remains locked until November 2025.</li></ol><p>These key factors demonstrate that the $HYPE token is built on strong fundamentals and is not merely a product of short-term hype, but rather founded on a sustainable long-term framework. Its market leadership, growing metrics, and uniquely designed revenue sharing and buy-back mechanisms make it a compelling candidate for a long position in the short to mid term. Nevertheless, potential attack vectors previously observed in similar protocols — which could directly affect $HYPE’s price — along with the centralization debates and external regulatory risks they might trigger, must be monitored closely.</p><p><strong>b) ZKsync ($ZK) — Short</strong></p><p>After Ethereum adopted a rollup-centric roadmap, general-purpose rollups gained prominence and have since matured significantly in terms of technology. However, the sheer number of rollup projects, the complexity of development, and limited user adoption have intensified competition within the L2 space. ZKsync, as a zkRollup, brings unique technological features, but in this competitive environment, there are major concerns around the sustainability of the $ZK token’s performance.</p><p>Our investment thesis on ZKsync is driven by five key factors:</p><ol><li><strong>Intensifying Layer-2 Competition:</strong> According to L2Beat, there are over 62 active rollup solutions and more than 88 validium/optimium-based alternatives operating on Ethereum. The growing number of Layer-2 solutions has created fierce market competition, raising doubts about ZKsync’s ability to maintain a strong market position in the long run.</li><li><strong>Declining Metrics Across the Board:</strong> ZKsync has seen a prolonged decline in both active addresses and transaction counts. Additionally, the total value secured (TVS) has remained stagnant for an extended period. This suggests that users are not sufficiently incentivized to engage with the network and are instead migrating toward alternative solutions.</li><li><strong>Limited zkRollup Adoption:</strong> Among the top 20 rollups by Total Value Secured (TVS) on L2Beat, only five are zkRollup-based. This implies that optimistic rollups have maintained a first-mover advantage, while zkRollups like ZKsync have faced more challenges in driving adoption, potentially due to higher complexity and developer onboarding friction.</li><li><strong>Weak Price Performance and Lack of Support:</strong> The $ZK token debuted at around $0.21, briefly reaching an all-time high of $0.26 six months later. However, it has since steadily declined, trading around $0.057 at the time of writing — despite no major token unlocks having taken place yet. This persistent downtrend reflects a lack of organic demand and diminishing market confidence.</li><li><strong>Upcoming Token Unlocks Pose Supply Overhang Risk:</strong> Since its launch, $ZK has not undergone any unlock events. The first unlock is scheduled for June 17, 2025, releasing 3.67% of the total supply to the team and investors. After that, monthly unlocks of 0.82% will continue. These unlocks are likely to create sustained sell pressure, especially given the downward momentum in usage metrics and a potentially stalled ecosystem.</li></ol><p>The decline in ZKsync’s activity metrics can largely be attributed to waning interest after the airdrop, a trend commonly observed across L2 ecosystems. As user engagement fades and TVL growth stalls, the upcoming token unlocks — particularly those allocated to insiders — may accelerate sell-offs and further suppress the price. This setup positions $ZK as a candidate for a short bias, especially in the lead-up to unlock events and amid broader L2 market saturation.</p><h3>Market Context &amp; Sector Trends</h3><p>After Ethereum adopted a rollup-centric roadmap, rollup projects gained substantial importance and many new initiatives emerged. However, the abundance of general-purpose rollups has raised concerns about user growth, sustainability, and long-term protocol retention. In contrast, on-chain perpetual protocols have shown stronger sectoral growth, retaining users more effectively and drawing attention with their rising volumes. Since Q4 2023, perpetual DEX volumes have increased nearly 10x, driven by growing demand for decentralized leveraged trading and improved trading infrastructure — particularly in the aftermath of the FTX collapse.</p><p>ZKsync is undergoing a post-airdrop decline — a fate shared by many rollups — and its recovery depends not only on internal dynamics but also on Ethereum’s broader ecosystem regaining narrative momentum. On the other hand, the perpetual DEX trend — largely catalyzed by dYdX — signals a shift in user behavior, with traders becoming more accustomed to decentralized platforms. Hyperliquid has capitalized on this shift with strong product-market fit, growing through organic user demand and currently leading the perpetual DEX sector.</p><p>Broadly speaking, current sector trends indicate that sustainable growth and user retention are increasingly driven by real product value rather than short-term token incentives. This divergence strengthens the rationale for a long/short pair-trade between projects like $ZK, which face continuous unlock pressure, and Hyperliquid, which is fundamentally usage-driven.</p><h3>Data &amp; Metrics</h3><p>This section presents the key on-chain and market metrics that support our long/short thesis. Metrics were gathered from sources including Dune, Growthepie, and DeFiLlama, covering adoption, activity, value flow, and protocol fundamentals.</p><ol><li><strong>Hyperliquid</strong></li></ol><ul><li><strong>Total Value Locked (TVL):</strong> The TVL on Hyperliquid surpassed $2 billion in less than a year, reaching an all-time high of $2.5 billion. At the time of writing this report, it hovers around $2.2 billion. Depending on overall market direction — particularly the movements of Bitcoin and Ethereum — it is anticipated that TVL could soon surpass the $2.5 billion mark again, with $3 billion as the next potential milestone.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nBB88tCmKfxeMoGy" /></figure><ul><li><strong>Total Users:</strong> Although it took nearly 12 months for Hyperliquid to reach 200,000 total users, the number doubled in just 5 months thereafter. This indicates a significant acceleration in user adoption.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C0Mx8T2aoVwd5YTF" /></figure><ul><li><strong>Daily New Users:</strong> When examining the daily new user count chart, we see that it peaks during upward market trends. This suggests a correlation between market movements and new user growth.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MBAzpkPoKq7abjjk" /></figure><ul><li><strong>Market Share:</strong> The chart below shows the market share of perpetual DEXs by trading volume on a weekly basis. As seen in the chart, Hyperliquid surpassed a 50% market share as of December 2024 and currently holds between 65% and 69%. Maintaining such a high market share in a highly competitive environment indicates that Hyperliquid is progressing with sound strategic decisions and is built on strong fundamentals.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0U25wFZMZXsrA7Ak" /></figure><ul><li><strong>Annualized Revenue:</strong> Hyperliquid’s annualized profit has fluctuated between $390 million and $700 million over the past five months. This figure tends to increase during periods of heightened market activity and decrease during quieter periods. On average, the annual profit is expected to stabilize around $200–300 million, which could place Hyperliquid among the top 20 most profitable protocols.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qXuSKcNk84pitEkG" /></figure><ul><li><strong>Daily Revenue:</strong> Hyperliquid’s daily profit ranges between $500,000 and $4 million, demonstrating that the protocol generates strong and consistent revenue. Since these earnings are utilized in revenue-sharing and buy-back mechanisms, they represent a highly important metric.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wZ6WcBS3VyKMCjxp" /></figure><ul><li><strong>Price Movements:</strong> Shortly after its launch, the $HYPE token surged from around $6 to as high as $32 and is trading near $20 at the time of writing this report. Its strong tokenomics and compelling narrative have been reflected in its price action, forming solid support levels.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pCJJ2V5JTGklbLqT" /></figure><p><strong>2. ZKsync</strong></p><ul><li><strong>Total Value Locked (TVL): </strong>The TVL on the ZKsync network rose from around $50 million following the airdrop to as high as $850 million, briefly reaching the $1 billion mark at its peak. At the time of writing this report, it stands at approximately $550 million. The prolonged stagnation within a narrow range and lack of upward momentum suggest a slowdown in growth.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3IqWDFjno--TU-bl" /></figure><ul><li><strong>Daily Active Addresses: </strong>Although daily active users on the network peaked at 385,000, the number has been steadily declining for a long time and currently sits at around 10,000. This dramatic drop indicates a significant decrease in user activity and interest on the network, suggesting that users are shifting toward alternative solutions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TbEB8VwfsTW1iQGn" /></figure><ul><li><strong>Daily Transaction Count: </strong>Although the daily transaction count was around 1 million a year ago, it has dropped to approximately 50,000 today. The main reasons for this decline include changes in user behavior after the airdrop, insufficient incentives, and a relatively limited ecosystem.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qCMNDRv81wsZu0tv" /></figure><ul><li><strong>Revenue: </strong>ZKsync’s profitability is quite limited. While daily profit peaked at around $24,000, it has steadily declined over time and currently hovers around $800. This metric correlates closely with the decline in active user count and transaction volume.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ywe6LpWbLlzeS_u8" /></figure><ul><li><strong>Price Movements: </strong>The $ZK token was launched in June 2024 at around $0.21, reached its peak at $0.26 in December 2024, and has since experienced a continuous decline, trading at approximately $0.05 at the time of writing this report. This price trend closely correlates with other key metrics.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GhdID0ijlVVDm4Wp" /></figure><h3>Risks &amp; Considerations</h3><p>While our investment thesis presents a data-driven case for a long $HYPE and short $ZK position, several key risks must be considered to evaluate the trade’s full risk profile.</p><ul><li><strong>Market-Wide Risk: </strong>Macro-economic trends and policy shifts can place either side of the trade at risk. For instance, recent developments such as U.S. tariff policies or interest rate decisions by the Federal Reserve have had clear impacts on overall market direction. Similar events remain an ever-present risk.</li></ul><p>In the crypto sector specifically, systemic collapses — such as those seen during the LUNA and FTX crises — can rapidly drag down market sentiment and prices. Any such crash or rally could significantly impact one side of this pair trade.</p><ul><li><strong>Narrative Shift Risk: </strong>This analysis is built on the current upward trend in perpetual DEXs and the relative stagnation in Layer-2 narratives. However, market narratives can shift quickly and unexpectedly.</li></ul><p>For example, a resurgence in Ethereum price momentum could reignite interest in ZK-rollups and Layer-2 networks, potentially driving $ZK price upward and placing the short leg at risk. Conversely, if the perpetual DEX narrative weakens, $HYPE could face temporary downward pressure despite strong fundamentals.</p><ul><li><strong>Technical or Protocol Risk: </strong>The crypto industry has witnessed numerous large-scale hacks, and the risk of similar incidents remains present. Both ZKsync and Hyperliquid rely on smart contracts, which may be vulnerable to undiscovered bugs or exploits.</li></ul><p>For example, a vulnerability in Hyperliquid’s bridge contract could lead to the loss of all TVL on the protocol, triggering a massive sell-off in $HYPE. Attack vectors aren’t limited to code alone; historical examples include targeted attacks on Hyperliquid’s HLP vaults. While the team has previously mitigated such incidents, their actions raised concerns around the decentralization of the Hyperliquid L1 infrastructure.</p><p>Other types of threats are also possible, such as social engineering attacks that compromise team members’ devices or credentials, hijacking of social media accounts, or front-end, back-end, and multi-sig exploits.</p><p>All of these scenarios apply to ZKsync as well. Notably, the team has already experienced a token loss incident involving a portion of the $ZK supply. While such an event might favor the short side of this trade, a similar incident on Hyperliquid would severely impact the long side.</p><ul><li><strong>Regulation Risk: </strong>The evolving global regulatory landscape presents a material risk to both assets in this trade. Perpetual DEXs like Hyperliquid may attract scrutiny from financial regulators due to their leveraged trading offerings, especially if classified as unregistered derivatives platforms. Similarly, Layer-2 networks such as ZKsync could face regulatory challenges around data privacy, KYC compliance, and the classification of their native tokens as securities. Sudden enforcement actions or policy shifts could significantly impact usage, liquidity, and token valuations for either protocol.</li><li><strong>Volatility &amp; Trade Imbalance Risk: </strong>The long/short pair involves assets with different volatility profiles. Rapid or asymmetric price movements — especially during macro or protocol-specific events — may create periods of temporary divergence, reducing the hedge effectiveness of the trade.</li></ul><h3>Conclusion</h3><p>This pair trade thesis recommends a long position in Hyperliquid ($HYPE) and a short position in ZKsync ($ZK), based on clear divergence in fundamentals, metrics, and sector narratives. Hyperliquid is gaining rapid traction in the perpetual DEX landscape through rising TVL, strong revenue, and consistent user growth, supported by a token model that rewards both usage and holding. In contrast, ZKsync shows weakening user engagement, stagnant growth, and an impending unlock event likely to introduce additional sell pressure.</p><p>The expected holding period for this trade is short to mid-term, specifically targeting the window between now and one month following the $ZK token unlock in June 2025. During this time, we anticipate continued strength in $HYPE fundamentals and persistent downward momentum in $ZK’s price and metrics.</p><p>However, this thesis could be challenged by the following scenario:</p><p>A significant rebound in the broader Ethereum ecosystem, particularly in zero-knowledge-based narratives, could revive user interest in ZKsync and offset the unlock-driven sell pressure. Simultaneously, any protocol-level failures or centralization controversies within Hyperliquid — such as a smart contract exploit or backlash from regulators — could weaken the bullish case for $HYPE. Therefore, ongoing monitoring of sector-wide narratives, regulatory developments, and ecosystem-level user behavior is essential.</p><p>In summary, the long $HYPE / short $ZK trade offers a well-structured thesis grounded in current usage trends, token dynamics, and sectoral momentum. It presents an asymmetric opportunity to capitalize on the divergence between a rapidly scaling perp DEX and a stagnating general-purpose rollup.</p><p><strong>Disclosure</strong></p><p><em>This investment memo is prepared for informational purposes only and does not constitute financial advice or a recommendation to buy, sell, or hold any financial instrument. The analysis is based on publicly available data, historical metrics, and forward-looking assumptions as of the date of publication. Readers should conduct their own research and consider their financial situation before making any investment decision.</em></p><p><em>The report includes market data and projections that may be subject to change based on market conditions, regulatory developments, or unforeseen events. The author and publisher are not responsible for any losses incurred as a result of implementing the strategies or insights presented herein.</em></p><p><em>This memo may reference data from third-party platforms, which may contain inaccuracies or be subject to revision. Additionally, any statements regarding expected performance or future trends are speculative and not guaranteed.</em></p><p><em>By reviewing this memo, the reader acknowledges that all investment decisions involve risk, including potential loss of principal, and that past performance is not indicative of future results.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4db012902170" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Rig Complex ($ARC) Investment Research Report]]></title>
            <link>https://0xemre.medium.com/ai-rig-complex-arc-investment-research-report-5923e6d81927?source=rss-40274eb6cd8f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5923e6d81927</guid>
            <category><![CDATA[ai-rig-complex]]></category>
            <category><![CDATA[cars]]></category>
            <category><![CDATA[solanas]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[investment]]></category>
            <dc:creator><![CDATA[0xemre]]></dc:creator>
            <pubDate>Tue, 29 Apr 2025 11:27:38 GMT</pubDate>
            <atom:updated>2025-04-29T11:27:38.646Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction to AI Rig Complex ($ARC)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NAphoKA9-MUsb31s" /></figure><p>AI Rig Complex is a cutting-edge, open-source framework for building AI applications. The framework is written in Rust, a programming language known for leveraging its performance and safety. It has several modular modules, each having a different purpose, functionality and integration within the framework.</p><p>Developers able to build and manage powerful and lightweight AI agents powering ARC framework. These agents combine LLM (Large Language Model) capabilities with secure blockchain operations such as executing complex on-chain interactions. This makes the framework ideal for applications ranging from DeFi (Decentralized Finance) to gaming and beyond. Currently, the framework operates on Solana and EVM ecosystems.</p><p>The native cryptocurrency of the AI Rig Complex is the $ARC token. $ARC has multiple purposes within the ecosystem, from rewarding contributors to enabling access to advanced features and tools. For instance, contributions such as improving AI models, submitting research, or building new features are recognized and compensated through a prize pool mechanism. This encourages continuous innovation and collaboration within the ARC ecosystem.</p><p>The AI Rig Complex was created by <a href="https://x.com/Playgrounds0x">Playgrounds</a>, a company co-founded by experts in AI and blockchain infrastructure. Jephthah (<a href="https://x.com/0thTachi">Tachi</a>) plays a key role in shaping the technical architecture of AI frameworks, ensuring a strong foundation for ARC. <a href="https://x.com/0xJoBlo">Thierry</a>, another co-founder, serves as the Chief Product Officer (CPO) of Playgrounds and is also a member of the Technical Advisory Board at Graph Protocol, bringing strategic expertise to the project. <a href="https://www.linkedin.com/in/christophe-vauclair-825286161/">Christophe</a>, the Chief Technology Officer (CTO) and co-founder, focuses on the software architecture of the ARC framework, ensuring its efficiency and scalability. Together, they are building AI Rig Complex as an innovative system that integrates AI and blockchain technologies.</p><p>AI Rig Complex forefronting its modular, scalable, efficient architecture to build next-generation AI applications while powering cutting-edge LLMs. Being Rust-based sets it apart from other AI Agent frameworks and contributes to its prominence. This feature makes it easier for AI Rig Complex to establish itself within the growing Solana ecosystem, enabling existing Solana developers to build AI-powered applications seamlessly.</p><h3>Architecture Behind AI Rig Complex</h3><h4>Rig Framework</h4><p>The core of the AI Rig Complex. The framework provides a foundational rust-based system for building and managing lightweight, powerful and efficient AI agents. It contains core libraries, multi-agent support and on-chain integrations.</p><p>Rig framework supports several model providers, such as OpenAI, Gemini, Deepseek, Perplexity, Anthropic and Ollama. Developers are able to use various vector stores, including MongoDB, LanceDB, Neo4j, Qdrant, SQLite. Also, third-party plugins like X integrations in the roadmap.</p><p>The framework provides high performance and low-latency execution of AI processes. Modular AI task execution allows agents to run specialized models tailored to different applications.</p><p>Rig’s on-chain kit fills the gap between AI and blockchain, enabling secure and trustless interactions with smart contracts and on-chain data. With on-chain kit, AI agents can sign and execute blockchain interactions, read real-time on-chain data, do security monitoring, make DeFi strategies, and governance participation without requiring centralized control.</p><h4>ARC Complex</h4><p>AI Rig Complex runs two distinct programs — Handshake and Arc Forge — designed to connect developers with the platform and streamline the development of AI Agents.</p><p>The handshake program is an open call to developers who want to build on top of the rig framework. ARC is looking for innovative projects, not just another chatbot. Developers building unique projects can propose their projects to ARC and get a chance to be listed on the ARC registry page. To prevent spam attacks, ARC charges 500 $ARC to everyone who applied. Here is the some ideas ARC looking for:</p><ul><li>swarm intelligence systems</li><li>creative data pipelines</li><li>agents that do things on-chain</li><li>report/insight generators</li><li>pattern recognition at scale</li><li>knowledge crawlers</li></ul><p>On the other hand, ARC Forge, a streamlined token launch platform built atop Meteora’s dynamic liquidity market maker (DLMM) and integrated with Jupiter routing. The selected handshake projects are able to deploy and manage tokens for their AI agents while enjoying benefits of ARC Forge. Forge provides multiple advantages:</p><ul><li><strong>Deep &amp; Efficient Liquidity: </strong>ARC Forge leverages Meteora’s DLMM model, which structures liquidity into targeted price bins. It increases capital efficiency, allowing deep liquidity while minimizing price impact and slippage.</li><li><strong>ARC-centric Routing: </strong>Every trade with ARC Forge is routed through $ARC, ensuring continuous trading volume and capturing fees within the ecosystem. This fee-driven model reduces $ARC’s circulating supply over time, directly benefiting token holders by creating a deflationary effect.</li><li><strong>Sniper Prevention: </strong>Thanks to Meteora’s configurable bonding curve, mitigates exploitative first-block sniper activity by imposing steeper price impacts on early trades. After this initial phase, project teams can actively reposition liquidity to promote sustainable price discovery and long-term trading stability.</li><li><strong>Expanded Reach: </strong>Tokens launched through ARC Forge are recognized by Jupiter’s routing system, making them tradable via popular trading bots such as Bonkbot, Trojan, Photon, and BullX. This ensures that the tokens gain broader exposure to a wider audience.</li><li><strong>Launch Partners: </strong>ARC helps promote high-quality and vetted projects launched through ARC Forge.</li></ul><p>With these advantages, ARC Forge establishes itself as a next-generation launch and liquidity platform, seamlessly integrating with the ARC ecosystem while prioritizing efficiency, security, and long-term growth.</p><h3>Competitive Analysis</h3><p>Competitive analysis is crucial when we need to understand weaknesses and strengths of a project. Instead of a single competitive analysis, we opted for two distinct approaches. This approach allows ARC to be evaluated from two essential perspectives: framework capabilities and AI economics.</p><h4>Based on Framework</h4><p>In this section we chose three different projects for competitive analysis of AI Rig Complex, based on framework approach. These projects are ElizaOS, ZerePy and Anda. To provide a clearer comparison, we examine key differentiators such as blockchain compatibility, programming language, plugin ecosystem, and scalability.</p><p><strong>ElizaOS</strong></p><p>ElizaOS is a lightweight, open-source AI agent development framework that enables the creation, deployment and management of autonomous AI agents. Founded by Shaw, one of the co-founders of ai16zdao.</p><p>The key difference of ElizaOS from ARC, is that it is written in Typescript. ElizaOS used its first mover advantage and gained a lot of attention. This attention also reflects metrics, used by the widely-distributed Typescript developer community and ElizaOS has gained more than 14000 stars on GitHub. Currently, ElizaOS accounts for about %60 of the current web3 AI agent development market.</p><p>ElizaOS has wide-range plugin support more than 80, including client, blockchain and other plugins. ARC’s plugin support is quite poor compared to ElizaOS, this is an important disadvantage. ElizaOS is supporting most chains, Solana, EVM-based, Aptos, Sui and altVMs like Starknet and Fuel. Also, ElizaOS is supporting PostgreSQL, redis, supabase, SQLite.</p><p>ElizaOS stands with various supported AI models and wide plugin support. It’s leading AI agent development market, thanks to a large developer community, unique features and capabilities.</p><p><strong>ZerePy</strong></p><p>ZerePy is an open-source, Python-based AI agent development framework which has blockchain and social media integrations. It is developed by Blorm Network, top of Zerebro backend.</p><p>The main advantage of ZerePy is that it is a Python-based framework which means existing Python developers are able to develop AI agents easily. According to <a href="https://www.statista.com/statistics/793628/worldwide-developer-survey-most-used-languages/">Statista’s report</a>, Python is the third programming language used by developers across the world. There are more than ten million Python developers. It’s an advantage for ZerePy to onboarding new AI agent developers. Currently, ZerePy has more than 550 stars on GitHub. Note that ZerePy is a new framework compared to ElizaOS and ARC.</p><p>ZerePy supports 10 AI models such as OpenAI, Ollama, GROQ, and Anthropic. ZerePy has more plugin support than ARC but not as much as ElizaOS. It has X, Farcaster, Echochambers, and Discord social media plugins and is supporting Solana and EVM-based chains such as Sonic, Base, Polygon, and Ethereum. There is no info about supported databases.</p><p>ZerePy is promising with its advantage to onboarding new developers to the AI agent development process. It needs more contributions to its framework in order to provide a more steady and stable system.</p><p><strong>Anda</strong></p><p>Anda is an open-source, Rust-based AI agent development framework, built by ICPanda DAO.</p><p>Anda targets Rust developers due to its Rust-based infrastructure, making it the AI agent development framework that aligns most closely with ARC. Initially developed for the ICP blockchain, its Rust foundation also makes it well-suited for Solana. It has been stated that Anda will support other blockchains as well. Currently, Anda has over 240 stars on GitHub.</p><p>The AI models supported by Anda are not explicitly listed, but it appears to support OpenAI, DeepSeek, xAI, and Grok. There is no available information on the databases it supports, and its plugin ecosystem remains unclear. One distinguishing feature of Anda is its support for TEE (Trusted Execution Environment), which is a capability only shared with ElizaOS among the frameworks compared.</p><p>With its Rust-based design, Anda can be considered a direct competitor to ARC. However, it is still a relatively new framework, which stands out. ARC’s longer development history gives it an advantage in terms of maturity and stability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xbk9-bpH-fIpIhUT" /><figcaption>Star History Comparison of ElizaOS, ARC, ZerePy, and Anda</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lEY3d8gBJrvWnbaYEGaQ4w.png" /><figcaption>Comparison of AI Agent Development Frameworks: ARC, ElizaOS, ZerePy, and Anda</figcaption></figure><h4>Based on AI Economics</h4><p><strong>Olas</strong></p><p>Olas Network is a decentralized protocol designed to support and scale AI-powered autonomous agents in Web3. It provides an infrastructure that enables the creation, management, and coordination of AI agents, allowing them to interact seamlessly with decentralized applications (dApps), smart contracts, and other on-chain services. By leveraging blockchain technology, Olas ensures that AI agents operate in a trustless and permissionless environment, removing reliance on centralized systems and enabling open participation.</p><p>One of the key innovations of Olas Network is its tokenized incentive model, which allows AI agents and their developers to be fairly compensated for their contributions. Through a unique reward system, Olas fosters the growth of decentralized AI economies, where agents can perform tasks such as data analysis, governance assistance, market-making, and security monitoring. Additionally, the protocol integrates advanced mechanisms for agent collaboration, ensuring that multiple AI agents can work together efficiently while maintaining transparency and accountability.</p><p>Both Olas and ARC are designed to support AI agents, enabling autonomous AI-driven applications in blockchain without reliance on centralized control. Both are open-source projects, encouraging collaboration and innovation through community contributions. Another similarity is the token incentive mechanism. ARC uses $ARC tokens to reward open-source contributions and maintain liquidity in its ecosystem, while Olas has a tokenized economy that supports AI agents through value-sharing mechanisms.</p><p>ARC primarily is a framework which focuses on creation and deployment of AI agents while Olas is a protocol which focuses on coordinating AI agents across multiple decentralized ecosystems. Olas focuses more on the economic model of AI agents rather than their direct execution. While ARC is integrated with Solana and EVM chains, Olas is chain-agnostic, meaning it supports agent coordination across multiple chains.</p><p><strong>Fetch.ai</strong></p><p>Fetch.ai is a decentralized artificial intelligence network which enables the development of an AI empowered decentralized digital economy. The project is not just focusing on AI agents on blockchain, it is welcoming agents working in different industries such as supply chain logistics, solid record-keeping systems, and finance.</p><p>Agents registered with Almanac, Fetch.ai network, are able to discover and recognize other agents. In there, the Fetch.ai network offers a layer of truth and trust by inherently being open. Also, Fetch.ai introduces a self-sustaining AI agent economy, where autonomous economic agents interact, trade, and optimize resources without human intervention. The native token of Fetch.ai, $FET, fuels the AI agent economy by serving as transaction currency, asset for incentivize, and staking&amp;governance catalyzer.</p><p>Both Fetch.ai and ARC enables AI-driven automation through agents that can interact with dApps and blockchains without reliance on centralized intermediaries. Both of them use tokenized incentive models to encourage participation, reward contributions, and power AI-driven economies. Both projects emphasize open-source AI agent development, allowing developers to build and deploy AI-powered applications.</p><p>The key difference between these projects is that ARC is an AI agent execution framework for on-chain automation while Fetch.ai is an AI agent network enabling decentralized AI collaboration. While ARC is a Rust-based framework for execution, on-chain signing and DeFi strategies, Fetch.ai is using a multi-agent system for AI coordination, ML (Machine Learning), and economic optimization.</p><p><strong>Bittensor</strong></p><p>Bittensor is a decentralized machine learning protocol that enables AI models to contribute, collaborate, and earn rewards in an open, blockchain-based AI network. Unlike traditional AI infrastructures controlled by large centralized entities, Bittensor decentralizes AI model training, data exchange, and computation, creating a tokenized AI ecosystem powered by the $TAO token.</p><p>Bittensor’s key innovation is its incentivized AI economy, where machine learning models compete and collaborate to improve efficiency, accuracy, and computational power. The network is designed to allow AI models to interact, learn from each other, and be rewarded based on their contributions.</p><p>Bittensor and (ARC) both operate within the decentralized AI landscape, but they serve different purposes. Bittensor is focused on creating a decentralized marketplace for AI models, rewarding the best-performing models with $TAO tokens. It’s designed for large-scale machine learning applications and AI collaboration rather than agent-based interactions.</p><p>ARC, on the other hand, is an AI agent development framework that allows for on-chain execution of AI-powered transactions, DeFi automation, and governance participation. Its agent-centric approach makes it more suitable for blockchain-native AI applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2hBRnTQw_dyv0BBt" /><figcaption>Market Cap Change in the Last 180 Days of These Projects</figcaption></figure><h3>Tokenomics and Financial Model</h3><p>The native token of AI Rig Complex, $ARC (61V8vBaqAGMpgDQi4JcAwo1dmBGHsyhzodcPqnEVpump), was launched via Pump.fun in December 2024. Its launch through Pump.fun positions it as a blend of both the AI and meme trends. The total supply is approximately 1 billion $ARC, and its tokenomics is structured into three main allocations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*hfGCVHkEMXE6k8Xq" /><figcaption>$ARC Tokenomics</figcaption></figure><p><strong>Circulating Supply (90%):</strong> 900 million tokens were made available for trading on the Solana network through Pump.fun. This open distribution allowed for broader adoption and community-driven growth, enabling $ARC to establish its value in the open market.</p><p><strong>ARC Prize Pool &amp; Treasury (5.5%):</strong> Tokens allocated to reward contributors and incentivize the expansion of the ARC ecosystem. They are used to fund ARC experiments, competitions, and prize pool participants.</p><p><strong>Team (4.5%):</strong> Tokens reserved for the core developers of the ARC framework, ensuring continued innovation and development. The tokens allocated to the team are locked in escrow addresses to ensure long-term alignment and prevent market disruptions. These tokens have a one-year vesting period. The escrow addresses are as follows:</p><ul><li>Ap5X6HmtL4fcy2zCcAVhmhRZhrhKJjDagmkQZURUWGqV</li><li>E38PbYFWsMV6csnSSDkfz3YVgxHka5BZhv9b1mqFHDoX</li><li>DWMZSspWKYa1gZzhr8KQVtKBrzU778vhYuMCo59nCC7Z</li><li>8baRPufxZrZYq4wwkTsBkpTyz17w6JgbpPrzHWfqqrqL</li><li>7ziUixTvfbhum67VcaqxDH88PbvxNiSpgsxRFoKfm3EA</li><li>5o7tdWMcHaruJZNcKxZeqnaXytN86D5qsTH4d1hZgmZx</li><li>EVfLDLqWGkPzGQbGtxYZmLdE2auN7DtuzRuifaRhvB3k</li><li>9td9nntEdY5uWy7mzcqMQkWAHszajunV6zKWan1QtQyA</li><li>6kqHBNdyRJ9QzJX8eBZcEQWRLpwky2bZkyPfZTqa2yoL</li></ul><p>However, upon closer analysis, it is observed that the team tokens are still held in a single address and have not yet been transferred to escrow addresses. Currently, the tokens allocated for the team are located at the following address:</p><ul><li>EWYCEwXHZxYFEM3hR4g9fKeUZ2Vuw6xYEN3km93z8VoX</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tUmU5CY6KFrPsK2Y" /><figcaption>Top 10 Holders of $ARC and Their Supply Share</figcaption></figure><p>Our analysis has revealed several additional findings. The number of $ARC holders is 203,000, and the top 10 holders collectively control 19.3% of the total supply. Within this 19.3%, 4.5% is allocated to the team, 3.2% is held by Bitget, 2.89% by Gate.io, and 1.38% by the Raydium pool. The remaining addresses do not have any labels, leading to the assumption that they belong to whales.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/0*pLaijQ4gHkOakB4n" /><figcaption>Top 10 Holder vs Rest, $ARC Token</figcaption></figure><p>We can see the changes in $ARC’s top 10 holders over time in the graph below. A total of 36 addresses appear in the chart, indicating that the top 10 holders have changed over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uWB4qdHqykBPKFaR" /><figcaption>Token Holdings Change of Top 10 Holders Over Time</figcaption></figure><p>As seen in the graph below, the next analysis focuses on the number of holders within specific token ranges. The majority of holders have less than 1,000 $ARC, indicating that most investors made an investment of less than $200. The number of investors who invested between $200 and $20,000 is close to 14,000, which accounts for approximately 7% of the total. Meanwhile, only 1,068 investors have invested more than $20,000, making up less than 0.5% of the total.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DGM6Wq2UaqXHCAQL" /><figcaption>$ARC Holder Count by Token Tier</figcaption></figure><p>The analysis changes when we examine how much supply each holder range controls. As seen in the graph below, despite the overwhelming majority of investors — 188,000 holders — investing less than $200, they only control 0.58% of the total supply. In contrast, the 14,000 investors who invested between $200 and $20,000 hold 14.5% of the supply. The largest percentage is held by 134 investors who invested between $200,000 and $1 million, collectively controlling approximately 27% of the total supply.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z2fSskyHydYaDpi0" /><figcaption>$ARC Holding Distribution by Tier</figcaption></figure><p>The $ARC tokenomics stands out due to its low allocation to the team and strong community focus. With the majority of the supply already in circulation, the risk of price instability due to newly unlocked tokens is minimized. This suggests that price movements are primarily driven by market conditions and trends. Since the tokens allocated to the team will remain locked for at least a year, potential selling pressure would only come from the prize pool and treasury allocations. Given that these will be released in multiple phases, no sudden increase in circulating supply is expected. The key point to note here is that the majority of the total supply is concentrated in the hands of a small group. While the risk of new tokens entering circulation is low, if this group decides to sell their holdings, the resulting price movements could be severe.</p><p>The question in here is that does an AI agent development framework really need a token? If the goal is to establish an AI-driven economy and incentivization mechanism, then yes. ARC aims to fulfill this purpose. However, the limited allocation for incentives raises questions about the long-term sustainability of this mechanism.</p><h3>Risk Assessment and Challenges</h3><h4>Adoption Risk</h4><ul><li><strong>Risk:</strong> AI agent frameworks are proliferating (ElizaOS, ZerePy, Anda). There is a risk that a well-funded competitor might outpace ARC in adopting web3 functionalities.</li><li><strong>Mitigation:</strong> ARC’s open-source, Rust-based approach creates a strong moat in Solana developer accessibility. Additionally, forging partnerships and growing the plugin ecosystem helps solidify ARC’s standing.</li></ul><h4>Regulatory &amp; Compliance</h4><ul><li><strong>Risk:</strong> As a web3/AI project,ARC may face evolving regulations around data privacy, KYC/AML, or token issuance.</li><li><strong>Mitigation:</strong> The project team can adopt a global compliance approach, working with legal counsel to ensure that the token model (utility, governance) is structured to meet regulatory guidelines.</li></ul><h4>LLM &amp; Plugin Security</h4><ul><li><strong>Risk:</strong> AI “agents” that can transfer tokens or execute trades on behalf of users carry inherent security and privacy risks.</li><li><strong>Mitigation:</strong> The runtime must incorporate robust permissioning, limit potential exploits, and implement a red-teaming process to ensure safe usage of these automation features.</li></ul><h4>Token Utility Risk</h4><ul><li><strong>Risk:</strong> If the token does not become truly integral (i.e., if developers and users can bypass it), demand might remain low, and the token’s price may stagnate.</li><li><strong>Mitigation:</strong> Ensure the token is a crucial gateway for advanced agent features, staking for resource prioritization, and governance. A well-designed token utility makes it indispensable.</li></ul><h3>Ecosystem and Community Growth</h3><p>ARC has certain advantages in terms of developer engagement and adoption due to its open-source nature and Rust-based infrastructure. With over 3,000 stars on GitHub, it has already started building a developer community. Being written in Rust makes it well-aligned with the ongoing Solana trend, increasing its popularity and helping establish a strong developer ecosystem. However, to further streamline the AI agent development process, ARC needs to improve its documentation, SDKs, and integration tools, which is currently an area where it lacks completeness.</p><p>The fair distribution of $ARC token through Pump.fun played a significant role in establishing a community-driven ecosystem and contributed to its initial growth. ARC’s blend of AI and memetic culture has proven successful in the short term. Additionally, ARC’s AI-driven economy is supported through prize pools and ecosystem incentives, which could play a crucial role in expanding the community further. However, how ARC will sustain AI agent developer incentives in the long run remains an open question. While its initial growth has been strong, a potential stagnation period could arise in the future if the incentive model is not continuously refined.</p><p>Currently, ARC has ecosystem partnerships with Solana, Send AI, Eternal AI, Hyperbolic, Shuttle Dev, Arbitrum, Abstract, and MongoDB. Given that ARC’s token is still relatively new, these partnerships are likely to expand over time. The project has also built a notable social presence, with over 48,000 followers on X (Twitter) and more than 4,000 members in the Portal channel on Telegram.</p><h3>Actionable Insights and Recommendations</h3><p>$ARC is positioned between AI and memecoin but closer to the AI trend. If AI tokens gain traction again, $ARC could ride the broader AI narratives in crypto. But, we should consider that the memetic nature of its launch via pump.fun, short-term price movements may be highly speculation-driven.</p><p>When we consider the potential catalysts for price action, it can be new partnerships such as AI model providers, developer tooling, and DeFi protocols, which could introduce new utility use cases, creating fundamental reasons for token demand. The integration with other blockchain networks also can be a catalyst for price movements. Another important factor is CEX listings. According to the CoinGecko data, currently $ARC is listed only CEXes like Bitget, Gate.io, MEXC. There is an opportunity to $ARC’s listing on more Tier1 and Tier2 CEXes. This could trigger price movements.</p><p>From a risk perspective, while ARC’s high initial circulation supply (90%) reduces inflationary concerns, the potential sell pressure from the Prize Pool &amp; Treasury (5.5%) remains a factor to monitor. The market’s ability to absorb these allocations without price impact will be key in determining ARC’s long-term sustainability.</p><p>Another critical factor is the concentration of supply among a small number of holders. The top 10 holders collectively own 19.3% of the total supply, with a significant portion held by whales rather than centralized entities. While part of this is allocated to the team (4.5%) and exchanges (Bitget 3.2%, Gate.io 2.89%), the remaining share belongs to unidentified addresses, likely whales. Additionally, analysis of holder tiers shows that while 188,000 investors hold less than $200 worth of ARC, they collectively control only 0.58% of the supply, whereas just 134 investors (holding between $200K–$1M worth of ARC) control 27% of the total supply.</p><p>This heavy concentration of tokens in a small number of wallets presents a key risk — if these large holders decide to sell, it could trigger extreme price volatility and downward pressure. The impact of such movements should be carefully monitored, especially in the absence of significant new demand drivers.</p><p>For short-term trades, monitoring liquidity, partnerships, and AI market sentiment is crucial to capitalize on volatility. For long-term trades, the key factors to watch are ecosystem adoption, treasury dynamics, and exchange listings, as these could define whether ARC sustains its value beyond initial hype.</p><h3>Conclusion</h3><p>Finally, ARC has started its career as the leading-forward AI agent development framework, blending the efficiency of Rust with decentralized AI executions. It has set the grounds for developing DeFi and AI-powered automation and scalable agent-based applications by utilizing Solana and EVM ecosystems. With the concept of open-source, ARC has laid the strong foundation of the developer community based on its escalating GitHub presence and ecosystem partnerships.</p><p>Despite all these, ARC is strong with its technology, but it faces challenges in adoption, documentation, and plugin expansion compared to older frameworks like ElizaOS. Further, its internal economics and community-based launch via Pump.fun provided it a good push to get into some traction; however, sustainability will depend on its ability to provide token utility, attract developers, and deliver real AI use cases.</p><p>ARC is positioned from an investment perspective somewhere in the convergence between AI and memecoins, making it very susceptible to market fluctuations and the broader AI narrative. Exchange listings and partnerships could serve as key catalysts for growth, yet the selling pressure from prize pools and treasury allocations is still an aspect worth monitoring. It must navigate regulatory challenges and competitive pressure to consolidate its spot in the AI blockchain sphere.</p><p>Ample opportunity exists for ARC to become a leading AI agent framework; however, it will have to act fast in ensuring that its implementation is timely and effective and in becoming the focal point for continued innovation. The coming months will determine if ARC can transcend short-term speculative interest and establish itself as one of the foundational AI infrastructures of Web3.</p><p><strong>Disclosure</strong></p><p><em>This report is for informational and educational purposes only and does not constitute financial, investment, or trading advice. The views expressed are those of the author based on publicly available information and independent research at the time of writing. While efforts have been made to ensure the accuracy and reliability of the data presented, no guarantees are given. The author does not hold any material position in ARC or have any financial relationship with the ARC team or its affiliates at the time of publication. Readers should conduct their own research and consult with a qualified financial advisor before making any investment decisions.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5923e6d81927" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding AMC (Accepting the Maximum Condition)]]></title>
            <link>https://0xemre.medium.com/understanding-amc-accepting-the-maximum-condition-0c4935792824?source=rss-40274eb6cd8f------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c4935792824</guid>
            <dc:creator><![CDATA[0xemre]]></dc:creator>
            <pubDate>Tue, 21 Jan 2025 17:59:37 GMT</pubDate>
            <atom:updated>2025-01-21T17:59:37.323Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7egl-19w6dK-hV1rV74Oow.png" /></figure><h3>Why is Mina an excellent settlement layer?</h3><p>Mina stands out as an ideal settlement layer in many respects. A settlement layer in a blockchain ecosystem is the foundational layer where the accuracy and reliability of transactions are guaranteed, and on-chain states are finalized and recorded. Mina’s unique features position it as an exceptional choice for this critical role.</p><p>First and foremost, Mina operates as a lightweight blockchain. But what exactly does “lightweight blockchain” mean? In traditional blockchain networks, the chain size grows cumulatively as the number of transactions increases over time, which raises hardware requirements for participants running a full node. Vitalik Buterin highlighted this issue in the “Storage” section of his 2021 article, “<a href="https://vitalik.eth.limo/general/2021/05/23/scaling.html">The Limits to Blockchain Scalability</a>.” Mina addresses this challenge at its core by using zkSNARKs and recursive proof techniques to keep the chain size fixed at 22 KB. Thanks to this innovative approach, all users can operate the network as a full node, even from a browser or a mobile device. Those interested can test <a href="https://openmina.com/">OpenMina</a>’s web node directly through their web browser. This decentralized and lightweight structure enhances both security and user experience. Additionally, zkApps running locally in the browser ensure that users maintain privacy without relying on centralized servers and users can verify the chain without a need to download gigabytes of data.</p><p>From a security perspective, Mina leverages zkSNARK technology to validate the accuracy and security of every transaction. This ensures data privacy while confirming the validity of all on-chain activity. Mina’s decentralized nature further strengthens its appeal, offering high accuracy and reliability without dependence on centralized authorities, which enhances user trust. Additionally, Mina is environmentally friendly due to its low energy consumption, positioning it as a sustainable blockchain solution. Its lightweight structure also enables low transaction costs, ensuring fast and cost-effective processing.</p><p>Mina also excels as a settlement layer for Layer-2 solutions due to its recursive SNARK-based proof mechanism, isomorphic architecture, and modular infrastructure. The fixed 22 KB chain size ensures transaction efficiency and low latency even during periods of high demand. Moreover, Mina’s isomorphic structure allows seamless compatibility between L1 and L2, enabling zkRollups and zkApp chains to integrate effortlessly. This structure simplifies data sharing between L1 and L2 and ensures composability.</p><p>All these features make Mina a reliable, scalable, privacy-focused, and sustainable settlement layer. With its innovative architecture and robust security, Mina provides a strong foundation for modern blockchain applications, making it an ideal choice for both developers and users seeking efficient and trustworthy solutions.</p><h3>Mina’s zkApp Architecture</h3><p>Many of us are already familiar with smart contracts on Layer 1 chains like Ethereum and Solana. Similarly, zkApps are the name given to smart contracts on Mina, supported by a user interface (UI) that allows users to interact seamlessly.</p><p>zkApps are built using zkSNARK, a type of zero-knowledge proof, and they focus on privacy, scalability, and low costs. Unlike traditional decentralized applications, zkApps enable users to execute transactions without revealing their data. This provides significant advantages in various fields. For instance, you can verify that your income qualifies for a loan without disclosing your income details on-chain. Similarly, zkApps can be used to create an application that verifies a student’s graduation status without revealing their GPA or other private details. This capability is achieved through zkApps performing computations off-chain and only recording the results on-chain using zkSNARKs. This reveals that zkApps function in a manner similar to zkRollups on Ethereum, while significantly reducing the data load on Mina. But how exactly does Mina’s zkApps architecture function? Let’s explore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Vf36Yfy_JSREWuhY" /></figure><ol><li>A user interacts with a zkApp through a compatible wallet and provides the necessary information. This data can be either public or private, where private data is not visible to the blockchain. For example, a user may specify their intention to purchase one NFT from the X collection for 0.1 ETH.</li><li>The prover function within the zkApp processes the user-provided data locally to generate a zero-knowledge proof. A list of state updates associated with this proof is then created.</li><li>The user selects the “Submit to Chain” option in the zkApp UI. They confirm the transaction, sign it with their wallet, which includes the proof and the associated state update details, and send the wallet to the Mina network.</li><li>The Mina network receives this transaction and verifies that the proof successfully passes the verifier method listed on the zkApp account. If the Mina validates the proof and the requested state updates, the zkApp state is updated accordingly.</li></ol><p>The current operational design of zkApps provides an innovative foundation by combining Mina’s lightweight blockchain structure with zkSNARK technology. However, building upon this foundation with additional features and developments can make the user experience even more flexible and powerful. For instance, introducing more complex validation workflows or multi-step transaction models could expand zkApps’ functionality. Systems that link user interactions to specific conditions or triggers could further enhance their utility. All these advancements would make zkApps an even more effective tool for both developers and users.</p><h3>zkVot Protocol and the Role of Censorship Resistance</h3><p>zkVot stands out as a protocol where the functionality of o1js and specialized mechanisms are implemented among zkApps. zkVot is an innovative protocol on Mina that enables censorship-resistant, anonymous, reliable, and transparent voting processes.</p><p>zkVot fundamentally eliminates dependency on central authorities, ensuring the security of elections and the privacy of users. The protocol has a modular structure consisting of five layers: Voting Layer, Communication Layer, Aggregation Layer, Settlement Layer, and Storage Layer.</p><ul><li><strong>Voting Layer:</strong> This layer is based on the principle that voters generate zero-knowledge proofs (ZKPs) for their votes on their own devices. This ensures privacy, as it is impossible to determine who cast which vote. Additionally, having voters generate their own proofs improves the scalability of the system.</li><li><strong>Communication Layer:</strong> In this layer, votes are securely transmitted to the network. Instead of using a centralized server, zkVot relies on a distributed data availability (DA) layer. The protocol primarily uses Celestia and Avail as DA layers but can integrate others. The use of a DA layer ensures that all votes remain available to everyone until the election is completed.</li><li><strong>Aggregation Layer:</strong> This layer ensures the validity, accuracy, and total count of votes through zk-SNARKs. The counting process is entirely transparent and resistant to manipulation. For instance, no vote can be altered or falsely added during this process.</li><li><strong>Settlement Layer:</strong> In this layer, all votes and results undergo one final check for accuracy and validity. This step finalizes the election results and confirms their reliability. zkVot has designated Mina as the settlement layer to ensure compliance with all requirements.</li><li><strong>Storage Layer:</strong> The layer where all static data, such as election questions, candidates, and other related information, is stored. Voters retrieve this static data from the storage layer before casting their votes.</li></ul><p>The modularity and flexibility of these layers make zkVot unique. The layered and modular architecture of zkVot ensures efficient performance even in large-scale elections. But how exactly does zkVot function in a sample election?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lXsM4sQFm0E9W9ZL" /></figure><ol><li>Voters read election data from the settlement layer with EID (Election ID)</li><li>Voters get election details from the storage layer with election data</li><li>Voter generate votes as a ZKP. Thanks to ZKP, each vote is anonymous and takes approximately 15 seconds to generate. The generated ZKP verifies the validity of the vote and provides the nullifier and candidate result.</li><li>Voters send individual votes to the communication layer</li><li>Aggregation layer read votes from the communication layer</li><li>Aggregation layer generate aggregated ZKP with parallel parallel aggregation</li><li>Aggregation layer send the aggregated ZKP to settlement layer for settlement</li><li>Settlement layer enforces AMC for censorship resistance</li></ol><p>Censorship resistance is a critical feature for decentralized voting systems like zkVot because it protects the integrity and fairness of the voting process. Without censorship resistance, malicious actors could manipulate the system in several ways: they might hide specific votes, alter or omit them, or even prioritize certain votes over others to skew the election results. Such actions could undermine the legitimacy of the election, erode trust in the system, and potentially disenfranchise voters. For instance, if some votes are excluded due to censorship, the final tally would not represent the true will of the participants. Additionally, the lack of censorship resistance could enable vote suppression, where voters might be discouraged from participating due to fears of their votes being invalidated or ignored. In extreme cases, this could lead to systemic manipulation, where malicious aggregators or intermediaries bias the outcomes to serve their interests, completely undermining the purpose of a decentralized and transparent election process.</p><p>zkVot commits to censorship resistance by utilizing a specialized mechanism developed for zkVot called Accepting the Maximum Condition (AMC). This mechanism ensures that only valid transactions containing the maximum number of votes are accepted, preventing malicious behavior. AMC evaluates processed votes in the Aggregation Layer, verifying only the necessary minimum data. With AMC in place, even a single honest vote aggregator is sufficient to ensure the system operates correctly.</p><p>In the next section, we will delve deeper into how AMC works and its detailed implementation.</p><h3>How does AMC (Accepting the Maximum Condition) work?</h3><p>AMC (Accepting the Maximum Condition) is one of the core components of zkVot, designed by the node101 team to enhance censorship resistance in decentralized elections. The primary goal of AMC is to ensure that the presence of even a single honest aggregator in the system is sufficient to include all votes in the final results.</p><p>In AMC’s operational principle, the Settlement Layer stores the most recently accepted maximum number of votes as a state variable for each election. When an aggregator submits a new settlement transaction, the system accepts it only if the total number of votes exceeds the previously recorded maximum. For example, consider an election with 1,000 participants. Initially, the previously recorded maximum in the state is 0, as there has been no settlement before. As a result the first aggregator to settle may submit any value, for instance 900. Once the first settlement is done, the second aggregator is forced to exceed this number. If the total number of votes submitted by the second aggregator is less than 900, the transaction is rejected. If it exceeds 900, the transaction is accepted and sets the lower limit for the next accepted total vote count. Ultimately, the transaction with the highest number of votes sent by an aggregator becomes the election result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wzjOausIFtgnQdXB" /></figure><p>As long as there is at least one honest aggregator in the system, the process runs smoothly with 1/N trust assumption, and the risk of censorship is eliminated, as a result with more votes should always be more honest. Note here that the aggregator is essentially a ZK rollup, and it has no chance to lie. This forces all votes that are included in the aggregation to be correct.</p><p>Additionally, having votes processed by multiple aggregators would also make it significantly harder for malicious actors to control the election process. To achieve this, this system also incorporates a reward mechanism that incentivizes the contributions of different aggregators, encouraging collaboration among honest aggregators and ensuring the fairness of the voting process.</p><p>AMC’s robust design ensures that decentralized elections remain resilient against censorship. By creating a system where even a single honest participant can uphold the integrity of the voting process, AMC not only guarantees the inclusion of every vote but also fosters trust in the system. The collaborative framework between aggregators further strengthens the network’s reliability, making zkVot a powerful solution for secure and censorship-resistant elections.</p><h3>The Future of AMC</h3><p>In the case of a voting, the reason that AMC works great is the fact that there is no such thing as an invalid vote: If someone submits a result with 10 votes, then all votes in this result must be valid etc. As a result, in an election with 1000 voters, there may be at most 1000 valid votes. However, this is not the reason why AMC works, and the system idea can actually be adapted into different applications, like a DEX.</p><p>Think of a conventional order based DEX system, where users submit orders in each block. Do you think it would be possible to adapt AMC in this system? The answer is yes, and the maximum condition actually works great even with systems where there is no definitive maximum (any amount of orders can happen in a DEX, so there is no result as being fully correct).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xq1dE0YBPj2VkpmT" /></figure><p>There are of course some technical details with this implementation, but the flexibility around the idea of “accepting the maximum” is so strong that it can actually bring censorship resistance to any system. In the case of a DEX, by introducing some additional cryptography to the ordering / aggregating process, it is possible to prevent any MEV attacks from happening.</p><p>This is the part where things get really interesting: Think of a world where all rollups use a maximum based accepting condition for a permissionless aggregation layer, where different aggregators may collaborate together to reach the maximum as fast as they can. Then, what is the reason why we actually design this aggregation network as a separate layer? It is actually very possible to make each client responsible for their own aggregation after the submission of a TX. In the case of zkVot, this equals making everyone count their own (or someone else’s) vote after submitting their vote to the system. As a result the costs of sending a vote approach to 0 (and eventually becomes 0 with an election with enough participants), but this is just the tip of the iceberg.</p><p>This idea is really interesting, as it actually makes the off chain computation layer disappear and introduces a scalability potential that was impossible before. The system does not only compensate for the performance by making everyone create their own vote, but also forces everyone to contribute with a small extra amount of computation power to help with the aggregation. In short, the system actually gets stronger and stronger exponentially with every participant joining the network.</p><p>A scalability of this type has never been possible before, and until now all systems that we have designed got slower and heavier with every new user participating. As a result, for now we have no idea what we can achieve (apart from a fully free to use system) with this new design, but it is for sure really exciting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c4935792824" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bitcoin-Based Stablecoins: Bridging Security and Stability for a Decentralized Future]]></title>
            <link>https://0xemre.medium.com/bitcoin-based-stablecoins-bridging-security-and-stability-for-a-decentralized-future-0a7b387ca9fd?source=rss-40274eb6cd8f------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a7b387ca9fd</guid>
            <dc:creator><![CDATA[0xemre]]></dc:creator>
            <pubDate>Thu, 09 Jan 2025 11:04:17 GMT</pubDate>
            <atom:updated>2025-01-09T11:04:17.513Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kHhZgAMW9Xh7gLM5XTMhoA.png" /></figure><h3>What are Stablecoins?</h3><p>Stablecoins are cryptocurrencies pegged to fiat currencies (like the US dollar), a commodity (like gold), or a basket of digital assets. They provide stability by minimizing volatility in the crypto market, making them ideal for various use cases.</p><p>Stablecoins are highly suitable for payments, remittances, and as a store of value. Users can freely use stablecoins without worrying about the value of their holdings fluctuating, unlike Bitcoin or Ether, where price volatility can complicate everyday use. Stablecoins solve this problem by ensuring price stability, making them easier to use in day-to-day transactions.</p><h3>Types of Stablecoins</h3><p>There are four main types of stablecoins: fiat-collateralized stablecoins, crypto-collateralized stablecoins, commodity-collateralized stablecoin, and algorithmic stablecoins.</p><h4>Fiat-collateralized Stablecoins</h4><p>Fiat-collateralized stablecoins are cryptocurrencies backed by reserves of fiat currency, such as the US dollar or Euro. For each stablecoin issued on the network, an equivalent amount of fiat currency is held off-chain in a bank account or by a financial institution at a 1:1 ratio. This reserve mechanism helps maintain price stability.</p><p>Holders of fiat-backed stablecoins can redeem their coins for the equivalent amount of fiat currency at any time, which ensures the stablecoin’s value remains consistent with its fiat counterpart. However, the reserves are controlled by a centralized authority, which introduces a degree of centralization risk. To mitigate this risk, many fiat-backed stablecoin projects publish regular audits and transparency reports. These reports provide summaries of the reserves, indicating to what extent the stablecoins are backed by fiat currencies. Also, most fiat-collateralized stablecoins are subject to regulatory frameworks, requiring compliance with KYC (Know Your Customer) and AML (Anti-Money Laundering) policies.</p><p>Examples of Fiat-Collateralized Stablecoins:</p><ul><li><strong>Tether (USDT):</strong> One of the first and most widely used fiat-collateralized stablecoins, pegged to the US dollar.</li><li><strong>USD Coin (USDC):</strong> Another popular US dollar-backed stablecoin, issued by regulated entities, and known for its regular audits and transparency.</li><li><strong>TrueUSD (TUSD):</strong> A stablecoin that is also pegged to the US dollar, and its reserves are held by independent third-party custodians.</li></ul><p>Fiat-backed stablecoins play a critical role in the crypto ecosystem by providing a stable medium of exchange, a store of value, and a bridge between traditional finance and decentralized applications.</p><h4>Crypto-collateralized Stablecoins</h4><p>Crypto-collateralized stablecoins are digital assets backed by reserves of other cryptocurrencies instead of fiat currencies. The goal is to achieve price stability by leveraging the transparency and censorship resistance of blockchain technology, using an over-collateralization method to mitigate volatility risks.</p><p>To obtain crypto-collateralized stablecoins, users deposit cryptocurrency into a smart contract and receive stablecoins at a ratio defined by the over-collateralization requirement. For example, if the over-collateralization ratio is 150%, a user needs to lock up $150 worth of cryptocurrency to mint $100 worth of stablecoins. This over-collateralization acts as a buffer against the inherent price volatility of crypto assets. If the collateral value falls below a certain threshold, the smart contract will automatically liquidate a portion of the collateral to maintain the stablecoin’s peg.</p><p>These stablecoins are governed by smart contracts, ensuring transparency and decentralization, which eliminates the need for trust in third parties. However, since the collateral itself is volatile, there is a risk of liquidation events that could disrupt the stablecoin’s peg. Additionally, they tend to be more complex than fiat-collateralized stablecoins and require a significant amount of over-collateralization, which can be capital-inefficient.</p><p>Examples of Crypto-Collateralized Stablecoins:</p><ul><li><strong>DAI:</strong> The most prominent example of a crypto-collateralized stablecoin is DAI, issued by the MakerDAO protocol. DAI is soft-pegged to the US dollar and backed by a basket of cryptocurrencies locked in MakerDAO’s smart contracts. Users can generate DAI by locking up assets like ETH, WBTC (Wrapped Bitcoin), and other tokens.</li><li><strong>sUSD:</strong> Issued by the Synthetix protocol, sUSD is backed by SNX tokens that are staked as collateral. Like DAI, it relies on over-collateralization to ensure stability.</li></ul><p>Crypto-collateralized stablecoins like DAI offer a decentralized and transparent alternative to fiat-backed stablecoins, making them a cornerstone of the DeFi ecosystem. However, their reliance on over-collateralization and exposure to market volatility present challenges that need to be managed carefully. As DeFi continues to grow, the role of crypto-collateralized stablecoins is likely to expand, providing a decentralized solution for price stability in the crypto market.</p><h4>Commodity-Collateralized Stablecoins</h4><p>Commodity-collateralized stablecoins are a type of stablecoin backed by physical commodities like gold and silver, instead of fiat currencies or cryptocurrencies. The goal is to provide a hedge against the volatility of the crypto market, while maintaining value stability through tangible assets. This approach also offers investors diversification by giving them exposure to well-established stores of value like precious metals.</p><p>In commodity-collateralized stablecoins, each token represents a specific amount of a physical commodity. For instance, PAX Gold (PAXG) corresponds to one ounce of physical gold. These commodities are securely stored in trusted facilities and are subject to independent audits. However, this model requires reliance on a central authority for the safekeeping and verification of assets, which introduces some centralization risks. Despite this, these stablecoins allow access to assets like gold and silver, which have proven themselves as reliable stores of value over thousands of years, and they typically experience lower volatility compared to cryptocurrencies.</p><p>Examples of Commodity-Collateralized Stablecoins:</p><ul><li><strong>PAX Gold (PAXG):</strong> Backed by one ounce of London Good Delivery gold. Token holders have ownership rights to the gold and can physically redeem it.</li><li><strong>Tether Gold (XAUT):</strong> Issued by Tether, each XAUT token is backed by one ounce of physical gold. The gold is stored in secure vaults, and token holders can verify the gold’s existence.</li></ul><p><strong>Digix Gold Token (DGX):</strong> Each DGX token is equivalent to one gram of gold stored in secure vaults in Singapore.</p><p>Commodity-collateralized stablecoins bridge the gap between digital assets and traditional finance, providing investors with a unique opportunity to diversify their portfolios. However, the challenges related to centralization and storage costs remain significant barriers to their widespread adoption.</p><h4>Algorithmic Stablecoins</h4><p>Algorithmic stablecoins operate without holding reserves in fiat currency or cryptocurrencies. Instead, they function based on a series of smart contracts and algorithms that adjust the token supply according to demand. The goal is to maintain price stability by increasing or decreasing supply as needed.</p><p>When the price of an algorithmic stablecoin exceeds its target peg, the protocol mints new tokens to increase supply. These newly created tokens are either distributed to current token holders or sold to bring the price back down to the target level. Conversely, when the price falls below the target peg, the protocol burns tokens to reduce the supply. This process may also include incentivizing holders to lock or burn their tokens by offering future rewards. The goal is to decrease the supply and return to the target peg.</p><p>Because algorithmic stablecoins do not require reserves, they offer higher capital efficiency. Managed by smart contracts and algorithms, they are decentralized but come with increased complexity. The history of algorithmic stablecoins includes cases like the de-pegging of UST and its subsequent death spiral, highlighting the potential risks of their fragile and complex structure.</p><p>Types of Algorithmic Stablecoins:</p><ul><li><strong>Rebase Model: </strong>In this model, the total supply is periodically adjusted. For instance, when the price is above the peg, token holders will see an increase in their balances without changing their ownership percentage. An example of this model is Ampleforth.</li><li><strong>Seigniorage Model:</strong> This model uses a dual token system, consisting of a stablecoin and a share token. When the stablecoin’s price is above the peg, new stablecoins are minted and distributed to share token holders. If the price is below the peg, the protocol issues “debt” or bonds that can be purchased with stablecoins, thereby reducing the circulating supply.</li><li><strong>Fractional Algorithmic Model:</strong> This is a hybrid approach combining partial collateralization with algorithmic mechanisms. Frax is an example of this type, where the stablecoin is partially backed by collateral (like USDC) and partially stabilized by an algorithmic mechanism.</li></ul><p>Algorithmic stablecoins represent an innovative approach to achieving price stability in decentralized finance (DeFi) without relying on traditional collateral. However, they come with significant risks due to their reliance on market dynamics and user behavior. While they offer benefits like decentralization and capital efficiency, their volatility and susceptibility to collapse make them a high-risk, high-reward option in the stablecoin landscape.</p><h3>Current Market Landscape</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OumLFLKrmQNYPJu-" /><figcaption>Total Stablecoin Marketcap, Source: DefiLlama</figcaption></figure><p>The stablecoin market currently stands at a remarkable $180 billion, a significant milestone reflecting the growing role of stablecoins in the broader cryptocurrency ecosystem. This market is fueled by a wide variety of stablecoins — 202 different tokens in total — which range from well-established projects like Tether (USDT) and USD Coin (USDC) to newer, emerging solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4VhdipLKFhA1ynne" /><figcaption>Dominance in Stablecoins, Source: DefiLlama</figcaption></figure><p>Upon analyzing the stablecoin market share, it is evident that two projects dominate the scene, collectively holding over 90% of the total market share: USDT and USDC. Tether (USDT), with nearly a 70% market share, stands as the indisputable leader in the stablecoin sector. This is followed by USD Coin (USDC), which commands around 20% of the market. Meanwhile, DAI, the decentralized stablecoin, holds a modest share of approximately 2.66%.</p><p>The overwhelming dominance of USDT presents a potential risk for the market’s stability. If USDT were to experience any internal issues or regulatory scrutiny, it could trigger a market-wide crisis, given its outsized influence. This concentration risk underscores the need for diversification and resilience within the stablecoin ecosystem to mitigate systemic threats.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8tSuII6xQtw-9SjX" /><figcaption>Stablecoin Share by Chains, Source: DefiLlama</figcaption></figure><p>According to DefiLlama, over 50% of all stablecoins are currently hosted on the Ethereum blockchain. Ethereum’s dominance in this space is a testament to its robust DeFi infrastructure, which attracts stablecoin issuers due to its security, liquidity, and developer-friendly environment. Following Ethereum, other blockchains like Tron, Binance Smart Chain (BSC), Arbitrum, and Solana also hold significant portions of the stablecoin supply. Tron, in particular, has become a notable player, primarily driven by its lower transaction fees and growing adoption in markets with high demand for USDT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QUyVNxNltCBocbqh" /><figcaption>Top 10 Chains by Stablecoin Marketcap, Source: DefiLlama</figcaption></figure><p>When examining the top 10 blockchains by stablecoin market cap, USDT exhibits clear dominance on seven of these chains, while USDC leads on three. This pattern indicates that while USDT maintains a stronghold across multiple networks, USDC has carved out substantial market share in specific ecosystems, especially where compliance and regulatory considerations are prioritized.</p><p>The stablecoin sector remains a cornerstone of the crypto economy, offering liquidity, stability, and interoperability across various blockchains. However, the heavy concentration of market share in the hands of a few stablecoins, particularly USDT, introduces systemic risks that could have far-reaching implications in the event of a disruption. As the stablecoin landscape continues to evolve, monitoring these dynamics will be crucial for understanding the broader implications on the DeFi sector and the crypto market as a whole.</p><p>This highlights the need for both diversification and innovation to build a more resilient stablecoin ecosystem that can withstand potential shocks and adapt to regulatory developments.</p><h3>The Rise of Bitcoin Layer-2 Solutions and Bitcoin DeFi</h3><p>The number of transactions that can be conducted on the Bitcoin mainnet is limited. Currently, Bitcoin operates at an average of 7 TPS (Transactions Per Second). This limitation, despite Bitcoin being a secure, decentralized, and distributed solution, causes issues with scalability. To overcome these scalability problems, Layer-2 solutions have emerged on Bitcoin.</p><p>In particular, the Lightning Network, introduced in 2015 by Joseph Poon and Thaddeus Dryja, brought a new perspective to scalability on Bitcoin. The Lightning Network is a state-channel solution that allows high-frequency and low-fee transactions by moving them off-chain. Two users can open a channel and make as many transactions as they wish within that channel. Once the transactions are completed and the channel is closed, the net transaction result is recorded on the main chain. This method is especially suitable for payments. However, this solution is not open to public participation as each channel is formed between two users. Nevertheless, previously opened channels can be reused. For example, if user A has a channel with user B and user B has one with user C, user A can make a payment to user C using the existing channels, even if there is no direct channel between A and C. In this solution, the parties to the channel must remain online continuously, and there is no general programmability. These disadvantages limit the widespread use of this solution beyond payments. Particularly, the integration of the SegWit (Segregated Witness) protocol into Bitcoin in 2017 increased the usability of the Lightning Network. From 2018 onward, it gained wider adoption. Today, the capacity of the Lightning Network has reached millions of dollars and is supported by thousands of nodes globally.</p><p>Apart from the Lightning Network, there are other Layer-2 solutions on Bitcoin. For instance, the Liquid Network, developed by Blockstream in 2018, is one such solution. The Liquid Network is a sidechain solution. Sidechains are independent chains linked to Bitcoin’s main chain, allowing the transfer of Bitcoin to other chains. The Liquid Network supports fast and private large-scale transactions and uses L-BTC tokens, representing BTC. It is primarily used between exchanges and financial institutions. Another Bitcoin Layer-2 solution is RSK (Rootstock). RSK is a Bitcoin-based smart contract platform that aims to bring smart contract capabilities to Bitcoin using an Ethereum Virtual Machine (EVM)-like virtual machine. While these solutions bring progress to Bitcoin in terms of scalability, they face various challenges in becoming general-purpose solutions. Bitcoin still requires Layer-2 solutions that are secure, decentralized, and allow programmability for complex DeFi operations similar to those on Ethereum. This is where new-generation Bitcoin Layer-2 solutions come into play.</p><p>Ethereum’s rollup-centric roadmap has played a significant role in the development and diversification of Layer-2 solutions. Rollups are more secure and decentralized compared to other Layer-2 solutions, as they conduct transactions off-chain and submit proofs of validity to the main chain. They are divided into Optimistic rollups and zkRollups, based on the proof mechanism they use. Optimistic rollups use fraud proof mechanisms, while zkRollups use zero-knowledge proof mechanisms. After years of development, rollup technology has evolved, leading to various rollup frameworks, prover-verifier mechanisms, proof types, and design variations. These advancements have significantly increased the possibility of developing rollups on Bitcoin. BitVM-based rollup solutions are being developed to provide programmability and complex DeFi operations on Bitcoin. BitVM is a system that enables Turing completeness on Bitcoin, allowing the execution of complex smart contracts. This system ensures the verification of computations without altering Bitcoin’s existing consensus rules. BitVM operates with a protocol between a “prover” and a “verifier.” The prover claims the result of a certain computation, while the verifier verifies this claim. If the claim is false, the verifier can provide a fraud proof to penalize the prover. This mechanism allows for the verification of any computable function on Bitcoin. All these advancements in rollup technology and BitVM pave the way for rollups on Bitcoin. For instance, Citrea, a BitVM-based zkRollup project, facilitates faster and cheaper transactions and the execution of smart contracts on Bitcoin. This project, which provides full EVM compatibility, enables Ethereum smart contracts to utilize Bitcoin’s block space without modification. Citrea also allows asset transfers between Bitcoin and Citrea via a two-way bridge based on BitVM. The use of zero-knowledge proof technology and batch processing of transactions results in increased transaction volumes while reducing costs. Projects like Citrea bring a new perspective to programmability on Bitcoin.</p><p>DeFi operations on Bitcoin are not solely reliant on rollup solutions. Currently, thanks to the Taproot upgrade, there is already minimal DeFi activity on Bitcoin. The Taproot update, implemented in 2021, brought scalability, privacy, and smart contract capabilities to the Bitcoin network. The post-Taproot period saw the emergence of Runes and Ordinals protocols, which introduced DeFi activity on Bitcoin. Ordinals allow individual satoshis (the smallest unit of BTC) on the Bitcoin blockchain to be defined as tokens and associated with media files such as text, images, and videos. This enables the creation and transfer of NFTs on Bitcoin. As a result, NFT collections have been minted on Bitcoin, and currently, the market value of these collections has reached $200 million. The BRC-20 tokens created via Ordinals have seen over 50 million transactions, with more than $520 million in fees paid. This introduction of NFTs to the Bitcoin network has been a significant development. Runes, on the other hand, is an open-source protocol that allows the creation and management of tokens on Bitcoin. This protocol facilitates the integration of ERC-20-like tokens into the Bitcoin ecosystem. Runes are built on Bitcoin’s UTXO (Unspent Transaction Output) model and enable the creation and transfer of tokens. To date, more than 170,000 Runes have been created, with nearly $5 million in transaction fees paid.</p><p>Both Ordinals and Runes have demonstrated that DeFi is possible on Bitcoin, creating DeFi activity on the network. However, this DeFi activity is not as advanced as that on rollups and does not allow for complex applications. All these developments are gradually increasing DeFi activity on Bitcoin and paving the way for more complex applications in the future.</p><h3>The Need for Bitcoin-based Stablecoins</h3><p>The need for Bitcoin-based stablecoins has become increasingly apparent as Bitcoin’s capabilities and its Layer-2 solutions continue to evolve. While Bitcoin is the most secure and decentralized blockchain, its high price volatility limits its use in everyday transactions and broader financial applications. Stablecoins, which maintain a fixed value typically pegged to fiat currencies like the US dollar, are essential for achieving stability in the crypto ecosystem. Integrating this concept within the Bitcoin network can bring unique advantages, enhancing its role in global finance and decentralized applications.</p><p>Advantages of Bitcoin-Based Stablecoins:</p><ul><li><strong>Enhanced Security and Decentralization: </strong>Bitcoin’s blockchain is known for its unparalleled security and decentralization. A stablecoin built directly on Bitcoin or its Layer-2 solutions could leverage this robust infrastructure, providing users with a stable asset that inherits Bitcoin’s resistance to censorship and network reliability.</li><li><strong>Interoperability with Existing Bitcoin Infrastructure:</strong> A Bitcoin-native stablecoin could seamlessly integrate with established Bitcoin Layer-2 solutions like the Lightning Network and Liquid Network. This integration would enable fast, low-cost transactions in a stable asset, enhancing the network’s usability for regular commerce and financial interactions.</li><li><strong>Empowering Bitcoin DeFi:</strong> The introduction of a Bitcoin-based stablecoin could serve as a catalyst for decentralized finance (DeFi) on Bitcoin. Platforms like RSK and advancements enabled by BitVM already allow for smart contracts and more complex operations. A stablecoin could provide liquidity and stability within Bitcoin-native DeFi ecosystems, facilitating decentralized exchanges, lending protocols, and yield farming.</li><li><strong>Hedging Against Volatility:</strong> Bitcoin’s high volatility can be a deterrent for users who wish to engage in payments, savings, or financial contracts without the risk of significant value fluctuations. A Bitcoin-based stablecoin would allow users to transact and manage assets within the Bitcoin ecosystem while maintaining a predictable value, offering a balance between stability and the security of the Bitcoin blockchain.</li></ul><p>Potential Use Cases for a Bitcoin-Based Stablecoin:</p><ul><li><strong>Cross-Border Payments:</strong> With Bitcoin’s strong global presence, a stablecoin could simplify cross-border transactions, offering a stable, fast, and low-cost solution that reduces reliance on traditional fiat conversion and banking intermediaries.</li><li><strong>Microtransactions:</strong> The high speed and low transaction fees enabled by Layer-2 solutions like the Lightning Network make Bitcoin suitable for microtransactions. A Bitcoin-based stablecoin would enhance this capability by ensuring value stability, which is crucial for small payments in gaming, content creation, and other digital services.</li><li><strong>DeFi and Financial Products:</strong> Bitcoin’s entry into the DeFi space has been limited compared to Ethereum due to its original design constraints. A stablecoin can act as a bridge to further expand Bitcoin’s DeFi landscape, allowing it to compete with platforms that support borrowing, lending, and derivatives markets.</li><li><strong>E-commerce and Retail Payments:</strong> Merchants are often hesitant to accept Bitcoin due to its price volatility. However, a Bitcoin-based stablecoin would eliminate this concern, allowing them to accept payments in a stable currency while still engaging with the Bitcoin ecosystem.</li></ul><p>A Bitcoin-based stablecoin could bridge the gap between Bitcoin’s unmatched security and the stability needed for everyday transactions and financial activities. It would empower the growth of Bitcoin’s DeFi ecosystem, facilitate cross-border trade, and open new opportunities for digital commerce. While technical and economic challenges exist, the development of such a stablecoin is a promising step toward enhancing Bitcoin’s utility and maintaining its position as a leader in the evolving crypto space.</p><h3>Conclusion</h3><p>The stablecoin market, currently valued at an impressive $180 billion, underscores its pivotal role in the broader cryptocurrency ecosystem. This growth reflects the increasing reliance on stablecoins as essential tools for liquidity, stability, and seamless financial transactions. As Bitcoin Layer-2 solutions and DeFi activity continue to expand, the demand for Bitcoin-based stablecoins has surged, highlighting their potential to fill a critical gap in the market.</p><p>With over 202 different stablecoin tokens, the dominance of major players like USDT and USDC, which collectively command over 90% of the market share, signals both opportunities and challenges for diversification. The introduction of a Bitcoin-based stablecoin would provide an innovative alternative that leverages Bitcoin’s unparalleled security and decentralization, aligning with the network’s foundational ethos while addressing the need for price stability.</p><p>The rapid increase in DeFi activities on Bitcoin further amplifies the need for stable assets that can support complex financial interactions without exposure to Bitcoin’s inherent volatility. By integrating stablecoins directly into the Bitcoin ecosystem, users would benefit from greater financial flexibility and resilience, fostering global commerce and enhancing Bitcoin’s utility beyond its traditional role as a store of value.</p><p>Ultimately, the development and adoption of Bitcoin-based stablecoins represent an important step towards a balanced and diversified crypto economy. This evolution will not only reinforce Bitcoin’s standing within the digital asset landscape but also contribute to a more inclusive, stable, and interconnected financial system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a7b387ca9fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why is Mina One of the Best Environment for Rollups?]]></title>
            <link>https://0xemre.medium.com/why-is-mina-one-of-the-best-environment-for-rollups-3a9ffdf98aac?source=rss-40274eb6cd8f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a9ffdf98aac</guid>
            <dc:creator><![CDATA[0xemre]]></dc:creator>
            <pubDate>Wed, 04 Dec 2024 11:08:12 GMT</pubDate>
            <atom:updated>2024-12-04T11:08:12.508Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZODu-ByxAtoteg2AmKerTA.png" /></figure><h3>Rollup Era</h3><p>To understand why Mina is one of the best environment for Rollups, we first need to understand what Rollups are.</p><p>Rollups are Layer-2 solutions that process transactions off-chain and then send proofs and data verifying these transactions to the main chain. They are categorized into two types based on the proof mechanism they use: Optimistic rollups and zkRollups. Optimistic rollups utilize fraud proofs, while zkRollups leverage zk-proofs, which are based on zero-knowledge technology. Both types of rollups operate through a set of smart contracts deployed on the main chain and an actor known as the sequencer. One of the most critical smart contracts is the bridge contract, which enables two-way asset transfers between the Rollup and the main chain. By examining the transaction cycle of Rollups in detail, we can better understand the functions of these smart contracts and the role of the sequencer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qyGq116OC9PDuXJm" /></figure><p>Transaction Lifecycle on Rollups:</p><ul><li>Bob transfers his assets to the Rollup using either the native bridge or a third-party bridge.</li><li>Bob signs a transaction on the Rollup.</li><li>The transactions made by Bob and other users are placed in a waiting area called the mempool.</li><li>The actor known as the sequencer collects these transactions, orders them, and places them into blocks to execute the transactions.</li><li>The sequencer sends the transaction data and If exists proof to the L1 network.</li><li>The Rollup verifier contract on L1 verifies the proof, and the transactions are finalized.</li></ul><p>Does this sound too complex? Let’s try to simplify it with an analogy.</p><p>Imagine we want to make a transaction on a blockchain. For transactions to be processed, they need to be included in blocks. Think of transactions as passengers and blocks as buses. Each bus has a limited number of seats, meaning it can only accommodate a certain number of passengers. For example, let’s say our bus has 10 seats, but there are 15 passengers waiting. In this case, 5 passengers won’t be able to get on the bus. The bus driver, aiming for maximum profitability, will choose the 10 passengers willing to pay the highest fare. If the 11th passenger wants to get on, they will need to pay a higher fare than the 10th passenger. Meanwhile, the remaining 5 passengers will have to wait for the next bus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KvcUMuhC_6Db9qAN" /></figure><p>Rollups, on the other hand, are like subways. They can accommodate more passengers, and the tickets are cheaper. This allows more transactions to be processed faster and at a lower cost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y9bCFJEZaI4ZtWPX" /></figure><p>Understanding the impact of Rollups on blockchains like Bitcoin and Ethereum clearly demonstrates why this technology provides a critical solution for scalability and cost efficiency. Mina’s unique infrastructure has the potential to maximize the capabilities of Rollups, offering greater efficiency, security, and a user-friendly experience. In the next step, we will delve deeper into how Mina delivers these advantages and differentiates itself from other solutions.</p><h3>Mina’s Rollup Environment</h3><p>First and foremost, Mina functions as a rollup-like Layer-1 blockchain. By utilizing SNARK-based recursive proofs, transaction data and computations are compressed into static-sized proofs of 22 KB. This feature allows Mina to adjust transaction throughput and latency based on network demand. When transaction throughput is low, users benefit from minimal latency. During high demand, additional transactions can be processed using recursive proofs, with only a slight increase in latency. This ensures optimal performance under all conditions.</p><p>Mina’s roadmap includes zkRollup and similar developments, with the goal of achieving an isomorphic structure between Mina L1 and its zkRollups. This enables zkApp developers to migrate their applications to Mina zkRollups without any code changes, saving both development time and costs. The benefits of the isomorphic structure extend beyond this. It ensures that zkApps remain composable on both L1 and L2 and simplifies data sharing and reading between L1 and L2. Considering the limited interoperability of Ethereum rollups, this feature becomes even more significant. Moreover, Mina zkRollups and zkApp chains are not only interoperable with each other but can also perform state verification across other chains using state proof bridging. This allows Mina zkRollups to interact with other EVM-based chains and IBC-connected chains.</p><p>Beyond providing greater composability and interoperability to zkRollups, Mina’s modular structure offers advantages in other areas as well. Currently, zkRollups rely on centralized provers run by projects to generate proofs. In Mina, however, the generation, distribution, and verification of recursive SNARK proofs are facilitated by a decentralized proof marketplace called Snarketplace. Snarketplace enables individuals with sufficient computational resources to generate SNARK proofs, alleviating the network’s computational burden and activating decentralized proof production. This system incentivizes proof producers, reduces proof production costs, and increases efficiency.</p><p>What if a similar mechanism were implemented for zkRollups built on Mina? A customized Snarketplace could decentralize the proof production mechanism, giving Mina zkRollups a significant advantage over other rollup projects. Such a scenario would provide proof producers with more revenue opportunities, encourage more producers to join the marketplace, and further reduce costs. Snarketplace could offer rollup developers a ready-made marketplace instead of requiring them to build their own SNARK infrastructure, accelerating development and lowering costs. However, expanding Snarketplace to zkRollups could present challenges. For instance, increased demand would require an expansion in production capacity, necessitating the participation of new producers. Additionally, zkRollups might have specific design needs, requiring Snarketplace to adapt its infrastructure, which could introduce complexity.</p><p>Currently, Mina does not have this capability. Instead, it is exploring options like Aligned Layer, a proof aggregation layer that offers broader and more efficient alternatives on L1. This Aligned Layer concept could also be applied to zkRollups built on Mina.</p><p>With its innovative infrastructure and recursive SNARK-based proof mechanism, Mina provides a robust foundation not only for L1 but also for zkRollups and other Layer-2 solutions. Its isomorphic structure, decentralized proof production mechanisms like Snarketplace, and prioritization of interoperability make Mina a uniquely favorable development environment for zkRollups. However, for Mina to fully realize this potential, it must expand its infrastructure and develop solutions tailored to the specific needs of zkRollups. These efforts will not only strengthen Mina’s ecosystem but also position it as a leader in decentralization and scalability. Now, let’s explore zkRollup projects like Anomix Network and Zeko built on Mina to see how this potential is being realized.</p><h3>Anomix Network</h3><p>Anomix Network, formerly known as ‘Shadow’ during the zkApp Builders Program 1, is a zk-zkRollup Layer-2 solution built on the Mina blockchain, emphasizing privacy and scalability. It has evolved alongside the advancements in SnarkyJS.</p><p>Within the Anomix Network, users can create a new L2 account derived from their L1 account. This design ensures that the L2 account cannot be linked back to the L1 account by anyone other than the owner, providing enhanced privacy for on-chain operations. Users benefit from anonymous and private fund operations, including depositing funds from L1, withdrawing funds to L1, and transferring funds within L2. All sensitive operations are processed locally on the user’s device using zero-knowledge proofs, and status information is securely stored within the L2 network under strong encryption.</p><p>As a Layer-2 solution, Anomix batches L2 transactions, resulting in lower transaction costs. Its architecture also facilitates the development of private decentralized finance applications, non-fungible tokens, decentralized identity systems, and more.</p><p>In summary, Anomix Network leverages zk-zkRollup technology on the Mina blockchain to provide a scalable and privacy-focused Layer-2 solution, enabling users to conduct confidential transactions and develop private decentralized applications.</p><h3>Zeko</h3><p>Zeko, unlike Anomix Network, is not privacy-focused. Instead, it offers a solution aimed at more general use cases. It seeks to enhance scalability and create reusable zkRollup infrastructure. The whitepaper for Zeko, a joint effort between the Milkomeda and Mina teams, was published on September 13, 2023.</p><p>Zeko aims to improve user experience by providing faster blocks at the L2 level. It also strives to increase rollup diversity and boost the throughput of Mina L1 through a reusable rollup infrastructure similar to the OP Stack. In terms of its working mechanism, Zeko operates in a structure similar to traditional rollups. The key difference is that while traditional rollups send transaction data and related proofs to L1, Zeko sends the data to a data availability layer. This is due to Mina L1’s limited on-chain storage capacity. In its initial design, Zeko plans to establish an Ethermint-based data availability layer. For the future, more general-purpose data availability layers like Celestia are being explored.</p><p>The protocol offers a fully isomorphic Layer 2 (L2) environment for the Mina ecosystem, ensuring compatibility with existing Mina infrastructure and tools. This design allows developers to write and deploy applications in familiar programming languages, facilitating seamless integration and rapid onboarding. Zeko’s architecture supports trustless zk-bridging, enabling proofs verified on Zeko to be consumed by Ethereum Virtual Machine (EVM) compatible chains. This feature enhances interoperability across different blockchain ecosystems, allowing developers to bridge their applications and assets seamlessly.</p><p>In April 2024, Zeko Labs, the team behind the protocol, announced the successful completion of a $3 million pre-seed funding round. This investment, led by UOB Venture Management, Signum Capital, and YBB Capital, aims to accelerate the development and deployment of the Zeko Protocol.</p><p>Zeko stands as a versatile and powerful platform that enables developers to harness the full potential of zero-knowledge technology within the Mina ecosystem, facilitating the development of scalable, privacy-focused applications across various industries.</p><h3>Conclusion</h3><p>Mina Protocol’s unique infrastructure and innovative approach position it as a leading environment for zkRollups and Layer-2 solutions. By integrating recursive SNARK proofs, enabling isomorphic designs, and fostering decentralized proof production through mechanisms like Snarketplace, Mina offers a scalable, interoperable, and developer-friendly ecosystem. These features not only enhance performance but also provide a foundation for seamless integration across chains.</p><p>Projects like Anomix Network and Zeko exemplify how Mina’s capabilities can be leveraged for diverse use cases. While Anomix prioritizes privacy and confidentiality, Zeko focuses on scalability and reusable zkRollup infrastructure, catering to a broader range of applications. Together, these projects highlight the flexibility and potential of Mina’s ecosystem, showcasing its ability to meet both specialized and general-purpose needs.</p><p>As zkRollups continue to evolve and expand, Mina’s emphasis on decentralization, interoperability, and composability sets it apart. By supporting innovative projects and addressing the specific challenges of zkRollup development, Mina is poised to lead the way in creating scalable and efficient blockchain solutions. With such a robust foundation, Mina is not only addressing the current needs of blockchain technology but also paving the path for the future of decentralized applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a9ffdf98aac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comparison of Data Availability Solutions]]></title>
            <link>https://0xemre.medium.com/comparison-of-data-availability-solutions-ec89dbeb222e?source=rss-40274eb6cd8f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec89dbeb222e</guid>
            <dc:creator><![CDATA[0xemre]]></dc:creator>
            <pubDate>Mon, 28 Oct 2024 13:12:13 GMT</pubDate>
            <atom:updated>2024-11-02T11:59:20.168Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G9MbM8fWZWBiwJcUKTL24A.png" /></figure><h3>Introduction</h3><p>Data availability on a blockchain means that all participants in the network can easily access and verify block data. The ability for everyone to access and verify block data directly impacts the security, decentralization, and integrity of the blockchain. But why is it important for block data to be verifiable by everyone?</p><p>In blockchains, full nodes download all past and future block data, verify its validity, and synchronize with other full nodes to contribute to the network’s integrity and decentralization. If not everyone can easily run a full node and access and verify data, the decentralization of that blockchain would be compromised. This is directly related to the requirements for running a full node. The fewer the requirements for running a full node in a network, the easier it is to participate and verify the availability of data. If running a full node requires high resources, we might end up relying on third parties when we need the data. But how can we trust the accuracy of the data provided? How can we know if the data is correct? These questions underscore the importance of the “don’t trust, verify” approach.</p><p>Another important concept is block space. In traditional blockchains, the maximum amount of data that can fit into a block is limited. For example, in Bitcoin, blocks are capped at 1 MB (4 MB for SegWit blocks). This limitation restricts the number of transactions that can fit into a block. When transaction volumes are high, competition for block space increases, and the block space might not meet the demand. As a result, the price for block space rises, leading to higher transaction fees and a poorer user experience. Data availability solutions aim to solve this issue by providing block space at a lower cost.</p><p>After Ethereum shifted to a rollup-centric roadmap, rollup solutions began exploring alternative data availability layers. Before Ethereum’s EIP-4844 upgrade, the majority of costs for rollups came from CALL DATA operations. Due to the expensive block space on Ethereum, rollup projects were constantly paying high fees. This situation accelerated the development of alternative data availability layers, such as Celestia, Avail, and EigenDA. Ethereum has attempted to address this issue by introducing data spaces called blobs which are specific to rollups.</p><h3>Data Availability Solutions</h3><p>Data availability solutions can be categorized into two main types: on-chain and off-chain. In some cases, such as gaming-focused solutions, it might be more advantageous to store data off-chain, while in other situations, keeping data on-chain could be crucial.</p><p>Storing data off-chain offers benefits such as reduced costs, better scalability, and faster performance, but it comes with trade-offs in decentralization and security. Off-chain data solutions may introduce risks by relying on centralized entities or third-party systems, which can compromise trust and security.</p><p>On the other hand, on-chain solutions ensure higher levels of decentralization, transparency, and security but typically lack in scalability and troughput. Moreover, on-chain solutions tend to be more expensive due to the limited block space and higher demand for on-chain storage.</p><p>Projects must carefully assess their requirements and choose the most suitable solution. Balancing between the cost, scalability, security, and decentralization is key to selecting the right data availability strategy for their needs.</p><h4>Data Availability Committees (DACs)</h4><p>The Data Availability Committee (DAC) consists of a set of actors whose number varies depending on the project’s approach. Committee members store the data off-chain, in local or cloud-based storage solutions, ensuring that the data remains available and accessible at all times. DACs comprise entities with real-world reputations, therefore, committee members can be held accountable by the community for their actions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*X3c8Xhw6YNnq3ThO" /></figure><p>Since the data is not stored directly on-chain, the costs are much lower compared to on-chain solutions. They offer high scalability and performance. However, due to the reliance on the honest majority assumption and the absence of staked funds or slashing mechanisms in the case of a data availability attack, their security is lower. They are ideal for applications that require low security, such as gaming, metaverse, NFTs, media storage, and other similar use cases. Variants of optimistic and ZK rollups, such as validium and optimium, also use data availability committees when their data is stored off the L1. Currently, there are 15 optimium and 14 validium solutions using DACs in the market.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BrZ3mimcnT_Hr_c6" /></figure><h4>Data Availability Layers</h4><p><strong>Ethereum</strong></p><p>As previously mentioned, before EIP-4844, the majority of the costs for Ethereum rollups came from CALL DATA operations. The limitation of Ethereum’s block space to 30 million gas, which translates to a maximum of around 1.8 MB per block, was increasing the data availability costs and impacting scalability for rollups. On March 13, 2024, Ethereum aimed to solve this issue by introducing the blob-carrying transaction type with EIP-4844 aka proto-danksharding.</p><p>Blobs, which are data fields specifically designed for rollups, indirectly expanded Ethereum blocks. Since each blob carries 128 KB of data, and each block can contain up to 16 blobs, blocks gained an additional approximate 2 MB of data space. Blobs are carried within the consensus layer instead of the execution layer and are not directly readable by the EVM. This also means that blobs are not stored directly within the transactions. Instead, they are represented by a versioned hash of the blob’s KZG commitment hash. This design choice significantly enhances gas efficiency by segregating the blob data from the main execution layer, reducing the high gas costs associated with permanent data storage. One of the reasons for using KZG commitments in blobs is to enable Data Availability Sampling (DAS) in the future, particularly with full danksharding.</p><p>You might think adding 2 MB to blocks may put extra strain on nodes regarding disk space, but to prevent this, Ethereum periodically deletes blob data (every 2–3 weeks). It is not mandatory to store all historical data to participate in consensus. The motivation here is that the purpose of Ethereum’s consensus protocol is not to store all historical data forever. However, as long as there is at least one honest actor who keeps all historical data, the data remains secure.</p><p><strong>Lifecycle of a Blob</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CURLlPnPmiaN9b4U" /></figure><ol><li><strong>Creation:</strong> Blobs are created during the transaction process and attached to blocks.</li><li><strong>Storage:</strong> Blobs are temporarily stored in beacon chain nodes, ensuring consensus nodes fully download them.</li><li><strong>Usage:</strong> Layer 2 rollups utilize these blobs to store and retrieve data, enabling efficient off-chain processing.</li><li><strong>Pruning:</strong> After a certain period, blobs are pruned to maintain network efficiency and reduce long-term storage requirements.</li></ol><p><strong>Impact of Blobs</strong></p><p>After the DenCun upgrade on March 13, 2024, the average data compression cost dropped from the $300–700 range to the $3–7 range. The upgrade resulted in up to a 100x improvement in costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C_yJQfZImZQGihDJ" /></figure><p>Average gas fees also fell from levels reaching as high as $0.3 to as low as $0.01. While the average decrease was around 30x, some projects saw reductions of up to 100x.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rz-fBzzSHWhhgVVq" /></figure><p><strong>Celestia</strong></p><p>Celestia is a modular data availability (DA) layer designed to address the data availability and consensus needs of blockchains.</p><p>Celestia is a PoS blockchain powered by the Cosmos SDK. It uses the Tendermint consensus mechanism, familiar from Cosmos. Tendermint relies on the assumption that ⅔ of the validators are honest and provides single-slot finality. Celestia’s block space is expandable, the average block time is 15 seconds, and the time to finality is 12 seconds. In Celestia, light nodes store data for 30 days by default. After 30 days, the data is pruned. However, archive nodes do not prune the data after 30 days and continue to store data from genesis onward. Archive nodes have no economic incentive to take this action. Instead, block explorers, indexers, and projects have their own motivations to store all the data.</p><p>Two key features stand out in Celestia’s data availability approach: Data Availability Sampling (DAS) and Namespaced Merkle Trees (NMTs). Data availability sampling is a mechanism for light nodes to verify data availability without having to download all data for a block. To enable DAS, Celestia uses a 2-dimensional Reed-Solomon encoding scheme. Each block’s data is split into 𝑘 × 𝑘 shares, arranged in a 𝑘 × 𝑘 matrix, and extended with parity data into a 2𝑘×2𝑘 extended matrix by applying Reed-Solomon encoding multiple times. Light nodes in Celestia randomly sample the 2𝑘×2𝑘 data shares. If they receive valid responses for each sampling query, there’s a high probability that the entire block’s data is available. To mitigate potential issues with incorrectly extended data, Celestia implements fraud proofs. These allow light nodes to reject blocks with invalid extended data by reconstructing the encoding and verifying any discrepancies.</p><p>NMTs, on the other hand, provide a namespace for the block data of rollups and applications that use Celestia’s data availability service. This ensures that rollups and applications download only the data relevant to them, improving efficiency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4M9JpvhYOwBLQhhI" /></figure><p><strong>Avail</strong></p><p>Avail is a data availability layer built to meet the needs of rollups, trust-minimized applications, and sovereign rollups.</p><p>Avail is an NPoS blockchain powered by the Polkadot SDK. It relies on a hybrid consensus model based on Polkadot’s BABE and GRANDPA. BABE produces blocks with probabilistic finality, while GRANDPA is a finality gadget that achieves finality through consecutive rounds of voting by the validator nodes. GRANDPA relies on the assumption that ⅔ of the validators are honest. Avail’s block space is expandable, the average block time is 20 seconds, and the time to finality is also 20 seconds. Currently, light nodes in Avail store all historical data, but a new proposal is under discussion that suggests periodically deleting old data. Even if Avail decides to periodically delete data, rollup projects, data researchers, and other actors have their own motivations to run archive nodes and retain all historical data.</p><p>Avail uses an application ID (AppID) approach similar to Celestia’s Namespaced Merkle Trees (NMTs). This approach allows applications and rollups to fetch only the data relevant to them, marked with AppIDs, reducing the need for fetching extra data. This enables block sizes to be increased without causing applications and rollups to pull unnecessary data.</p><p>Avail uses erasure coding to add redundancy to the data, enhancing its reliability and integrity. Blocks are divided into n original chunks and extended to 2n, allowing for reconstruction from any n out of 2n chunks. Avail’s DA layer applies KZG polynomial commitments to each block, which act as cryptographic proofs of the data’s integrity, ensuring that the stored data is accurate and tamper-proof. Over ⅔ of the validators must be honest to reach consensus, ensuring robust security for the erasure-coded data. Light clients within Avail’s DA ecosystem use Data Availability Sampling (DAS) to verify block data integrity. They check KZG polynomial openings against the commitments in the block header for each sampled cell, allowing them to independently and instantly verify data availability.</p><p><strong>EigenDA</strong></p><p>EigenDA, unlike Celestia and Avail, is not a blockchain. It consists of a set of smart contracts on Ethereum and is secured by the crypto-economic guarantees of EigenLayer’s restaking mechanism. The idea is to create a network of operators by restaking ETH locked on Ethereum, sharing part of Ethereum’s security through inherited crypto-economic guarantees, and offering services for various use cases through the ecosystems built on top. The data availability layer, EigenDA, is one of these services.</p><p>EigenDA consists of three main actors: Operator, Disperser, and Retriever. Operators are third parties running the EigenDA node software with delegated stake. The Disperser is a service provided by EigenLabs and is responsible for interfacing between EigenDA clients, operators, and contracts. The Retriever is a service that queries EigenDA operators for blob chunks, verifies their correctness, and reconstructs the original blob for users. EigenDA clients, such as rollups, send transactions as blobs to the disperser service. The disperser divides the blobs into chunks, applies erasure coding, generates KZG commitments and proofs for each chunk, and distributes the data to the operators. Operators store the data and send signatures back to the disperser to confirm the storage. The disperser aggregates the signatures and sends them to the Ethereum-based EigenDA manager smart contract, which records them on-chain. EigenDA manager, with the help of the EigenDA registry contract, verifies the signatures and stores the results on-chain. This way, the blobs are stored off-chain and registered on-chain. EigenDA clients can use the blob ID with the rollup inbox smart contract. The inbox contract can check if a storage certificate exists via the EigenDA manager contract. If the certificate exists, the blob ID is approved; otherwise, it is not, thus ensuring data availability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TyLbKQP1V-QJJ7dY" /></figure><p>EigenDA operators act like a data availability committee (DAC) in terms of their function but differ from traditional DACs due to broader participation and the implementation of reward and slashing mechanisms. In traditional DACs, the number of participants and thresholds may be unknown, for instance, Arbitrum Nova has six participants, and five signatures are enough to confirm data availability. As of October 20, 2024, EigenDA has 221 operators who are rewarded in ETH on a weekly basis for their services. Since operators risk slashing if they behave maliciously, the system is secured through crypto-economic guarantees.</p><p>There is no consensus mechanism in EigenDA, and there are no blocks. Instead, it relies on Ethereum’s limits. For example, transactions are finalized within Ethereum’s finality time, which takes 64–95 slots, equivalent to 12–15 minutes. Unlike Celestia and Avail, Data Availability Sampling (DAS) is not implemented. Currently, EigenDA supports up to 15 MB of data per second, with the potential to scale this up to 1 GB per second in the future.</p><p><strong>Near DA</strong></p><p>NEAR blockchain provides data availability services for rollups and other modular blockchains.</p><p>NEAR DA leverages the consensus mechanism called Nightshade for data availability and utilizes the sharding design implemented at the protocol level. NEAR’s sharding design divides the blockchain into four parallel shards, which operate like mini blockchains. Each shard produces a small portion of a block, known as a chunk. These chunks are combined to form complete blocks. To ensure the accessibility of each data piece, erasure coding is applied to the chunks, which are then split into smaller parts. These smaller parts are distributed to block producers as OnePart messages. When a block producer receives a main chain block, it first checks if it has all the OnePart messages for each chunk in the block. Once all the OnePart messages are received, the block producer fetches the remaining parts from its peers and reconstructs the chunks for which it holds the state. In this way, data availability is ensured.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/0*AnC-v0QjKNQrNedX" /></figure><p>In NEAR DA, each shard can process 4 MB of data per second, and with 4 shards, NEAR DA can process 16 MB of data per second. Like Celestia, Avail, and Ethereum, NEAR DA does not guarantee that data will be available indefinitely. Instead, it guarantees that data will be retained for at least 3 NEAR epochs, which is approximately 36 hours. In practice, data is retained for 5 NEAR epochs, which is around 2.5 days. Archive nodes, however, can store all historical data, and they may have their own motivations for doing so.</p><p><strong>The Fisherman’s Problem</strong></p><p>Data availability layers are relatively new technologies and may be vulnerable to certain attack vectors. One of the unresolved fundamental issues in this context is the Fisherman problem.</p><p>In the Fisherman problem, consider a scenario where an actor, in this case a fisherman, requests data from a node. Upon receiving the data, the actor realizes that some of the data is missing and alerts other nodes in the network. The node storing the data immediately publishes the missing data, and when the other nodes check, they find that the data is complete. This creates a dilemma: Was the node deliberately withholding the data, or was the honest actor raising a false alarm?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*fL9CCfGFYiBPhlyZ" /></figure><p>The Fisherman problem can also occur in different scenarios:</p><ul><li><strong>The honest actor receives a reward for detecting missing data, even if the node withholding the data immediately publishes it:</strong> This could lead to collaboration between the honest actor and the node to generate false alarms and earn rewards.</li><li><strong>The honest actor does not receive a reward for detecting blocks with missing data:</strong> This creates cost-free denial-of-service (DoS) attacks, as other nodes must download all the data, eliminating the benefits of light clients or sharding.</li><li><strong>The honest actor incurs a cost or negative reward for detecting blocks with missing data:</strong> The honest actor might prefer not to detect blocks with missing data, giving nodes more freedom to withhold data.</li></ul><h3>Comparison of DA Layers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CF2H4N3y0Y2Sew406WXIjA.png" /></figure><h4>Consensus Mechanisms</h4><p>The consensus mechanism is crucial in blockchain technology as it allows all participants to agree on the state of the blockchain and ensures that transactions reach finality. It establishes a protocol for validating and confirming transactions, which prevents double-spending and maintains the integrity of the distributed ledger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jpAgkv3bAZ-SAfGM" /></figure><p>Ethereum’s consensus design consists of a hybrid system made up of LMD GHOST and Casper FFG. LMD GHOST operates as the block production engine in Ethereum and provides probabilistic finality. Casper FFG, on the other hand, is a finality gadget that ensures finality guarantees.</p><p>Celestia utilizes Tendermint, a significant component of the Cosmos SDK, for consensus. Tendermint aims to achieve single-slot finality, ensuring that blocks produced in Celestia within 12 seconds are finalized immediately as they are created.</p><p>Avail adopts a hybrid approach similar to that of Ethereum, utilizing the BABE and GRANDPA consensus mechanisms from the Polkadot SDK. BABE functions as the block production engine and coordinates with validators to determine new block producers.</p><p>EigenDA does not operate with a traditional consensus mechanism. Instead, EigenDA operators behave like a Data Availability Committee (DAC) and sign certificates confirming the availability of data. However, there is no way for end users and applications to independently verify this externally.</p><p>Near DA employs the NightShade consensus mechanism, which aims for blocks to be finalized within 1–2 seconds after they are produced.</p><h4>Decentralization</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rUtu1aVYKyFZVNoa" /></figure><p>Ethereum is considered the gold standard in the industry for decentralization. Its consensus design allows for a high number of validators, enabling it to support over 1 million validators. This makes it the most decentralized among the existing data availability layers.</p><p>Celestia’s consensus mechanism permits around 100–200 validators. Currently, there are 100 validators in Celestia, and this limited maximum validator count presents certain constraints regarding decentralization.</p><p>Avail’s consensus mechanism can accommodate approximately 1,000 validators. As of now, Avail has 128 validators, which, while not exceptionally high, is potentially better than Celestia in terms of decentralization.</p><p>EigenDA does not have a consensus mechanism. The number of operators stands at 220, and this high count is beneficial as it increases the crypto-economic security of the system.</p><p>In Near DA, there are currently 233 validators. Although the exact maximum number of validators allowed by the consensus is not definitively known, it is estimated to be around 1,000. Given its potential and current validator count, Near is in a favorable position.</p><h4>Proof Type</h4><p>Proofs are an effective way to verify the availability of data. In existing systems, both validity proofs and fraud proofs are actively utilized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F4KQB4QwI8gomwhP" /></figure><p>Ethereum, Avail, and EigenDA utilize a type of validity proof known as KZG commitments. These proofs are detailed in previous sections. KZG commitments provide high efficiency and speed when working with large datasets. They generate commitments based on the values at certain points of a polynomial representation of the data.</p><p>Celestia is the only data availability layer that employs fraud proofs in terms of evidence. The fraud proof approach is optimistic, assuming that data is present and accessible unless proven otherwise.</p><p>Near DA adopts a sharding scaling approach and currently does not have an active proof type in its design. However, it has been indicated that KZG commitments will be implemented in the future.</p><h4>Data Availability Sampling</h4><p>Data availability sampling (DAS) allows validators to verify the availability of data without needing to download the entire dataset. This means that light nodes can check the availability of all data by only downloading a small portion. This approach ensures data availability guarantees without increasing node requirements, allowing for data verification even on mobile devices or through a web browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j7eeXj5J_jQKPyir" /></figure><p>In Celestia and Avail, data availability sampling (DAS) is included by default. In both systems, light nodes can perform DAS, which allows end users to independently verify data availability without downloading the entire block.</p><p>On the other hand, Ethereum, EigenDA, and Near DA do not currently have DAS implemented. However, Ethereum plans to activate DAS with full danksharding in the future. Similarly, there have been discussions suggesting that EigenDA might support DAS in the future as well.</p><h4>Block Time &amp; Block Space &amp; Time to Finality</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lajnRQuyK8e2xzQYANLn7g.png" /></figure><p>Ethereum blocks are produced every 12 seconds, and due to its monolithic design, block space is limited. Although the block space can be expanded through social consensus decisions, this is not preferred as it can impose different loads on the network. The finalization time for blocks is approximately between 64 to 95 slots, which translates to around 12 to 15 minutes.</p><p>In contrast, Celestia produces blocks every 12 seconds and achieves finality as they are created due to its consensus design. Its modular architecture allows for expandable block space, with current blocks providing around 2 MB of data space. It is believed that block space could potentially reach up to 100 MB per block.</p><p>Avail’s blocks are produced and finalized in 20 seconds. Similar to Celestia, its modular design allows for the expansion of blocks. Currently, the blocks provide 2 MB of data space, with the capacity potentially increasing to 128 MB per block.</p><p>EigenDA does not have traditional blocks. It provides a data throughput of 15 MB per second, with plans to increase this to up to 1 GB per second. Finality for EigenDA is subject to Ethereum’s finality conditions, taking approximately 12 to 15 minutes.</p><p>Near DA produces blocks in 1.1 seconds, finalizing them within 1 to 2 seconds after production. Each shard in Near DA processes 4 MB of data per second, with a total of 4 shards, resulting in a throughput of 16 MB per second. It is assumed that the parameters of the shard design can be adjusted to change this figure. Due to its monolithic design, block space cannot be expanded easily, although it could still be considered for expansion based on the implications of such changes. The finality for blocks occurs within an average range of 1 to 3 seconds.</p><h3>Conclusion</h3><p>In conclusion, the analysis of various blockchain platforms highlights significant differences in their consensus mechanisms, data availability solutions, and overall architecture. Ethereum stands as a benchmark in decentralization, enabling a large number of validators while implementing a hybrid consensus model that balances performance and security. Celestia’s innovative modular design and use of Tendermint’s consensus allows for efficient block production and finality, making it a promising option for scalable applications.</p><p>Avail’s approach mirrors Ethereum’s but offers unique advantages with its data availability mechanisms and a slightly larger validator capacity, contributing to improved decentralization. On the other hand, EigenDA’s lack of a conventional consensus mechanism raises interesting questions about the future of data availability and the trade-offs of relying on operators for data certification.</p><p>Near DA showcases impressive performance with rapid block production and finality, though its monolithic design presents challenges for scalability. The inclusion of Data Availability Sampling in Celestia and Avail marks a crucial advancement in blockchain usability, allowing lightweight nodes to participate in network verification without the overhead of full data downloads.</p><p>Overall, each platform presents distinct advantages and challenges that cater to different use cases within the blockchain ecosystem. As these technologies evolve, ongoing research and development will be vital in addressing the limitations and enhancing the capabilities of blockchain networks. Future implementations, particularly regarding DAS in Ethereum and EigenDA, will be instrumental in shaping the landscape of blockchain data availability and consensus mechanisms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec89dbeb222e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Ultimate Layer-2 Guide: From L1s to L2s]]></title>
            <link>https://0xemre.medium.com/the-ultimate-layer-2-guide-from-l1s-to-l2s-131197694a96?source=rss-40274eb6cd8f------2</link>
            <guid isPermaLink="false">https://medium.com/p/131197694a96</guid>
            <category><![CDATA[layer-2]]></category>
            <category><![CDATA[scaling]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[rollup]]></category>
            <dc:creator><![CDATA[0xemre]]></dc:creator>
            <pubDate>Sat, 06 Apr 2024 14:53:52 GMT</pubDate>
            <atom:updated>2024-04-20T12:07:00.469Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>TL;DR</em></h3><blockquote><em>Layer-1 blockchains have scalability issues, high fees, and slow confirmation times. We need solutions that solve scalability issues.</em></blockquote><blockquote><em>Plasma and state-channels are not a general solution we want. They lack capabilities such as running EVM and complex DeFi transactions.</em></blockquote><blockquote><em>Ethereum shifted from sharding to a rollup-centric roadmap where rollups take on the execution load of Ethereum.</em></blockquote><blockquote><em>Rollups and hybrid solutions are emerging solutions that solve scalability issues while inheriting the base layer’s security. They have low transaction fees, high throughput, and security.</em></blockquote><h3>Introduction</h3><p>In this article, we will begin by exploring the architecture, key components, and limitations of Layer-1 blockchains. Following that, we will discuss what Layer-2 solutions are, including outdated L2 solutions like plasma and state channels, and focus on the more promising rollup solutions. We will also cover Ethereum’s shift towards a rollup-centric roadmap and the implications of EIP-4844. Furthermore, we will delve into the details of rollups and hybrid solutions, examining their architecture and transaction cycles. Finally, we will provide a summary of these topics in the conclusion section.</p><h3>Layer-1 Blockchains</h3><p>Layer-1 blockchains are where data availability, settlement, execution, and consensus mechanisms are in one blockchain. These blockchains operate independently without the need for another underlying network and are called monolithic blockchains because of their architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QaVDOMOoyh35oS2LFERSlw.png" /><figcaption>Comparison Monolithic vs Modular Stack</figcaption></figure><p>Bitcoin and Ethereum can be given as examples of monolithic chains, where all components are in a single chain. Unlike monolithic chains, the components of modular chains can be customized. For instance, a modular chain can use a different chain for data availability and consensus, while using another chain for settlement. Due to the flexibility that specialization provides, there are many possibilities in which that stack can be arranged.</p><h4>Understanding Key Components</h4><ul><li><strong>Settlement:</strong> In a blockchain, settlement refers to the finalization of transactions, ensuring that once a transaction is completed, it is irreversible and recorded permanently on the blockchain.</li><li><strong>Data Availability:</strong> Data availability in blockchain pertains to the ability of all network participants to access and verify the full set of transaction data, which is crucial for maintaining transparency and security.</li><li><strong>Execution:</strong> Execution in the blockchain context means the process of carrying out the instructions of smart contracts or transactions according to the coded logic, resulting in state changes on the blockchain.</li><li><strong>Consensus:</strong> Consensus in blockchain is the mechanism by which network participants agree on the validity of transactions, ensuring a single, consistent version of the blockchain is maintained and securing the network against fraudulent transactions.</li></ul><h3>Limitations of Layer-1s</h3><p>The primary challenge facing Ethereum and other L1 chains is scalability. Scalability refers to the ability of a network to efficiently manage an increasing volume of traffic. In blockchains, transaction data are stored in blocks, the size and generation time of which can vary significantly between different blockchains. For Ethereum and some other L1 chains, the size of blocks is fixed, and the time it takes for blocks to be produced is relatively predictable. This sets a cap on the number of transactions that can be included in a single block, thereby limiting the networks’ transactions per second (TPS). For instance, Bitcoin can process up to 7 transactions per second.</p><p>Imagine transactions are people and blocks are buses in the blockchain. The bus can carry a limited number of people at once, for example, 10 people per bus. If the capacity of the bus is low and the bus is slow, people have to wait new bus or pay more for ticket prices to get on the bus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3qopezB0ZiyfdX8ZBwBzOA.png" /><figcaption>Analogy Between Block and Buses</figcaption></figure><p>There is only one reality for the driver of the bus, to earn more money. Let the bus have a capacity of 10 people, the 11th person comes and says I want to get on the bus. The driver looks at the lowest ticket price and says that the cheapest person on this bus paid $10 and If you pay me $11, I will throw that guy away and pick you up. That’s why there is a competition between people who get on the first bus and do not want to wait. Could using a larger bus, thereby allowing more people to board, solve this problem? Although the answer may be yes in the short term, it is no in the long term. Here is why.</p><p>Full nodes are devices that maintain a complete record of all transactions that have occurred on the blockchain since its inception. Imagine that they are traffic cameras that record buses and people. When a new block is mined, full nodes download the block’s data and synchronize with other nodes across the network. Some projects attempt to increase the TPS and speed of transaction confirmations by increasing the size of blocks or accelerating the rate at which blocks are produced. However, these solutions may complicate the synchronization process for devices and lead to an exponential increase in the amount of data required to set up a full node. The substantial growth in data volume complicates the establishment of full nodes. Additionally, difficulties in node synchronization can cause nodes to fall out of the network. Increasing challenges in setting up full nodes could harm decentralization, as greater scalability will reduce decentralization and security. This dilemma is known as the “Blockchain Trilemma.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iPKqgu578iZSN0oI3QW38Q.png" /><figcaption>Blockchain Trilemma</figcaption></figure><p>Currently, Ethereum and other L1 networks are characterized by low TPS, high transaction fees, and slow network confirmations, making them less user-friendly. To scale without compromising on decentralization and security, Ethereum and other L1 chains have turned to L2 solutions.</p><h3>What is Layer-2?</h3><p>Layer-2 or L2 is a scalability solution that executes transactions off-chain and publishes transaction data and If exists proof to the L1 network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oEk_EtKlOAa77HcRZ8jatw.png" /><figcaption>Types of Layer-2s</figcaption></figure><p>Ethereum and Bitcoin have specifically turned to Layer-2 solutions to increase scalability. The majority of these developments have progressed on Ethereum. We can categorize these solutions as plasma, state channels, rollups, and hybrid solutions.</p><h4>Plasma</h4><p>Plasma consists of chains referred to as child chains, which are smaller versions of the Ethereum mainnet. Initially, these chains were referred to as shadow chains, but later they took on the name child chains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3HHPV9pC5TgJCq9fCovTFA.png" /><figcaption>Plasma Architecture</figcaption></figure><p>When we consider the main network at the top, an infinite number of child chains can be added underneath the main network. In fact, we can add as many child chains under the child chains as we want. Child chains send the data of the transactions they perform on their own chains to the parent chain, and ultimately, the data reaches the Ethereum mainnet. All sent data is assumed correct due to the system’s structure. When each data group is sent to a parent chain, a 7-day challenge period begins. During this period, if someone believes the data is incorrect or faulty, they can publish a fraud-proof to contest the data. For this reason, there is a 7-day waiting period for withdrawals in plasma solutions.</p><p>As previously mentioned by Vitalik Buterin, the technology used by the plasma solution is very suitable for the unique structure of NFTs, offering high transactions per second and low transaction fees. However, like every solution, it has some disadvantages.</p><p>Initially, plasma was thought to help solve Ethereum’s scalability problem but later fell out of favor due to its inability to run EVM, only allowing simple transactions, mass exit problem, long withdrawal times, etc., and has been replaced by more current solutions.</p><h4>State-Channels</h4><p>State Channels are solutions that allow countless transactions off-chain using smart contracts and a deposit fund, where these numerous transactions cost only two on-chain transaction fees on the main network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xx_155MzXyYlyStTkIzxUA.png" /><figcaption>State-Channel Architecture</figcaption></figure><p>Initially, participants lock their funds in a multi-signature smart contract on the main network. This is used to denote the initial state. Subsequently, participants can perform countless cheap and fast transactions off-chain. The final state and balances are communicated to the main network through smart contracts. The state channel is closed once all participants have confirmed the final state.</p><p>Despite offering high transactions per second and low transaction fees, this solution has some disadvantages. These include the time and fund costs of creating a smart contract, the inability to run EVM, and the responsibility of monitoring the network. Participants also need to be predetermined, meaning it is not an open participation solution. The lack of open participation means that an external third party cannot join the channel without permission.</p><p>However, state channels are very suitable for payments, especially for subscriptions that require regular payments. The inability to run EVM and the lack of open participation prevent it from being a universal solution.</p><h4>Ethereum’s Rollup-centric Roadmap</h4><p>Initially, Ethereum planned to scale through Sharding, but in 2020, Vitalik proposed a rollup-centric roadmap, shifting Ethereum’s focus from Sharding to rollups.</p><p>With this roadmap, Ethereum delegated the execution load to rollup projects. The Ethereum infrastructure started to be planned according to the needs of rollups. For example, EIP-4844, aka proto-danksharding, was a proposal developed in this context. Part of EIP-4844 was implemented with the Dencun update, introducing a new data field as blobs specifically for carrying rollup data. The transaction fees for rollup projects dramatically decreased with the use of this new data field. This new data field is stored in the consensus layer and can not be readable by EVM. Remember our bus and people analogy. Rollups also trying to get on the bus like people. EIP-4844 says that let’s add a trailer to the buses and that trailer is specifically designed for rollups. So, rollups can get on the trailer of the bus without paying high fees and any competition between people and rollups. That’s why EIP-4844 reduced transaction fees for rollup projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MNr5KYyPUqsmBsvaDR-BiQ.png" /><figcaption>Analogy of EIP-4844</figcaption></figure><p>Ethereum continues to provide design flexibility and infrastructure support to rollup projects. Transferring the scaling issue to them contributes to making rollups scalable, secure, and decentralized chains within Ethereum’s security.</p><h3>Emerging Solution: Rollups</h3><p>The inadequacies and disadvantages of plasma and state channels have led to the emergence of rollups, which are a more general solution. Rollups work by executing transactions on a rollup chain and then publishing the data and proofs of these transactions to the Ethereum mainnet.</p><p>Remember our block-bus analogy. Unlike Layer-1s, rollup blocks are like metro instead of buses. So, rollups can carry more people cheaply and fast.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pe5PRt3dxdn57HreC-3A1A.png" /><figcaption>Analogy of rollups</figcaption></figure><p>There are two types of Rollups, zkRollups and optimistic rollups. Rollups consist of a series of smart contracts and an actor known as the sequencer. The most important smart contract for rollups is the bridge contract. To conduct transactions on L2, users must use the native bridge contract or third-party bridges. So, how does a transaction cycle occur in rollups?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ENnt21qeDRPbJ0jGr8CxoA.png" /><figcaption>Rollup Architecture</figcaption></figure><ul><li>Bob transfers his assets to the Rollup using either the native bridge or a third-party bridge.</li><li>Bob signs a transaction on the Rollup.</li><li>The transactions made by Bob and other users are placed in a waiting area called the mempool.</li><li>The actor known as the sequencer collects these transactions, orders them, and places them into blocks to execute the transactions.</li><li>The sequencer sends the transaction data and If exists proof to the L1 network.</li><li>The Rollup verifier contract on L1 verifies the proof, and the transactions are finalized.</li></ul><p>This cycle is applicable to both zkRollups and optimistic rollups. Both send transaction data and proofs to the L1 network and rely on Ethereum for consensus and settlement. Sending data to the L1 network means that the data is always available and accessible on L1, a concept known as data availability we learned before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fi-RRc0Qj20GHoG8oMmQuw.png" /></figure><p>However, data does not necessarily have to be stored on L1. L2 projects may choose to store their data externally, either through a committee they establish or in a data availability layer. For instance, if an optimistic rollup stores its data in an external solution, it is no longer called a Rollup but an optimium. The same applies to zkRollups; if their data is stored in an external solution, they are classified as validiums.</p><h4>Optimistic Rollups</h4><p>Due to their architecture, optimistic rollups are simpler solutions compared to zkRollups. They have EVM equivalence and are easier to develop on. They operate in the same manner as classic rollups, with the type of proof used being the differentiating factor. Optimistic rollups utilize fraud-proofs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bw1Z6Ztm63K7lZp99u_Rfg.png" /><figcaption>Optimistic Rollup Transaction Cycle</figcaption></figure><p>In optimistic rollups, transactions are still collected by a sequencer, ordered, and executed in blocks. The data of these transactions is compressed and published to the main network. Due to the structure of optimistic rollups, the transaction data published to the main network is considered correct unless contested. There is a 7-day waiting period to challenge the data. Anyone believing the data to be incorrect can publish a fraud-proof by calculating the result of the transaction data within this period. For this reason, withdrawals from a native bridge to the main network can take up to 7 days.</p><p>Examples of Optimistic Rollups include Arbitrum, Optimism, Base, and Blast.</p><h4>zkRollups</h4><p>zkRollups derive their name from zero-knowledge proofs, a method of proving the possession of knowledge without revealing the information itself. For example, in a conversation with a bank, you might be asked for certain letters of your mother’s maiden name. The bank can ask for different combinations of letters until they are convinced. Each time, your answers will be correct, but you won’t have disclosed the full information. Zero-knowledge proofs work similarly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cfwnBfrbNvEt3seRfmHi6Q.png" /><figcaption>zkRollup Transaction Cycle</figcaption></figure><p>In zkRollups, an actor called the sequencer collects transactions, orders them, and executes them within blocks. At this moment, the transactions have been soft-confirmed. Then, an actor known as the prover uses zero-knowledge technology to mathematically prove the correctness of the transactions through validity proof. This proof is sent to the verifier contract on the main network for confirmation. Simultaneously, the compressed data of the transactions or the state difference is also sent to the main network. So, the transactions reach their final confirmation.</p><p>Starknet, zkSync, Scroll and Linea are some of the zkRollups we know.</p><h4>Hybrid Solutions: Validiums and Optimiums</h4><p>As we talk before, rollups don’t have to use Ethereum for data availability. Rollup projects may choose to post their data to an external off-chain solution while relying on Ethereum for settlement and consensus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_tObmfarzU2dUozCO2r3cA.png" /><figcaption>Stack of Hybrid Solutions</figcaption></figure><p>If a zkRollup project chooses to post data to an external off-chain solution such as Celestia, Avail, or the Data Availability Committee (DAC), it’s no longer called zkRollup, it’s called validium. Here is how the validium transactions cycle occurs in the image below. Storing data off-chain reduces transaction fees while reaching high TPS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FQ1QMxXcFv2uxCH_RZ0yGQ.png" /><figcaption>Validium Transaction Cycle</figcaption></figure><p>Just like validium, If an optimistic rollup uses external off-chain for data storage, it is called optimium. Optimium solutions work just like optimistic rollups, with one difference. The transaction data is stored in an external off-chain solution, not on Ethereum. You can find how existing optimiums work in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rtT4Yu7obOKw3EYkHqwuow.png" /><figcaption>Optimium Transaction Cycle</figcaption></figure><h3>Conclusion</h3><p>Scalability is one of the biggest problems of current L1 networks. Especially, L2 solutions developed on the Ethereum mainnet aim to solve the scalability issue while targeting low transaction fees, decentralization, and high throughput.</p><p>Today, EIP-4844 has dramatically reduced the transaction fees for rollups. So much so that the transaction fee for many rollup solutions supporting EIP-4844 is below 1 cent. Thus, data storage is no longer the bottleneck for rollup projects. The next step for rollups will be to decentralize the sequencer and improve the block production mechanism.</p><p>Considering the importance Ethereum’s roadmap places on rollups, it is inevitable that rollups will become better and more efficient over time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=131197694a96" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[State’siz (Durumsuz) Geleceği Çizmek]]></title>
            <link>https://medium.com/starknet-t%C3%BCrkiye/durumsuz-stateless-gelece%C4%9Fi-%C3%A7izmek-c474b78d2e46?source=rss-40274eb6cd8f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c474b78d2e46</guid>
            <dc:creator><![CDATA[0xemre]]></dc:creator>
            <pubDate>Tue, 08 Aug 2023 13:17:30 GMT</pubDate>
            <atom:updated>2023-08-08T13:26:22.821Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9bHMGRmiN4X8f4j_.png" /></figure><p>Starknet’in Yeni İstemcisi Beerus’a Derin Bir Dalış</p><p>Özetle;</p><ul><li>Starknet için durum bilgisi olmayan bir istemci olan Beerus, Ethereum’un Helios hafif istemcisi (client) üzerine kurulmuştur ve durum bilgisi gerektirmez.</li><li>Starknet’in kriptografik kanıtları, Ethereum’da olmayan bir özellik olan güvenilir durum doğrulamasını mümkün kılar.</li><li>Beerus, güvenilmeyen verileri güvenilir verilere dönüştürerek Starknet depolama kanıtlarını Ethereum STARK kanıtlarına karşı doğrular.</li><li>Geliştiriciler güvenli, merkezi olmayan bir Starknet ekosistemine katkıda bulunarak Beerus’a katkıda bulunabilir.</li></ul><p>Ethereum’un durumu, tüm Ethereum hesaplarının, ilgili bakiyelerinin, dağıtılan akıllı sözleşmelerin ve ilgili depolamanın kapsamlı bir kaydıdır. Sürekli olarak yeni hesaplar oluşturuldukça ve yeni akıllı sözleşmeler dağıtıldıkça, Ethereum durumu süresiz olarak genişlemeye devam ediyor.</p><p>Çeşitli çözümler bu durum büyümesinin etkisini hafifletmeyi amaçlasa da, genel eğilim yukarı yönlü olmaya devam ediyor. Bu tasarım özelliği, Ethereum’un durum boyutunun sınırsız büyümesiyle sonuçlanır ve bunun çeşitli etkileri vardır. Ağ katılımcılarının, Ethereum’daki her şeyin doğru şekilde gerçekleştiğini doğrulayabilmesi çok önemlidir ve operatörler ve kullanıcılar olarak, geçerli bilgilerle etkileşimde bulunduğumuzdan emin olmalıyız.</p><p>Bu sorun ilk olarak 2017&#39;de fark edildi ve durumsuz Ethereum kavramı tanıtıldı. Gerçek anlamından farklı olarak, Ethereum bağlamında “durumsuz” terimi, durumun yokluğu anlamına gelmez. Ben Edginton’un belirttiği gibi, bu, Ethereum’un durumunu sağlama ve depolama sorumluluğunu ağ içindeki başka bir katılımcıya devrettiğiniz anlamına gelir. Basitçe söylemek gerekirse, durum bilgisi olmayan bir Ethereum istemcisi, sürdürmek istediği durumu seçer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6nn-dNRxm9u1HLeT.png" /></figure><h4>Hafif İstemciler ve Durumsuz İstemciler</h4><p>Hafif istemciler ve durum bilgisi olmayan istemciler, Ethereum’un artan durum boyutu sorununu çözmeyi amaçlarken, ikisi arasında ince bir fark vardır: hafif istemciler, Ethereum’un durumu hakkında bazı bilgilere ihtiyaç duyarken, Beerus gibi durum bilgisi olmayan istemciler buna ihtiyaç duymaz.</p><p>Beerus, Ethereum’un Helios hafif istemcisi kullanılarak oluşturulmuş Starknet için durum bilgisiz bir istemcidir.</p><p>Starknet’in kriptografik kanıtları kendi protokolüne entegre etmesi, hafif istemcilerin ve durum bilgisi olmayan istemcilerin öne çıkmasını sağlayan şeydir; bu, Ethereum’da bulunmayan bir özelliktir. Ağ katılımcılarının yalnızca fikir birliğini değil, durumun geçerliliğini de güvene dayalı bir şekilde doğrulamasını sağlar.</p><h4>Light Gelecek</h4><p>Hafif istemciler ve durumsuz istemciler, blok zincirleri dünyasında oyunun kurallarını değiştirme potansiyeline sahiptir.</p><ul><li><strong>Yeni bir altyapı paradigması:</strong> Düşük kaynak gereksinimleriyle hafif istemciler, web3 altyapısını merkezileştirmeye yardımcı olarak onu daha demokratik ve daha geniş bir katılımcı yelpazesine açık hale getirebilir.</li><li><strong>Trustless (Güvensiz) köprüler:</strong> Şu anda zincirler arası işlemlerin çoğu, varlıkların transferini kolaylaştırmak için çoklu imza cüzdanları gerektirir. Hafif istemciler kullanarak, merkezi aracılara dayanmayan trustless köprüler oluşturmak mümkün olabilir.</li><li><strong>Daha fazla güvenliğe sahip cüzdanlar:</strong> Şu anda çoğu kripto para cüzdanının düzgün çalışması için merkezi sunucularla iletişim kurması gerekir. Hafif istemciler kullanarak, tamamen merkezi olmayan bir şekilde çalışan ve kullanıcılara varlıkları üzerinde daha fazla kontrol ve güvenlik sağlayan cüzdanlar oluşturmak mümkün olacaktır.</li><li><strong>Daha iyi veya hiç olmayan Oracle’ler:</strong> Hafif istemcileri kriptografik kanıtlarla birleştirerek, harici verileri doğrulamanın güvenli bir yolu olabilir.</li><li><strong>IoT (Internet of Things):</strong> Hafif istemciler hafiftir, bu da onları sınırlı işlem gücü ve belleğe sahip cihazlar için mükemmel bir uyum haline getirir ve sonuç olarak IoT’ler ile yeni olasılıklar açar.</li><li><strong>Akıllı sözleşmeler olarak hafif istemciler:</strong> Başka bir zincirin hafif istemci protokolünü akıllı sözleşme olarak uygulayarak, daha güçlü güvenlik garantileriyle diğer zincirin durumuna karar verebilirsiniz.</li></ul><h4>Hafif İstemcinin Çalışma Şekli</h4><p>Hafif istemcilerin çalışma biçiminin basitleştirilmesi:</p><ol><li>Hafif istemci, her blok için Merkle ağacı kökünü içeren Ethereum blok başlıklarını indirir.</li><li>Hafif istemci, her bir bloğun tüm içeriğini indirmek zorunda kalmadan, Ethereum’daki konsensusunungeçerliliğini doğrulamak için bu blok başlıklarını kullanır. (Protokolde kriptografik kanıtların yerleşik olduğu Starknet’te, hafif istemciler durum ve consensus geçerliliğini doğrulayabilir.)</li><li>Bir kullanıcı bir akıllı sözleşmeyle işlem yapmak veya onunla etkileşim kurmak istediğinde, hafif istemci tam bir düğüme (Node) bir istek gönderir. Tam düğüm daha sonra işlemi tamamlamak için gereken bilgilerle yanıt verir.</li><li>Hafif istemci, tam düğüm tarafından döndürülen bilgilerin geçerli olduğundan emin olmak için indirmiş olduğu blok başlıklarını kullanır.</li><li>İşlem tamamlandıktan sonra, hafif istemci, ağa eklenen yeni blok başlıklarını indirerek blok zincirinin kendi kopyasını günceller.</li></ol><h4>Root Hash’i Alma</h4><p>Ethereum’da her blok, bloğa dahil olan tüm işlemlerin bir Merkle ağacını içerir. Merkle ağacı, tüm bloğu doğrulamak zorunda kalmadan bireysel işlemlerin verimli bir şekilde doğrulanmasına izin veren bir veri yapısıdır. Merkle ağacı root hash’i, tüm Merkle ağacının kriptografik hash’idir ve her bloğun blok başlığına dahil edilir. Bu root hash, en son bloğa kadar blok zincirinin tüm durumunu temsil eder.</p><p>Bir Ethereum hafif istemcisi, blok zincirindeki en son bloğun gerçekliğini ve durumunu doğrulamak için bu root hash’e ihtiyaç duyar. Hafif istemci, Merkle ağacı root hash’ini doğrulayarak, en son bloğun kötü niyetli bir aktör tarafından kurcalanmadığından veya değiştirilmediğinden emin olabilir.</p><p>Bir hafif istemcinin root hash değerini elde etmesinin iki yolu vardır: tam bir düğüme veya bir senkronizasyon komitesine güvenmek.</p><h4><strong>Tam Düğüm Doğrulaması</strong></h4><p>Bu yöntemde, hafif istemci, root hash ile en son bloğu elde etmek için tam bir düğüme güvenir. Tam düğüm, tüm imzaları takip eder ve bunları en son bloğa kadar doğrular. Ancak, bu yöntem yoğun kaynak gerektirir ve hafif istemcinin en son bloğu elde etmek için merkezi bir otoriteye güvenmesini gerektirir, bu da hafif istemci çalıştırma amacını ortadan kaldırır.</p><h4><strong>Senkronizasyon Komitesi</strong></h4><p>Ethereum’un Consensus Katmanında, bir senkronizasyon komitesi rastgele seçilmiş 512 doğrulayıcıdan oluşan bir gruptur. Her 256 epoch’da (yaklaşık 27 saat) yeni bir komite seçilir. Bu komite, her yeni slot için blok başlıklarının imzalanmasından sorumludur. Bir senkronizasyon komitesinin 2/3&#39;ünden fazlası aynı durum üzerinde hemfikirse, hafif istemci bunun doğru olduğuna güvenebilir.</p><p>Senkronizasyon komiteleri, doğrulama sürecini basitleştirmek için hafif istemcilerle birlikte çalışır. Hafif istemcinin, Ethereum’un durumunu doğrulamak için yalnızca önceden doğrulanmış bir blok başlığını bilmesi ve önceki, mevcut ve sonraki senkronizasyon komitesi üyeleri hakkında bilgi sahibi olması gerekir. Bu şekilde, hafif istemci, tüm doğrulayıcı setine veya durum geçmişine erişmeye gerek kalmadan doğrulanmış blokların doğruluğunu doğrulayabilir. Bu yaklaşım, bir başlığı doğrulamak için gereken hesaplama gücünü önemli ölçüde azaltır.</p><h4><strong>Zayıf Öznellik Kontrol Noktası</strong></h4><p>Mevcut senkronizasyon komitesini bulmak için hafif istemcinin zayıf öznellik kontrol noktasını edinmesi gerekir. Zayıf öznellik kontrol noktası, bir oluşum bloğuna benzer, ancak blok zincirinde oluşum dışı bir konumda bulunur. Basitçe, tüm ağın kanonik zincirin kalıcı bir parçası olarak kabul ettiği bir bloğu belirtir.</p><p>Zayıf bir öznellik kontrol noktası, “sonlandırılmış” bir blok kavramından farklıdır. Bir düğüm, birbiriyle çelişen iki sonlandırılmış blokla karşılaştığında, bir fikir birliği hatası oluşmuştur ve düğüm bir kanonik çatal belirleyemez. Bununla birlikte, bir düğüm, zayıf bir öznellik kontrol noktasıyla çelişen bir blokla karşılaşırsa, onu anında reddedecektir. Düğümlerin çatal seçimi açısından, en son zayıf öznellik kontrol noktası, ağın yeni oluşum bloğu olarak hizmet eder.</p><h4>Helios</h4><p>Helios, a16z tarafından geliştirilen Rust tabanlı bir Ethereum hafif istemcisidir. Yaklaşık iki saniye içinde senkronize olur, çok az depolama gerektirir ve Ethereum’a tamamen güvenilir erişim sağlar. Helios, tam bir düğüm çalıştırmadan orijinalliklerini doğrulamak için merkezi RPC sağlayıcılarıyla birlikte çalışır. Ayrıca kolayca yerleştirilebilir ve kullanıcıların herhangi bir cihazdan güvenli zincir verilerine erişmesine olanak tanır.</p><p>Diğer birçok Ethereum istemcisinin aksine Helios, Yürütme Katmanı ile Konsensüs Katmanını sıkı bir şekilde birleştirir. Bu şekilde, Helios kullanıcılarının yalnızca tek bir yazılım parçası yüklemesi ve çalıştırması gerekir.</p><h4>Beerus</h4><p>Helios’tan ilham alan ve Helios’u kullanan bir Starknet Durum Bilgisi Olmayan İstemci. Amaç, Starknet durumunu sorgulamak ve yukarıda belirtilen merkle kanıtlarını kullanarak sözleşmelerle etkileşim kurmak için basit ve kullanımı kolay bir istemci sağlamaktır.</p><p>Beerus Core, tüm ağır işleri yapan çok önemli bir bileşendir. Beerus Core’u çalıştırarak, iki güvenilmeyen RPC kaynağıyla — Helios hafif istemcinin yürütme katmanı ve Starknet tam düğümü — iletişim kurarak tüm Ethereum uç noktalarına erişim elde edersiniz. Sihirli kısım burada devreye giriyor: Beerus bu güvenilmeyen verileri güvenilir verilere dönüştürüyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/0*geK6hC9FaUvnxvRN" /></figure><h4>Beerus Nasıl Çalışır?</h4><p>Bir Starknet sözleşmesinin depolama değerini sorgulama örneğini alarak Beerus’un nasıl çalıştığına genel bir bakış atalım:</p><ol><li>Beerus, Helios ile senkronize olur ve Helios da zayıf bir öznellik kontrol noktası kullanarak senkronizasyon komitesiyle senkronize olur. Bu kontrol noktası, Helios’un aldığı kök hash’in güvenilirliğini sağlar.</li><li>Ardından, verilen sözleşme için depolama anahtarının mevcut olup olmadığını kontrol etmek için Starknet’i sorgularız.</li><li>Ardından, kanıtlanmış son blokta bir Starknet tam düğümünden bir depolama kanıtı alınır. Bu depolama kanıtı, kanıtlanmış son blokta depolama sözleşmesinin varlığını doğrular.</li><li>Beerus Core, Ethereum’da yayınlanan STARK kanıtını getiren ve doğrulayan Helios’tan Starknet durum kökünü talep etmeye devam ediyor.</li><li>Ethereum’dan alınan kanıt, Starknet tam düğümünden alınan depolama kanıtı ile karşılaştırılır. Kanıtlar eşleşirse, verilerin Ethereum’da doğrulandığını ve bu nedenle doğru olduğunu onaylayabiliriz.</li><li>Son olarak, doğrulanan veriler trustless bir şekilde kullanıcıya iade edilir.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y2Ei_G2nczn6V7Ug" /></figure><h4>Sonuç</h4><p>Beerus, Starknet için, Ethereum için Helios hafif istemci kullanılarak oluşturulmuş, güvene dayalı durum doğrulamasını sağlayan, durum bilgisiz bir istemcidir. Hafif istemciler ve durum bilgisi olmayan istemciler, web3 altyapısını dağıtma ve daha önce mümkün olmayan çeşitli kullanım durumlarını ortaya çıkarma potansiyeline sahiptir.</p><p>Kapsamlı durum bilgilerine olan ihtiyacı ortadan kaldırarak, Beerus’un yalnızca Starknet depolama kanıtlarını Ethereum’da yayınlanan STARK kanıtlarına karşı doğrulaması gerekir. Bu şekilde Beerus, güvenilir olmayan verileri güvenilir verilere dönüştürerek, kaynakları kısıtlı cihazların bile tam bir düğüme güvenmeden güvenli bir şekilde çalışmasına izin verir.</p><h4>Dahil Olun</h4><p>Güvenli ve merkezi olmayan bir Starknet ekosisteminin gelişimine katkıda bulunmak ister misiniz? Beerus başlamak için harika bir yer. Geliştiriciler, Github’da projeye katkıda bulunarak ve Telegram’da tartışmaya katılarak dahil olabilirler.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c474b78d2e46" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starknet-t%C3%BCrkiye/durumsuz-stateless-gelece%C4%9Fi-%C3%A7izmek-c474b78d2e46">State’siz (Durumsuz) Geleceği Çizmek</a> was originally published in <a href="https://medium.com/starknet-t%C3%BCrkiye">Starknet Türkiye</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starknet Alpha v0.11.0: Cairo 1.0’a Geçiş Başladı]]></title>
            <link>https://medium.com/starknet-t%C3%BCrkiye/starknet-alpha-v0-11-0-cairo-1-0a-ge%C3%A7i%C5%9F-ba%C5%9Flad%C4%B1-ffdb17bcd986?source=rss-40274eb6cd8f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ffdb17bcd986</guid>
            <dc:creator><![CDATA[0xemre]]></dc:creator>
            <pubDate>Wed, 05 Apr 2023 18:35:31 GMT</pubDate>
            <atom:updated>2023-04-05T18:35:31.646Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6S-DDPxrBAx8A5_ZjZH_Aw.png" /></figure><p>Özetle:</p><ul><li>Starknet Alpha v0.11.0 mainnet ve testnet’te yayında</li><li>Artık Cairo 1.0 kontratlarınızı mainnet ve testnet’te yayınlayabilir ve onlarla etkileşime girebilirsiniz</li><li>Starknet üzerindeki hesaplamalar artık 5 kat daha ucuz</li><li>Bu yükseltme, Regenesis öncesi geçiş periyodunun başlangıcını belirtir</li></ul><h3>Giriş</h3><p>Merakla beklenen Starknet alpha v0.11.0&#39;ın mainnet ve testnet’te yayında olduğunu duyurmaktan heyecan duyuyoruz! Bu, Starknet için neden büyük bir adım? Starknet v0.11.0&#39;da, <a href="https://medium.com/starkware/cairo-1-0-is-here-7e1ac8377038">Cairo 1.0</a> akıllı kontratlarınni ilan edebilir, dağıtabilir ve çalıştırabilirsiniz. Ayrıca, mevcut kontratlarınn Cairo 1.0 uygulamasına sorunsuz bir şekilde geçişine izin veren yeni bir sistem çağrısı sunuyoruz.</p><p>Cairo 1.0, Starknet’i iki farklı açıdan geliştirir. İlk olarak, Cairo’ya (diğer şeylerin yanı sıra) türleri/jenerikleri/özellikleri/hata işlemeyi (types/generics/traits/error handling) tanıtan daha zengin bir programlama dili sunar ve geliştirme deneyimini iyileştirir. İkincisi, Cairo 1.0, Starknet’in merkeziyetsiz yolculuğunda kilit bir rol oynuyor: Cairo 1.0 kontratların, Starknet alpha v0.11.0 sürümünde derlenmesi için Sierra’ya gönderilebilir. Sierra, merkezi olmayan Starknet için çok önemli bir özellik olan her sözleşme uygulamasının kanıtlanabilir olduğunu garanti eder.</p><p>Bu sürümde gelen bir diğer önemli gelişme, hesaplama için maliyetin 5 kat düşürülmesidir. Bu, Starknet’i hesaplama açısından yoğun uygulamalar için daha da cazip hale getirecektir. Daha fazla detay aşağıda.</p><h3>Regenesis’e Hazırlanmak</h3><p>Starknet alpha v0.11.0, Starknet’in, Regenesis’ten önce hazırlanması için geçiş döneminin başlangıcını işaret eder. Starknet’in Regenesis planı birkaç ay önce <a href="https://medium.com/starkware/starknet-regenesis-the-plan-bd0219843ef4">yayınlandı</a> ve Cairo 0 tabanlı bir sistemden Cairo 1.0 tabanlı bir sisteme geçişe odaklanıyor.</p><p>Geçiş döneminde, mevcut Cairo 0 kontratların, (eğer yükseltilebilirlerse) adreslerini ve depolama alanlarını koruma ve uygulamalarını Cairo 1.0&#39;a sorunsuz bir şekilde geçirme fırsatına sahiptir (sonraki bölüme bakın).</p><p>Bir Starknet kullanıcısı olarak bu, cüzdanınızı, yalnızca yeni Cairo 1.0 uygulaması yayınlandıktan sonra yükseltmeniz gerektiği anlamına gelir (bunu Regenesis gerçekleşene kadar istediğiniz bir zamanda yapabilirsiniz). Sistemdeki tüm uygulamalar her zamanki gibi çalışmaya devam edecek, herhangi bir kesinti beklenmiyor.</p><p>Regenesis’ten sonra, Starknet, sistem genelinde kalan Cairo 0 kontratlarınni desteklemeyi bırakacak. Bu önceden bildirilecek ve geliştiricilere kontratlarınni taşımaları için yeterli zaman verilecektir. Geçiş döneminin birkaç ay sürmesi bekleniyor. Geliştiriciler şimdiden uygulamalarını Cairo 1.0&#39;a taşımaya başlayabilirler. Geçiş döneminin sonunda, Regenesis gerçekleşecektir.</p><h3>Cairo 1.0’a Sorunsuz Geçiş</h3><p>Cairo 1.0&#39;a geçişle birlikte mevcut Cairo 0 kontratların kullanımdan kullanımdan kaldırılacak ve Regenesis’te artık desteklenmeyecek. Yükseltilebilir Cairo 0 kontratlarınnin Regenesis’ten sonra bile çalışmaya devam etmesine izin vermek ve durumu o zamana kadar kurulu halde tutmak için yeni bir sistem çağrısı ekledik: “replace_class”. Yükseltilebilir kontratlarınn Cairo 1.0 uygulamasına yükseltmeyle ilgili bir sorunu yoktur, ancak temel proxy (gerçek durumu tutan sözleşme) yine de Cairo 0 uygulamasında sıkışıp kalacaktır. “replace_class” sistem çağrısı, proxy sözleşmesinin temeldeki sınıfı değiştirmesine izin vererek bu sorunu çözer yani aynı adres ve depolamayı koruyarak uygulamayı değiştirir.</p><h3>Hesaplama Artık 5 Kat Daha Ucuz!</h3><p>Bugün, Starknet işlem ücretlerinin iki ana bileşeni vardır: Hesaplama ve zincir üstü veriler. Starknet işlem ücretinin hesaplama bileşeni, L1&#39;de kanıtı doğrulamanın marjinal maliyeti tarafından belirlenir (daha fazla ayrıntı için <a href="https://docs.starknet.io/documentation/architecture_and_concepts/Fees/fee-mechanism/">belgelere</a> bakın).</p><p>Başlangıçta, 200m Cairo adımını doğrulamak için 5m gas gerektiren bir kanıt, Cairo adımı başına 0,05 gas gibi saf bir tahmine yol açtı. O zamandan beri, L1 doğrulama maliyetinde önemli bir azalma sağlayan <a href="https://medium.com/starkware/recursive-starks-78f8dd401025">özyinelemeli ispatlara</a> (recursive proofs) geçtik (yineleme ağacının yalnızca kökü L1&#39;e ulaşır). Şimdi orijinal tahminlerimizi buna göre güncelleme zamanı — L2&#39;deki her Cairo adımının fiyatı 5 kat azaltılacak ve şimdi 0,01 gasa mal olacak.</p><p>Bu maliyet düşüşü, yerel olmayan imzalara sahip hesap kontratları gibi hesaplama açısından yoğun uygulamalar için önemlidir. Bu iyileştirmeyle beraber basit işlemlerde ise küçük bir maliyet düşüşü (~ %5) görülecek. Gelecek sürümlerde, ikinci bileşen zincir üstü veri maliyetleri ele alınacak. Zincir üstü verilere alternatifler Starknet’te (diğer adıyla Volition) kullanıma sunulduğunda, maliyet düşüşü çok daha etkili biçimde hissedilecek.</p><h3>Cairo 1.0 ve Sierra</h3><p>Sierra (<strong>S</strong>afe <strong>I</strong>nt<strong>e</strong>rmediate <strong>R</strong>epresent<strong>a</strong>tion), Cairo Sanal Makinesi’ne (CASM) derlenen bir ara temsildir. Starknet alpha v0.11.0 öncesi, bir geliştirici Cairo 0&#39;ı CASM’de derler ve sonucu Starknet sıralayıcıyıcısına gönderirdi. Cairo 1.0 ile geliştiriciler kodlarını Sierra’da derler ve bu ara gösterimi sıralayıcıya gönderir. Sıralayıcı daha sonra onu CASM ile derleyecektir. Sierra’nın “güvenli CASM”ye, yani CASM’nin başarısız olamayacak bir alt kümesine derlemesi garanti edilir ve her yürütme kanıtlanabilir hale gelir. Bu, sıralayıcıyı DOS’tan koruyarak geri alınan işlemler için bile ücret talep edebileceğini garanti eder. Daha fazla bilgi için <a href="https://docs.starknet.io/documentation/architecture_and_concepts/Contracts/cairo-1-and-sierra/">belgelere</a> bakın.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/0*io58W_5lsv3pk7K9" /></figure><p>Starknet alpha 0.11.0, <a href="https://github.com/starkware-libs/cairo/releases/tag/v1.0.0-alpha.6">Cairo 1.0-alpha.6</a> sürümünü kullanacak. Bu sürüm, tüm Starknet sistem çağrıları zaten mevcutken Cairo 0 ile <a href="https://github.com/starkware-libs/cairo/blob/main/docs/FEATURE_PARITY.md">özellik eşitliğine</a> yakındır.</p><p>Starknet sıralayıcısının sabit bir derleyici sürümü kullandığını unutmayın; bu, dil iyileştirmelerinin Starknet’te hemen mevcut olmayabileceği ve yalnızca bir Starknet sürüm güncellemesinden sonra mevcut olacağı anlamına gelir. Spesifik olarak, Cairo 1.0 → Sierra derlemesini etkileyen iyileştirmeler hemen yürürlüğe girebilse de, Sierra → CASM derleyicisindeki değişikliklerin (daha fazla ayrıntı için <a href="https://docs.starknet.io/documentation/architecture_and_concepts/Contracts/cairo-1-and-sierra/">belgelere</a> bakın) bir Starknet yükseltmesini beklemesi gerekecektir.</p><h3>Başka yeni ne var?</h3><p>Yeni İşlem Türü — Declare v2</p><p>Cairo 1.0 sınıflarını (classes) bildirmek için <a href="https://docs.starknet.io/documentation/architecture_and_concepts/Blocks/transactions/#declare_v2_cairo_1_0">yeni bir işlem türü</a> ekliyoruz. Bu yeni “declare” işlem sürümü, iki önemli farkla mevcut “declare” işlemine benzer:</p><ul><li>Gönderilen sınıf nesnesi artık CASM yerine Sierra’yı temsil ediyor, yani sınıfın semantiği Sierra temsili tarafından tanımlanıyor.</li><li>Kullanıcı ayrıca derlenmiş sınıf karmasını da imzalıyor. Bu, Sierra→CASM derlemesinin Starknet İşletim Sisteminin bir parçası olduğu kanıtlanana kadar çok önemli bir adımdır.</li></ul><p>Daha fazla ayrıntı için <a href="https://docs.starknet.io/documentation/starknet_versions/upcoming_versions/#what_to_expect">belgelere</a> bakınız.</p><p>Geliştiricinin bakış açısından, deneyim aynı kalır. Geliştiriciler, Cairo 1.0 kodunu yazdıktan sonra, sınıfı bildirmek için CLI’yı kullanabilirler.</p><p><strong>Not:</strong> Başlangıçta, Starknet Mainnet’te `declare v2&#39; işlemlerinin kabul edilmeyeceğini unutmayın. Testnet üzerinde bir süre deneme yaptıktan sonra Mainnet üzerinde yeni işlem türü etkinleştirilecek ve Cairo 1.0 sınıfları kullanıma sunulacaktır.</p><h3>Poseidon Burada</h3><p><a href="https://www.poseidon-hash.info/">Poseidon</a>, çok verimli cebirsel devrelere sahip olmak için tasarlanmış bir sağlama fonksiyonları ailesidir. Bu nedenle, STARK’lar ve SNARK’lar gibi ZK kanıtlama sistemlerinde çok faydalı olabilirler. Starknet alpha v0.11.0&#39;dan itibaren, geliştiriciler Poseidon’u kullanabilecekler. Ek olarak, Starknet protokolünün parçası olan bazı karma hesaplamalar Poseidon’a geçiş yapacaktır (özellikle, class hash, compiled class hash ve state commitment’ın bazı bölümleri Poseidon’u kullanacaktır, daha fazla ayrıntı için <a href="https://docs.starknet.io/documentation/starknet_versions/upcoming_versions/#poseidon_hash">belgelere</a> bakın). Gelecekte, daha fazla dahili bileşen Poseidon hash işlevini kullanmaya geçiş yapacaktır.</p><p>Starknet’te kullanılan tam sürüm ve parametreler <a href="https://docs.starknet.io/documentation/architecture_and_concepts/Hashing/hash-functions/#poseidon_hash">burada</a> bulunabilir.</p><h3>Çeşitli değişiklikler</h3><p>Önceki Starknet sürümlerinde olduğu gibi, bir yükseltmenin de API’lerimiz ve diğer düşük seviyeli bileşenlerimiz üzerinde etkileri vardır. Aşağıda bunları listeliyoruz ve yapılan belirli değişiklikleri ele alıyoruz:</p><ul><li>v0 invoke/declare işlemleri artık desteklenmiyor</li><li>L1→L2 mesajları artık <a href="https://docs.starknet.io/documentation/architecture_and_concepts/L1-L2_Communication/messaging-mechanism/#l1-l2_message_fees">ücret</a> gerektiriyor. Yani sıfır ücretle gönderilen mesajlar Starknet sıralayıcı tarafından işlenmeyecektir.</li><li>Zincir üstü veri formatı <a href="https://docs.starknet.io/documentation/architecture_and_concepts/Data_Availability/on-chain-data/#on_chain_data_post_v0_11_0">değiştirildi</a></li><li><a href="https://docs.starknet.io/documentation/starknet_versions/upcoming_versions/#api_changes">API değişiklikleri</a> (tüm değişiklikler burada listelenmemiştir, lütfen kapsamlı bir liste için belgelere bakın):</li><li>yeni bir “get_compiled_class_by_class_hash” endpoint’i ekledi</li><li>“get_class_by_hash”, Cairo 0/Cairo 1.0 sınıflarının her ikisini de döndürür (istenen hash’e bağlı olarak)</li><li>`get_state_update` değiştirilen sınıflar için yeni bir bölüme sahiptir ve bildirimler Cairo 0 ve Cairo 1 sınıfları arasında bölünmüştür.</li><li>“estimate_fee” ve “simulate_tx” artık doğrulamayı atlayabilir</li><li><a href="https://github.com/starkware-libs/starknet-specs/releases/tag/v0.3.0-rc1">Yeni</a> bir Starknet JSON-RPC versiyonu</li></ul><h3>Sırada ne var?</h3><p>Artık Cairo 1.0 ile ilgili tüm altyapı uygulamaya konduğuna göre şunları bekleyebilirsiniz:</p><ul><li>Cairo 1.0&#39;da daha fazla dil geliştirmesi</li><li>Performans iyileştirmeleri: <a href="https://medium.com/starkware/starknet-performance-roadmap-bb7aae14c7de">Söz verildiği gibi</a>, TPS’yi önemli ölçüde artırma yolunda ilerlemeye devam ediyoruz. Yol haritasındaki bir sonraki adım, Apache 2.0 lisansı altında açıkta geliştirilen <a href="https://github.com/starkware-libs/blockifier">Rust sıralayıcısına</a> geçiş yapmaktır. Yeni sıralayıcı, Performance Trio’yu oluşturan <a href="https://github.com/lambdaclass/cairo-rs">Rust CairoVM</a> ve <a href="https://github.com/starkware-libs/papyrus">Papyrus</a> tam düğümünü kullanacak.</li><li>Zincir dışı <a href="https://docs.starknet.io/documentation/architecture_and_concepts/Data_Availability/on-chain-data/">veri kullanılabilirliği</a>! Bu versiyonda, işlem maliyetinin hesaplama bileşenini ele aldık. Gelecek sürümlerde, bugün ortalama işlemler için baskın maliyet olan zincir üstü veri maliyetlerini ele alacağız.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NIpLfVSB02GJVLOR" /></figure><p><strong>Okuduğun için teşekkürler. StarkNet Türkiye’yi takipte kalmayı unutma!</strong></p><p><a href="https://twitter.com/StarkNetTurkiye">StarkNet Türkiye Twitter</a></p><p><a href="https://www.youtube.com/c/StarkNetT%C3%BCrkiye">StarkNet Türkiye YouTube</a></p><p><a href="https://discord.gg/qypnmzkhbc">StarkNet Resmi Discord</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ffdb17bcd986" width="1" height="1" alt=""><hr><p><a href="https://medium.com/starknet-t%C3%BCrkiye/starknet-alpha-v0-11-0-cairo-1-0a-ge%C3%A7i%C5%9F-ba%C5%9Flad%C4%B1-ffdb17bcd986">Starknet Alpha v0.11.0: Cairo 1.0’a Geçiş Başladı</a> was originally published in <a href="https://medium.com/starknet-t%C3%BCrkiye">Starknet Türkiye</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>