<?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 Solodevstack on Medium]]></title>
        <description><![CDATA[Stories by Solodevstack on Medium]]></description>
        <link>https://medium.com/@Solodevstack?source=rss-a1afc1d59968------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*w2yndhMeLPDvdBaKIhkjVA.jpeg</url>
            <title>Stories by Solodevstack on Medium</title>
            <link>https://medium.com/@Solodevstack?source=rss-a1afc1d59968------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 10:46:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Solodevstack/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[SUPRA’S Distributed Consensus Protocols: Optimizing Throughput, Latency, and Scalability]]></title>
            <link>https://medium.com/@Solodevstack/supras-distributed-consensus-protocols-optimizing-throughput-latency-and-scalability-5f892f63f1c8?source=rss-a1afc1d59968------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f892f63f1c8</guid>
            <dc:creator><![CDATA[Solodevstack]]></dc:creator>
            <pubDate>Fri, 27 Sep 2024 21:33:10 GMT</pubDate>
            <atom:updated>2024-09-27T21:33:10.245Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*YBVJ-hMC8cGMqzgPEB7WaQ.jpeg" /></figure><h4>Introduction</h4><p>Distributed consensus protocols have become an essential part of modern applications, especially those requiring real-time performance like financial networks and blockchain platforms. These protocols are designed to process a high number of transactions per second (throughput) and deliver quick confirmations (latency), while also supporting large and expanding networks (scalability). Their efficiency ensures that systems can function smoothly without compromising performance, even as they grow.</p><p>This post introduces the architecture of Supra, a distributed consensus protocol specifically designed for large-scale, geo-replicated environments. It offers high throughput and low latency, integrating a novel transaction dissemination mechanism with a cutting-edge consensus protocol, Moonshot, to maintain performance across a wide network.</p><h4>Synergy of Throughput, Latency, and Scalability</h4><p>High throughput and low latency significantly improve user experience by speeding up transaction confirmation and ensuring quick service delivery. This balance is critical in systems handling numerous interactions, such as financial transactions. Scalability enables a system to grow in size while maintaining performance, which is key for applications that need to support increasing user bases or participants.</p><p>Protocols like Supra also ensure resource efficiency by optimizing bandwidth usage and operational costs. They are built with fault-tolerance mechanisms that allow them to function reliably even in the presence of faulty or malicious nodes.</p><p>Supra: High-Performance Consensus</p><p>Supra achieves its high throughput by decoupling transaction dissemination from the consensus process. This design builds on concepts like those in Narwhal but enhances them by distributing transactions to smaller committees called clans, ensuring availability with high probability. This decoupling enables the system to scale without a decline in performance.</p><p>At the core of Supra is the Moonshot consensus protocol, which delivers an optimal commit latency of 3 message delays (md). The integration of Moonshot with Supra’s dissemination mechanism results in an overall latency of just 5.5 md, ensuring fast, efficient transaction processing.</p><h4>Tribe and Clans: Scalable Node Grouping</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IOubQLxLZC_4V2CYjol6eg.jpeg" /></figure><p>Supra groups its nodes into two structures:<br>- The full set of nodes, called a tribe, ensures overall system integrity.<br>- Smaller groups, or clans, handle transaction dissemination and verification.</p><p>By sampling sub-committees (clans) from the larger tribe, the system ensures that each clan maintains an honest majority. For example, with 300 nodes, a clan of 66 members is sufficient to ensure that most are honest, with a very low risk of errors.</p><h4>Efficient Signature Scheme</h4><p>Supra uses BLS multi-signatures for efficiency. Unlike traditional signatures like EdDSA or ECDSA, which require large amounts of bandwidth as the system scales, BLS signatures can be aggregated into smaller, more manageable signatures. This allows nodes to multicast these signatures during consensus without overwhelming the network, leading to reduced bandwidth consumption and faster processing.</p><h4>Supra Architecture</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aM5-loXPXllwBB5dSJfVkQ.jpeg" /></figure><p>Supra’s architecture relies on clans for batch transaction processing. Each clan collects transactions, groups them into batches, and verifies them within the clan. Once verified, the clan aggregates the signatures into a data availability certificate, proving that the transactions are ready to be used by the system.</p><p>The data availability certificate is then passed to the Moonshot consensus protocol, which finalizes the transactions. This structure reduces the need for repetitive signature verification, thus speeding up the process.</p><h4>Latency and Performance Analysis</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JUcfaB7b3wTiJ3M1BTbv8Q.jpeg" /></figure><p>Moonshot achieves low commit latency, and Supra’s integration of batch processing and consensus ensures minimal delay. Experimental evaluations show that Supra can process transactions with sub-second latency while maintaining high throughput (500,000 transactions per second).</p><p>Conclusion</p><p>Supra’s innovative approach to combining transaction dissemination and consensus enables it to handle large-scale networks with high performance and low latency. The integration of BLS signatures, scalable clan structures, and the Moonshot protocol makes Supra a powerful choice for systems requiring real-time, reliable transaction processing. Through extensive testing, Supra has demonstrated its ability to maintain high throughput and low latency even as network size increases, proving its scalability and efficiency in real-world scenarios.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f892f63f1c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Supra Demo Day]]></title>
            <link>https://medium.com/@Solodevstack/the-supra-demo-day-196408d20d92?source=rss-a1afc1d59968------2</link>
            <guid isPermaLink="false">https://medium.com/p/196408d20d92</guid>
            <dc:creator><![CDATA[Solodevstack]]></dc:creator>
            <pubDate>Mon, 02 Sep 2024 06:00:44 GMT</pubDate>
            <atom:updated>2024-09-02T06:01:54.134Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vXAz76B8BIuPA2A-xg-RnQ.jpeg" /></figure><p>SUPRA.com, a fully integrated Layer-1 blockchain platform, is set to make waves at Korea Blockchain Week 2024 with its highly anticipated event, “The Supra Demo Day.” Scheduled to take place at the Hashed Office in Milim Tower, Gangnam, this event is designed as a precursor to their upcoming decentralized app competition, “The Super dApp Showdown.”</p><h3>Showcasing Innovation: Supra Demo Day Highlights</h3><p>The Supra Demo Day promises to be an exciting affair, showcasing some of the most innovative decentralized applications (dApps) and projects that leverage Supra’s cutting-edge technology. Participants will have the opportunity to present their groundbreaking applications before an audience and a panel of distinguished judges, including Supra’s founders and top executives. The competition stakes are high, with the best dApps standing a chance to win up to $15,000.</p><h3>Engaging Keynotes and Panels</h3><p>Attendees will be treated to insightful keynotes by Supra’s co-founders, CEO Joshua Tobkin and Chief Business Officer Jon Jones. These sessions will delve into Supra’s pioneering vertical integration strategy and its implications for the future of blockchain technology. The co-founders will also use this platform to make a significant announcement, details of which will be disclosed on the day of the event. Additionally, attendees can engage in Q&amp;A sessions, gaining deeper insights into the Supra tech stack and its applications.</p><h3>A Venue Tailored for Success</h3><p>Located in the heart of Gangnam, the Hashed Office is an iconic venue, renowned for hosting memorable Web3 events and workshops. This makes it the perfect setting for Supra’s Demo Day, ensuring a premium experience for all attendees. With a capacity limited to just 120 guests, Supra is curating the guest list to prioritize founders and c-suite executives, thereby fostering a productive and high-quality networking environment. Attendees of Korea Blockchain Week are encouraged to register early to secure their spot, as availability is limited.</p><h3>CEO’s Vision for the Future</h3><p>“Significant Web3 events are key to Supra’s go-to-market strategy,” says Joshua Tobkin, Supra’s CEO and co-founder. “With Southeast Asia being a highly important region for us, putting on an event of this magnitude during Korea Blockchain Week fits perfectly with what we want to achieve in bringing Supra’s vertical tech stack to the Korean community. This is going to be a memorable event for everyone involved, and I personally am looking forward to meeting many of our community in person.”</p><h3>Event Details and Schedule</h3><p>The Supra Demo Day is scheduled for Wednesday, September 4, 2024, aligning perfectly with the peak of Korea Blockchain Week. The event will kick off at 9 AM with initial panels and keynotes set for the morning session. The day will then progress with live demos, lunch, snacks, and ample networking opportunities, concluding by 4 PM. This event marks a significant milestone for Supra, coinciding with the final stages of their Token Generation Event (TGE) preparations. Key members from Supra’s engineering, marketing, and business development teams will be present, ready to engage with attendees.</p><h3>Supra Looking Ahead</h3><p>As Supra gears up for its Demo Day, the event signifies a crucial step in engaging with projects experimenting with their Layer-1 technology. This Demo Day is not just a standalone event but a part of a broader strategy, as Supra plans to make a strong presence felt at other upcoming blockchain events, including Singapore’s Token2049, Permissionless in the USA, and India Blockchain Week. The Supra Demo Day at Korea Blockchain Week is thus an essential prelude to these significant industry gatherings.</p><p>For those looking to witness and engage with some of the most forward-thinking blockchain innovations, the Supra Demo Day is an event not to be missed. Secure your spot today and be part of the future of blockchain technology.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=196408d20d92" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Evolution of Blockchain Technology: Supra’s L1, featuring vertical integration.]]></title>
            <link>https://medium.com/@Solodevstack/the-evolution-of-blockchain-technology-supras-l1-featuring-vertical-integration-f66033758b4b?source=rss-a1afc1d59968------2</link>
            <guid isPermaLink="false">https://medium.com/p/f66033758b4b</guid>
            <dc:creator><![CDATA[Solodevstack]]></dc:creator>
            <pubDate>Wed, 07 Aug 2024 06:21:26 GMT</pubDate>
            <atom:updated>2024-08-07T06:21:26.165Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>In a recent team call, the founders of Supra, Josh and John, reminisced about their journey and vision for the future of blockchain technology. Their conversation highlighted the importance of trust, collaboration, and innovation in the rapidly evolving world of blockchain.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kUGMzExinD_ZZHb1co4I2Q.jpeg" /></figure><p><strong>The Early Days</strong></p><p>Josh and John’s partnership began over seven years ago, during a time when blockchain technology was still in its infancy. They met at San Francisco Blockchain Week in January 2018, a pivotal event that sparked their collaboration. Josh recalled their initial discussions about tribes and clans, concepts they believed had potential, though they were admittedly still figuring things out.</p><p>Back then, Josh was based in San Francisco, while John lived in Taiwan. Despite the geographical distance, their shared enthusiasm for blockchain technology and its possibilities brought them together. John’s background in online gaming and Josh’s experience with on-chain randomness and online poker fueled their curiosity and drive to explore blockchain’s potential.</p><p><strong>The Blockchain Trust System</strong></p><p>John emphasized that blockchain is fundamentally about trust. He recounted how mutual friends vouched for Josh, which initially helped build trust between them. This trust was crucial in an industry that was still nascent and often unpredictable. John admired Josh’s skills as a software architect, a quality he felt he lacked at the time. Their complementary skills and mutual trust laid the foundation for their partnership.</p><p>John’s journey into blockchain began during his time at UC Berkeley, one of the first university clubs to embrace Bitcoin and blockchain. His subsequent move to Taiwan and involvement in the Taiwan Entrepreneur Club introduced him to Ethereum in 2016. Meeting Josh in 2017 further solidified his commitment to the blockchain industry.</p><p><strong>Building Through Adversity</strong></p><p>In 2018, the blockchain industry faced a severe bear market. Despite the challenges, Josh and John remained committed to their vision. They believed in blockchain’s potential to create a system of trust, even when traditional and retail investors were skeptical. Their perseverance through tough times was driven by their belief in blockchain’s transformative power.</p><p>The duo’s vision was to create a layer 1 (L1) blockchain that could outscale Ethereum. Josh pitched a consensus algorithm with a tribes and clan model, a bold idea that initially seemed daunting to John. Despite their fears, they were determined to pursue this ambitious vision. They understood that building something groundbreaking would take time and dedication.</p><h3>The Role of Experts and Collaboration</h3><p>Josh and John’s journey was significantly aided by collaboration with experts like Dr. Kate, Dr. Rob, and Dr. Yang. Their expertise helped refine and validate the concepts that Josh and John initially brainstormed. Josh acknowledged that many of their early ideas were wrong, but their commitment to the right intentions and continuous learning kept them moving forward.</p><p>Dr. Kate, in particular, played a crucial role. As the Chief Research Officer and lead architect of their system, Dr. Kate brought invaluable insights and innovations to the table. His work on decentralized distributed key generation and KZG Commitments has been fundamental to the development of Supra. The KZG Commitments, for instance, are integral to protocols like Data Availability Sampling, underscoring the impact of Dr. Kate’s contributions.</p><h3>The Vision of Supra</h3><p>Supra’s vision extends beyond being an Oracle service. From the beginning, their goal was to build a vertically integrated L1 blockchain with native Oracle, native bridge, native automation, and multi-VM support. This integration addresses security and latency issues inherent in modular blockchains, providing a more efficient and secure solution.</p><p>John explained how external Oracles and bridges can weaken the security of applications. By integrating these services natively into Supra, they eliminate the need for third-party services that could compromise security and introduce latency. This approach ensures that Supra applications, or Supra dApps, can operate with the highest security and performance standards.</p><p><strong>Community and Decentralization</strong></p><p>Supra’s commitment to decentralization is evident in their efforts to KYC their community members. With 1.2 million contacts and over 512,000 verified KYC participants, Supra aims to set a world record for decentralized token distribution. This broad distribution is crucial for creating a decentralized community and achieving network effects.</p><p><strong>The Future of Supra</strong></p><p>Supra’s journey has been long and challenging, but their dedication to authenticity, integrity, and scientific rigor sets them apart. They have spent almost 40 months developing Supra, ensuring it is built on solid fundamentals. Their focus on peer review and data-backed decisions underscores their commitment to delivering a reliable and groundbreaking blockchain solution.</p><p>As they prepare to launch, Josh and John are confident in Supra’s potential to revolutionize the blockchain industry. Their vision for Supra dApps, leveraging high throughput, low latency consensus algorithms, and native Oracle privacy, promises to unlock new possibilities for blockchain applications.</p><p><strong>In conclusion</strong>, the journey of Josh and John from Unity Chain to Supra is a testament to the power of trust, collaboration, and perseverance. Their story highlights the importance of having a clear vision, surrounding oneself with experts, and staying committed to the right intentions. With Supra, they are poised to make a significant impact on the future of blockchain technology.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f66033758b4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Představení Supra’s Moonshot]]></title>
            <link>https://medium.com/@Solodevstack/p%C5%99edstaven%C3%AD-supras-moonshot-5a99c9c0b6e8?source=rss-a1afc1d59968------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a99c9c0b6e8</guid>
            <dc:creator><![CDATA[Solodevstack]]></dc:creator>
            <pubDate>Tue, 30 Jul 2024 08:31:59 GMT</pubDate>
            <atom:updated>2024-07-30T08:31:59.648Z</atom:updated>
            <content:encoded><![CDATA[<h4>Nová Éra v Konsensuálních Protokolech Blockchainu</h4><p><em>Představení Supra’s Moonshot: Nová Éra v Konsensuálních Protokolech Blockchainu</em></p><p>Technologie blockchainu revolucionalizovala náš pohled na zabezpečení dat a decentralizaci. Přesto však dosažení rychlého, bezpečného a efektivního konsensu zůstává významnou výzvou. Představujeme Moonshot, průlomový blockchainový protokol State Machine Replication (SMR), který slibuje zvýšení standardů blockchainového konsensu. V tomto článku prozkoumáme stávající blockchainové SMR protokoly, vyhodnotíme je podle různých měřítek a pochopíme intuici za technikou Optimistic Proposal u Moonshotu.</p><h4>Hodnocení Stávajících SMR Protokolů</h4><p>Pro pochopení inovativního přístupu Moonshotu je zásadní porovnat ho se stávajícími protokoly z hlediska latence finalizace bloků, doby mezi bloky a složitosti zpráv. Doba mezi bloky označuje čas mezi návrhy bloků, zatímco latence finalizace bloků je čas od návrhu bloku k jeho potvrzení většinou poctivých validátorů. Složitost zpráv měříme odhadem počtu zpráv potřebných k dosažení konsensu na jednom bloku, vyjádřeném asymptoticky v závislosti na ( n ).</p><p>Zaměříme se na Normální Cestu každého protokolu, což je nejefektivnější stav, když nedochází k přerušení konsensuálního procesu. Naopak Fallback Cesta je aktivována, když se konsensus zastaví kvůli problémům jako asynchronnost sítě nebo byzantskými lídry, což zajišťuje Životnost.</p><h4>Tendermint: Průkopník Blockchainu</h4><p>Tendermint je adaptací protokolu Practical Byzantine Fault Tolerance (PBFT), navrženého pro blockchainové prostředí. Cosmos a mnoho dalších blockchainů v jeho ekosystému používají Tendermint jako svůj konsensuální engine. Na rozdíl od Moonshotu funguje Tendermint s gossip protokolem pro šíření zpráv.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C_5qXJmYu5Pa7ksrxcEM7Q.jpeg" /></figure><p>Pro spravedlivé srovnání uvažujeme variantu Tendermintu, která předpokládá přímou komunikaci mezi validátory. V tomto nastavení je složitost komunikace u Tendermintu ( O(n³) ), vzhledem k tomu, že každý proces obdrží ( O(n) ) unikátních hlasů v běžném provozu.</p><h4>Normální Cesta Tendermintu</h4><p>1. Návrh: Lídr navrhuje nový blok všem validátorům.<br>2. Příprava: Validátoři posílají hlasy Přípravy pro blok všem ostatním validátorům, tvořící Přípravné Quorum Certificate (QC).<br>3. Potvrzení: Validátoři posílají hlasy Potvrzení pro vytvoření Potvrzovacího QC, finalizující blok.</p><h4>Charakteristiky Tendermintu:</h4><p>- Latence Finalizace Bloku: ( 3δ)<br>- Doba mezi Bloky: ( 3δ)<br>- Složitost Komunikace: ( O(n³) )</p><h3>Jolteon: Využití Pipeliningu Koleček</h3><p>Jolteon, novější protokol, zavádí pipelining koleček pro zlepšení výkonu.</p><h4>Normální Cesta Jolteonu</h4><p>1. Návrh: Lídr navrhuje blok.<br>2. Příprava: Validátoři posílají hlasy Přípravy lídrovi dalšího kolečka, který je agreguje do QC.<br>3. Potvrzení: Další lídr navrhuje nový blok s QC předchozího bloku.</p><p>Optimalizace Jolteonu, včetně řetězení QC a Pravidla Dvou-Řetězového Potvrzení, zvyšují souběžnost a snižují složitost zpráv.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ySi_uRp0sA9FThuynwIMXA.jpeg" /></figure><h4>Charakteristiky Jolteonu:</h4><p>- Latence Finalizace Bloku: ( 5δ)<br>- Doba mezi Bloky: (2δ)<br>- Složitost Komunikace: ( O(n) )</p><h3>Chained Moonshot: Optimistické Návrhy pro Optimální Výkon</h3><p>Chained Moonshot staví na souběžnosti Chained HotStuff, zavádějící techniku Optimistic Proposal. Tento přístup umožňuje zahájení nové instance konsensu každé ( δ), optimalizující dobu mezi bloky a latenci finalizace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t2dYFWuHqCcoAudr_-9fxA.jpeg" /></figure><h3>Normální Cesta Chained Moonshot</h3><p>1. Návrh: Lídr navrhuje blok a validátoři vysílají hlasy.<br>2. Řetězení: Další lídr navrhuje nový blok, odkazující na digest předchozího bloku.<br>3. Potvrzení: Validátoři uzamknou a potvrdí bloky řetězovým způsobem.</p><p>Charakteristiky Chained Moonshot:<br>- Latence Finalizace Bloku: ( 3δ)<br>- Doba mezi Bloky: ( δ)<br>- Složitost Komunikace: ( O(n²) )</p><h3><strong>Prokázané Výkonnostní Zlepšení</strong></h3><p>Implementace Chained Moonshot a její srovnání s Jolteonem ukázaly významná zlepšení výkonu. V testech s různými velikostmi sítí a bloků dosahoval Chained Moonshot konzistentně vyšší propustnosti a nižší latence.</p><h3>Klíčové Zjištění</h3><p>- Propustnost: Chained Moonshot překonal Jolteon, zejména při nárůstu velikosti sítě.<br>- Latence: Chained Moonshot snížil latenci finalizace bloků více, než se očekávalo, s průměrným zlepšením o 41,1%.</p><h3><strong>Závěr</strong></h3><p>Chained Moonshot představuje významný krok vpřed v konsensuálních protokolech blockchainu, nabízející nižší latenci a vyšší propustnost díky inovativní technice Optimistic Proposal a řetězení QC. Toto představení pouze nastiňuje potenciál Moonshotu, s více pokročilými variantami a detailními analýzami, které budou diskutovány v budoucích článcích.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a99c9c0b6e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Supra’s Moonshot]]></title>
            <link>https://medium.com/@Solodevstack/supras-moonshot-a8c71ab8f29f?source=rss-a1afc1d59968------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8c71ab8f29f</guid>
            <dc:creator><![CDATA[Solodevstack]]></dc:creator>
            <pubDate>Tue, 30 Jul 2024 00:17:19 GMT</pubDate>
            <atom:updated>2024-07-30T00:17:19.391Z</atom:updated>
            <content:encoded><![CDATA[<p>Introducing Supra’s Moonshot: A New Era in Blockchain Consensus Protocols</p><p>Blockchain technology has revolutionized the way we think about data security and decentralization. However, achieving fast, secure, and efficient consensus remains a significant challenge. Enter Moonshot, a groundbreaking blockchain-based State Machine Replication (SMR) protocol that promises to elevate the standards of blockchain consensus. In this article, we’ll explore existing blockchain-based SMR protocols, evaluate them on various metrics, and understand the intuition behind Moonshot’s Optimistic Proposal technique.</p><p><strong>Evaluating Existing SMR Protocols</strong></p><p>To grasp Moonshot’s innovative approach, it’s essential to compare it with existing protocols in terms of block finalization latency, block period, and message complexity. Block period refers to the time between block proposals, while block finalization latency is the time from block proposal to its commitment by a majority of honest validators. We measure message complexity by approximating the number of messages needed to reach consensus on a single block, represented asymptotically in terms of ( n ).</p><p>We’ll focus on the Normal Path of each protocol, which is the most efficient state when there are no interruptions in the consensus process. In contrast, the Fallback Path is triggered when consensus progress stalls, due to issues like network asynchrony or Byzantine leaders, ensuring Liveness.</p><p><strong>Tendermint: The Blockchain Pioneer</strong></p><p>Tendermint is an adaptation of the Practical Byzantine Fault Tolerance (PBFT) protocol, designed for the blockchain setting. Cosmos and many other blockchains in its ecosystem use Tendermint as their consensus engine. Unlike Moonshot, Tendermint operates with a gossip protocol for message dissemination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C_5qXJmYu5Pa7ksrxcEM7Q.jpeg" /></figure><p>For a fair comparison, we consider a variant of Tendermint that assumes direct point-to-point communication between validators. In this setting, Tendermint’s communication complexity is ( O(n³) ), given that each process receives ( O(n) ) unique votes in normal operation.</p><p><strong>Tendermint’s Normal Path</strong></p><p>1. Proposal: The leader proposes a new block to all validators.<br>2. Prepare: Validators send Prepare votes for the block to all other validators, forming a Prepare Quorum Certificate (QC).<br>3. Commit: Validators send Commit votes to form a Commit QC, finalizing the block.</p><p>Tendermint’s characteristics:<br>- Block Finalization Latency: ( 3δ)<br>- Block Period: ( 3δ)<br>- Communication Complexity: ( O(n³) )</p><p><strong>Jolteon: Leveraging Round Pipelining</strong></p><p>Jolteon, a more recent protocol, introduces round pipelining to improve performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ySi_uRp0sA9FThuynwIMXA.jpeg" /></figure><p>Jolteon’s Normal Path involves:</p><p>1. Proposal: The leader proposes a block.<br>2. Prepare: Validators send Prepare votes to the next round’s leader, who aggregates them into a QC.<br>3. Commit: The next leader proposes a new block with the QC of the previous block.</p><p>Jolteon’s optimizations, including QC chaining and the Two-Chain Commit Rule, enhance concurrency and reduce message complexity.</p><p>Jolteon’s characteristics:<br>- Block Finalization Latency: ( 5δ)<br>- Block Period: (2δ)<br>- Communication Complexity: ( O(n) )</p><p><strong>Chained Moonshot: Optimistic Proposals for Optimal Performance</strong></p><p>Chained Moonshot builds on the concurrency of Chained HotStuff, introducing the Optimistic Proposal technique. This approach allows a new consensus instance to start every ( δ), optimizing block period and finalization latency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t2dYFWuHqCcoAudr_-9fxA.jpeg" /></figure><p>Chained Moonshot’s Normal Path</p><p>1. Proposal: The leader proposes a block and validators broadcast votes.<br>2. Chaining: The next leader proposes a new block, referencing the previous block’s digest.<br>3. Commit: Validators lock and commit blocks in a chained manner.</p><p>Chained Moonshot’s characteristics:<br>- Block Finalization Latency: ( 3δ)<br>- Block Period: ( δ)<br>- Communication Complexity: ( O(n²) )</p><p>Demonstrated Performance Improvements</p><p>Implementing Chained Moonshot and comparing it to Jolteon revealed significant performance improvements. In tests with varying network sizes and block sizes, Chained Moonshot consistently achieved higher throughput and lower latency.</p><p>Key Findings</p><p>- Throughput: Chained Moonshot outperformed Jolteon, especially as network size increased.<br>- Latency: Chained Moonshot reduced block finalization latency more than expected, with improvements averaging 41.1%.</p><p><strong>Conclusion</strong></p><p>Chained Moonshot represents a significant leap in blockchain consensus protocols, offering lower latency and higher throughput through its innovative Optimistic Proposal technique and QC chaining. This introduction only scratches the surface of Moonshot’s potential, with more advanced variants and in-depth analyses to be discussed in future content.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8c71ab8f29f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Une Analyse de la Randomisation Vérifiable dans le Web3]]></title>
            <link>https://medium.com/@Solodevstack/une-analyse-de-la-randomisation-v%C3%A9rifiable-dans-le-web3-674a4e684ab7?source=rss-a1afc1d59968------2</link>
            <guid isPermaLink="false">https://medium.com/p/674a4e684ab7</guid>
            <dc:creator><![CDATA[Solodevstack]]></dc:creator>
            <pubDate>Sat, 23 Mar 2024 12:15:27 GMT</pubDate>
            <atom:updated>2024-03-23T12:15:27.343Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*0Ll_QtU9o18noS2Zz6GtMA.png" /></figure><blockquote>La randomisation est cruciale pour garantir des résultats équitables, imprévisibles et non biaisables dans les systèmes distribués, mais peut être sujette à manipulation sans la conception adéquate.</blockquote><p>La randomisation vérifiable sur chaîne est une ressource cruciale dans les applications Web3. C’est particulièrement le cas avec les loteries en ligne, les jeux blockchain, la création et la génération de NFT, la sélection des leaders, l’allocation des ressources numériques, et bien plus encore. C’est l’ingrédient qui égalise les chances pour les participants afin que les résultats ne puissent être prédits par personne avant leur occurrence, en particulier les opérateurs de nœuds ou d’autres participants qui pourraient essayer d’acquérir des connaissances asymétriques et des avantages.</p><p>L’accès à des sources de randomisation vérifiable permet également d’utiliser d’autres protocoles cryptographiques, tels que les calculs multipartites et les preuves de connaissance nulle. Ces protocoles ont toute une série de leurs propres applications, notamment l’apprentissage automatique préservant la confidentialité, la création de ponts ZK et les calculs vérifiables. La seule question maintenant est : Qu’est-ce que la randomisation vérifiable ?</p><p><strong>Qu’est-ce que la “randomisation vérifiable” ou “bonne” ?</strong><br>Dans notre précédent blog, nous avons affirmé que la randomisation vérifiable ou “bonne”, qui conduit à la génération d’un nombre vraiment aléatoire, possède les caractéristiques suivantes :</p><p>Imprévisible : Personne ne peut calculer le nombre à l’avance.<br>Non biaisable : Le nombre aléatoire ne peut pas être biaisé pour favoriser l’apparition de certains chiffres par rapport à d’autres (par exemple, le nombre est toujours pair ou toujours impair).<br>Publiquement vérifiable : Tout le monde peut vérifier que le nombre aléatoire est correctement généré.<br>Dans notre livre blanc sur la Fonction de Randomisation Vérifiable Distribuée (dVRF), nous avons discuté du fait que le protocole de service de randomisation Supra dVRF satisfait les trois propriétés ci-dessus et fournit donc une bonne randomisation. Maintenant, la question principale est :</p><p>Comment identifier si un protocole de service de randomisation génère une randomisation vérifiable “bonne” ou “mauvaise” (c’est-à-dire non vérifiable) ?</p><p>Dans une série de blogs, nous explorerons comment générer et consommer de la randomisation vérifiable dans l’espace Web3. En commençant par ce post, nous plongerons dans les protocoles de service de randomisation utilisant des schémas de commit-reveal. Nous désignons le concept plus large de commit-reveal comme le paradigme de commit-reveal.</p><p><strong>Analyse du Paradigme de Commit-Reveal</strong></p><p>Commençons par le paradigme simple de commit-reveal pour argumenter qu’il est impossible d’obtenir une randomisation non biaisable dans ce paradigme. Plus tard, nous explorerons également les mêmes vulnérabilités qui poseront problème dans le paradigme de commit-reveal dans lequel des contrats intelligents sont déployés.</p><p>Dans le paradigme simple de commit-reveal, le fournisseur de randomisation et l’utilisateur s’engagent à des valeurs aléatoires x et s en utilisant une fonction de hachage H. Après avoir échangé les engagements, le fournisseur et l’utilisateur révèlent x et s l’un à l’autre. L’utilisateur et le fournisseur vérifient les valeurs révélées par rapport aux engagements. Si les engagements sont vérifiés, ils calculent la randomisation rand=H(x, s). Nous illustrons ce paradigme ci-dessous :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*Oopsqbdv0sGOinqY2OaNfw.png" /></figure><p>Figure 1. Organigramme du paradigme de Commit-Reveal</p><p>Étant donné que l’utilisateur reçoit x du fournisseur après avoir échangé les engagements, l’utilisateur peut calculer anticipativement la sortie. C’est une faille de conception fondamentale car l’utilisateur peut continuer/bloquer le protocole à l’étape 4 si la sortie est favorable/défavorable. Cela permettrait à l’utilisateur de maximiser son profit. Le fournisseur ne peut pas terminer l’exécution sans obtenir s de l’utilisateur puisque s reste secret. Par conséquent, la sortie peut être biaisée.</p><p>Ceci est indésirable dans l’espace Web3, où la randomisation sur chaîne de l’utilisateur est idéalement générée par le fournisseur après que l’utilisateur a initié la demande de randomisation. Cela est indépendant de la question de savoir si l’utilisateur continuera/abandonnera ultérieurement le protocole.</p><p><strong>Impossibilité et Contournement</strong></p><p>Il est impossible d’obtenir une randomisation non biaisée en utilisant commit-reveal sans aucune hypothèse de confiance. Cleve a démontré que deux parties ne peuvent pas générer de randomisation non biaisée sans aucune hypothèse. Cela s’explique par le fait que l’une des parties recevra toujours sa sortie en premier et décidera ensuite d’interrompre le protocole si la sortie est défavorable, similaire à l’attaque précédemment montrée.</p><p>Cependant, dans l’espace Web3, l’utilisateur et le fournisseur peuvent accéder aux contrats intelligents. Les contrats intelligents agissent comme une partie de confiance pour effectuer un calcul correct sur des valeurs publiques. Le service de randomisation utilise des contrats intelligents pour générer une randomisation imprévisible, non biaisable et publiquement vérifiable.</p><p>Cependant, cela est plus facile à dire qu’à faire, surtout dans le paradigme de commit-reveal. Nous montrons que le service de randomisation existant de PythVRF se situe dans ce paradigme et déploie des contrats intelligents, mais qu’ils échouent à produire une sortie de randomisation non biaisable.</p><p><strong>Vulnérabilité dans Pyth VRF</strong></p><p>Le protocole PythVRF opère dans le paradigme de commit-reveal où le fournisseur s’engage initialement à une séquence de valeurs aléatoires (x1, x2,…xN) sur le Contrat Intelligent d’Entropie (CI). Le CI stocke ces engagements.</p><p>L’utilisateur lance une demande en choisissant une valeur aléatoire s. L’utilisateur s’engage à s en tant que c et envoie ensuite c au CI. Le CI stocke c et attribue un numéro de séquence unique — reqid (désigné comme i dans PythVRF), à l’utilisateur. L’utilisateur envoie reqid au fournisseur via une requête HTTP et reçoit xreqid. L’utilisateur révèle (s, xreqid) au CI d’Entropie.</p><p>Le CI vérifie xreqid (par rapport aux engagements stockés) et c, puis calcule la randomisation rand. Le protocole PythVRF peut être visualisé ci-dessous :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*6ofZ1VJ38Sc6KC2ZmY_XmQ.png" /></figure><p>[Figure 2. Organigramme du protocole PythVRF]</p><p>Un utilisateur malveillant attaque le protocole en précalculant rand=H(s, xreqid) une fois qu’il obtient xreqid du fournisseur. Si la sortie est favorable, alors l’utilisateur continue le protocole, sinon il l’interrompt. Cela permet à l’utilisateur de maximiser ses chances de gagner dans un jeu de loterie en ligne où la randomisation de l’utilisateur est prise en compte pour décider des gagnants.</p><p>Avec Supra, un clan de nœuds est utilisé au lieu d’un seul nœud. Par conséquent, les nœuds individuels ne sont pas en mesure d’affecter ou de retenir les sorties aléatoires car aucun d’entre eux n’est capable d’anticiper le résultat à l’avance. Un client ne peut pas empêcher la sortie d’être téléchargée sur chaîne une fois qu’il a initié la demande de randomisation.</p><p><strong>Conclusion</strong></p><p>Ceci est le premier d’une série de billets de blog sur la randomisation vérifiable sur chaîne. Dans ce billet, nous avons discuté de l’impossibilité d’obtenir une sortie non biaisable dans le paradigme simple de commit-reveal. Ensuite, nous avons montré que même en présence de contrats intelligents, il existe des protocoles existants qui échouent à fournir une randomisation non biaisable.</p><p>Dans les prochains billets, nous discuterons de la manière de capturer formellement les propriétés d’imprévisibilité, de non-biasabilité et de vérifiabilité publique qui sont essentielles pour la randomisation sur chaîne. Ensuite, nous plongerons profondément dans les approches basées sur VRF et Beacon pour la randomisation vérifiable sur chaîne.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=674a4e684ab7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Accord d’Oracle Distribué]]></title>
            <link>https://medium.com/@Solodevstack/accord-doracle-distribu%C3%A9-8b8a6c2be838?source=rss-a1afc1d59968------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b8a6c2be838</guid>
            <dc:creator><![CDATA[Solodevstack]]></dc:creator>
            <pubDate>Sat, 23 Mar 2024 11:39:08 GMT</pubDate>
            <atom:updated>2024-03-23T11:39:08.222Z</atom:updated>
            <content:encoded><![CDATA[<p>Distributed Oracle Agreement(DORA)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*FX5M3-4RPkV2RbJmkBLSjg.png" /></figure><p><strong>Qu’est-ce qu’un Oracle ? Pourquoi est-il nécessaire ?</strong></p><p>En termes simples, un oracle est un mécanisme qui connecte une blockchain au monde extérieur à cette chaîne. Une blockchain peut être considérée comme une séquence immuable de transitions d’état émergeant à la suite de l’exécution d’un ordinateur déterministe. Par déterministe, nous entendons que chaque instruction de cet ordinateur produit la même sortie lorsqu’elle reçoit la même entrée. Cet ordinateur déterministe est une abstraction. Sous-jacent, il est implémenté par un réseau de nombreux ordinateurs exécutant un protocole de consensus pour déterminer la séquence d’instructions et leurs résultats.</p><p><strong>Du non-déterminisme au déterminisme</strong><br>Pouvons-nous avoir une instruction getCurrentPrice(“BTC”) dans un tel ordinateur ? NON. Pourquoi ? Parce que la sortie de cette instruction serait différente en fonction du moment où elle est exécutée et de l’endroit où les prix sont récupérés. Cela pose problème, car cela viole la propriété fondamentale de notre ordinateur d’être déterministe.</p><p>Que peut-on faire pour résoudre cela ? L’une des façons de résoudre ce problème est d’obtenir l’ensemble du contexte pour l’instruction en tant qu’entrée. Par exemple, imaginons une instruction comme getPrice(“BTC”,”SomeExchange”,”11:59:59 UTC 7 Dec 2022&quot;). Dans cette instruction, nous spécifions explicitement que nous devons récupérer le prix à quel moment et d’où. Cependant, nous avons encore quelques problèmes à résoudre.</p><p><strong>Archivage<br></strong>Nous supposons que, quel que soit le moment où nous exécutons cette instruction, nous obtiendrons la même sortie. Et si nous essayons d’exécuter cette instruction dans dix ans et que “SomeExchange” n’a pas ces données disponibles ? Et si, hypothétiquement, “SomeExchange” n’avait conservé que cinq ans de données en raison de leur politique de conservation des données à ce moment-là ? Et si une corruption des données s’était produite sur ces données ? Essentiellement, ce dont nous avons besoin est une archive fiable et immuable pour obtenir exactement la même sortie même si nous exécutons cette instruction dans dix ans. Eh bien, nous connaissons déjà un tel mécanisme. Une blockchain elle-même ! Nous pouvons avoir une instruction putPrice(CommodityCode,source,time,value) pour stocker la valeur de CommodityCode obtenue à partir de la source à l’heure dans la blockchain elle-même, qui peut être récupérée en toute sécurité ultérieurement.</p><p><strong>Authenticité</strong><br>Cependant, nous avons encore un problème. Comment savons-nous que la valeur vient effectivement de la source obtenue à l’heure ? Si la source elle-même signe numériquement et certifie que, à l’heure, le prix de CommodityCode est value, alors nous avons terminé. C’est en effet ainsi que fonctionnent certains oracles. Hélas, toutes les sources d’informations ne signent pas numériquement leurs données et ne les mettent pas dans la blockchain. De plus, le simple fait qu’une source de données signe ses données ne signifie pas que les données signées sont réellement exactes. Dans un tel cas, nous avons besoin d’un ensemble d’entités qui peuvent apposer un cachet d’authenticité et certifier que la valeur est effectivement le prix de CommodityCode à la source et à l’heure.</p><p><strong>Agrégation</strong><br>Lorsqu’il existe plusieurs échanges et sources d’informations, il n’y a pas de valeur unique réelle pour une marchandise. Les marchandises peuvent être échangées à des prix différents sur différents échanges. De nombreuses applications blockchain et contrats intelligents nécessitent une seule valeur du prix d’une marchandise. Dans un tel cas, nous devons agréger les prix à partir de plusieurs sources d’informations en une seule valeur représentative. Alors, qu’est-ce qu’un oracle ? En bref, un oracle est un mécanisme qui prend des informations de plusieurs sources et place des informations représentatives authentiques certifiées dans une blockchain de manière déterministe afin que les applications blockchain et les contrats intelligents modernes puissent utiliser ces informations.</p><p><strong>Qu’est-ce qu’un Oracle ?</strong></p><p>Lorsqu’il existe plusieurs sources d’information qui ne signent pas leurs données, nous avons besoin d’un mécanisme qui agrège toutes ces informations en une seule valeur représentative et les place dans la blockchain tout en rendant cela tolérant aux fautes byzantines, au moins dans une certaine mesure. Une faute byzantine fait référence à une faute avec une entité où l’entité est soit non réactive, soit peut dévier arbitrairement d’un protocole convenu, éventuellement de manière malveillante.</p><p>En l’absence de fautes byzantines, un seul nœud recueillant les informations provenant de plusieurs sources est suffisant. Cependant, en présence de fautes byzantines, nous aurions besoin de plusieurs nœuds. Lorsque tous les nœuds peuvent fournir une valeur en tant qu’entrée et que certains des nœuds sont byzantins, le défi pour les nœuds honnêtes restants de s’accorder sur une seule valeur représentative est appelé le problème de DORA (Accord d’Oracle Distribué). Formellement :</p><p>Un protocole DORA entre \(n\) nœuds \(p_1, p_2, \dots, p_n\) avec chaque nœud ayant des entrées \(v_i\), pour une distance d’accord donnée \(\mathcal{D}\), garantit que :</p><p>[Terminaison] : Tous les nœuds honnêtes s’accordent finalement sur une certaine valeur.<br>[Accord] : La valeur de sortie \(S\) pour tous les nœuds est la même.<br>[Validité] : \(H_{min} \leq \mathcal{S} \leq H_{max}\), où \(H_{min}\) et \(H_{max}\) représentent les valeurs minimale et maximale des nœuds honnêtes. Nous désignons la valeur de sortie de DORA comme Supra-valeur ou \(S\)-valeur ou \(\mathcal{S}\).</p><p>Valeur Représentative<br>Remarquez que nous exigeons non seulement que tous les nœuds convergent vers une seule valeur, mais cela doit être une valeur représentative. La propriété de validité mentionnée ci-dessus indique que \(\mathcal{S}\) doit être quelque part entre les valeurs minimale et maximale des nœuds honnêtes. Cependant, cela ne semble pas représentatif. Comment toute valeur entre les valeurs minimale et maximale des nœuds honnêtes peut-elle être qualifiée de représentative des valeurs de tous les nœuds honnêtes ? C’est une question valide. On pourrait penser que prendre la moyenne de toutes les valeurs pourrait être un bon candidat pour créer une valeur représentative. Cette ligne de pensée est tout à fait valide, et pourtant, naïve.</p><p>Non seulement nous avons des nœuds byzantins, mais nous ne savons même pas lesquels sont byzantins et lesquels sont honnêtes. Pendant le calcul de la moyenne, même si une seule valeur d’un nœud byzantin se glisse, la sortie peut dévier arbitrairement de la moyenne de toutes les valeurs honnêtes. La médiane offre une alternative robuste en tant que valeur représentative car elle est un agrégateur statistique qui peut tolérer la corruption des données jusqu’à 50%. Malheureusement, en présence d’un maximum de \(\frac{1}{3}\) de nœuds byzantins, la garantie donnée dans la propriété de validité ci-dessus est la meilleure garantie possible que quiconque puisse fournir. Veuillez vous référer au livre blanc de DORA pour une preuve formelle de ceci.</p><p>Architecture de l’Oracle de Supra<br>Le service d’Oracle de Supra suppose qu’un SMR (Réplication de Machine d’État) alias service de blockchain est disponible.</p><p>Qu’est-ce qu’un SMR ?<br>En termes informels, un SMR (Réplication de Machine d’État) offre un service d’ordonnancement de telle sorte que tout message envoyé à ce service d’ordonnancement devient une partie d’un ordre total, et chaque nœud lisant des messages à partir de ce service observe le même ensemble de messages dans le même ordre total exact.</p><p>Architecture Tribe-Clan<br>Une tribu est un ensemble de nœuds. Une tribu peut continuer à fonctionner en toute sécurité et à progresser sur les services qu’elle offre tant que le nombre de nœuds devenant byzantins est inférieur à \(\frac{1}{3}\) de tous les nœuds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2tFVX4DUTZEsWiTGgryaYA.png" /></figure><p>À partir d’une tribu, nous tirons de manière uniforme et aléatoire des sous-ensembles de nœuds. Nous appelons chaque sous-ensemble ainsi obtenu un clan. Chaque clan est tiré de telle manière que la probabilité d’avoir la moitié ou plus de nœuds byzantins dans un clan soit négligeable. Notre protocole DORA est conçu de telle sorte que dans des circonstances normales, nous n’avons besoin que d’un clan pour calculer et s’accorder sur une valeur \(S\). Cela signifie que DORA peut fonctionner avec un nombre plus restreint de nœuds et peut résister à une plus grande fraction de nœuds devenant byzantins.</p><p><strong>Déchiquetage des Commodités</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*byGNKQRuNE9Z0mRTJTbc4Q.png" /></figure><p>Un fournisseur de services d’oracle peut avoir besoin de fournir une valeur représentative pour de nombreuses marchandises différentes, telles que BTC/USD, ETH/USD, etc. Comme nous n’avons besoin que d’un clan pour exécuter le protocole DORA, nous répartissons également la responsabilité des différentes marchandises entre différents clans. Par exemple, si nous devons agréger et fournir des valeurs \(S\) pour 100 marchandises différentes et si nous avions 4 clans, alors chaque clan pourrait se voir confier la responsabilité de calculer des valeurs \(S\) pour 25 marchandises.</p><p><strong><em>Maintenant, examinons comment fonctionne une itération du protocole DORA.</em></strong></p><p><strong>Collecte de données</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*wUNRsRSqpcbSNjnuy6RkLQ.png" /></figure><p>A chaque nœud du clan est attribué un ensemble de sources de données pour obtenir la valeur du prix d’une marchandise. Comme vous pouvez le voir dans l’image ci-dessus, chaque nœud obtient des données de plusieurs sources de données. Pourquoi cela ? Eh bien, un clan ne peut fonctionner correctement que si moins de \(\frac{1}{2}\) des nœuds du clan sont byzantins. Par exemple, imaginez un scénario où nous avons 51 nœuds dans notre clan, dont 25 d’entre eux sont déjà devenus byzantins. Jusque-là, tout va bien. Maintenant, imaginez que nous avons une conception où chaque nœud obtient ses données à partir d’une seule source de données.</p><p>Et maintenant, que se passe-t-il si la source de données devient byzantine ? Même un nœud honnête, s’il reçoit des données d’une seule source byzantine, présente un comportement byzantin. Des données erronées entraînent des résultats erronés. Ainsi, nous avons maintenant 26 nœuds sur 51 présentant un comportement byzantin. Il n’y a maintenant aucune garantie que le clan puisse produire une valeur quelconque, et si tel est le cas, que cette valeur se rapprocherait d’un prix représentatif idéal d’une marchandise. Cela rend l’oracle inefficace.</p><p>Il est vrai que les prix des actifs sur certaines bourses dévient considérablement en raison de problèmes techniques ou d’autres raisons. Il est donc sage de ne pas se fier uniquement à une seule source d’information. Dans notre conception, si nous voulons résister à l’échec de \(f_{d}\) sources de données, alors nous exigeons que chaque nœud écoute au moins \(2f_{d} + 1\) sources de données pour obtenir le prix d’une marchandise.</p><p>Notez également qu’il y a plusieurs nœuds récupérant des données à partir de chaque source de données. Pourquoi cela ? Eh bien, imaginez maintenant que nous sommes dans une situation où la source de données est honnête mais que le nœud est byzantin. Le prix fourni par la source de données honnête peut ne pas être du tout pris en compte lors du calcul de la valeur \(S\). C’est pourquoi nous nous assurons qu’il existe plusieurs chemins par lesquels ces informations peuvent être prises en compte dans le calcul. Maintenant, nous devons examiner une autre subtilité.</p><p>Par exemple, si nous avons un total de 10 sources de données, et que chaque nœud est tenu d’écouter au moins 3 sources de données, comment pouvons-nous être sûrs que les prix de chaque source de données sont pris en compte dans le calcul final ? Que se passe-t-il si tous les nœuds écoutent les 3 premières sources de données et que personne n’écoute les 7 restantes ? Pour éviter cette situation, l’attribution des sources de données aux nœuds est réalisée via une VRF (fonction aléatoire vérifiable). De cette manière, nous pouvons garantir que toutes les sources de données fournissent leurs données à un nombre approximativement égal de nœuds dans le clan.</p><p><strong>Agrégation au niveau des nœuds</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*MBtESSxTbi8BBLsGHUU62A.png" /></figure><p>Une fois qu’un nœud a reçu les prix de plusieurs sources de données, il calcule sa médiane. Cette valeur médiane est garantie de se situer entre les valeurs minimale et maximale des sources de données honnêtes. Ainsi, tant qu’un nœud reçoit la majorité des prix provenant de sources de données honnêtes, il calculera une valeur qui est bornée par des valeurs honnêtes.</p><p><strong>Rôle des Agrégateurs</strong></p><p>Une fois qu’un nœud a calculé une valeur, nous devons maintenant trouver un moyen pour l’ensemble du clan de s’accorder sur une seule valeur. Étant donné que différents nœuds écoutent différents ensembles de sources de données, les valeurs calculées par différents nœuds peuvent être différentes. C’est là qu’intervient un agrégateur. Nous désignons un ensemble de nœuds de la tribu comme étant des agrégateurs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*FLXrsL7utGOuVGwnt7gZAA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b8a6c2be838" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SUPRA NETWORK ACTIVATE PROGRAM]]></title>
            <link>https://medium.com/@Solodevstack/supra-network-activate-program-4187090f21ef?source=rss-a1afc1d59968------2</link>
            <guid isPermaLink="false">https://medium.com/p/4187090f21ef</guid>
            <dc:creator><![CDATA[Solodevstack]]></dc:creator>
            <pubDate>Tue, 12 Mar 2024 13:18:12 GMT</pubDate>
            <atom:updated>2024-03-12T13:18:12.004Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ntKFTUcC3rf2mtlrhHD4xg.jpeg" /></figure><blockquote>Empowering Growth with SNAP: A Pathway to Web3 Success</blockquote><h4>In the rapidly evolving landscape of Web3 technologies, access to reliable data feeds and secure verification mechanisms is paramount for the success of blockchain projects. However, the associated costs can often act as a barrier to entry for many promising ventures. This is where the Supra Network Activate Program (SNAP) comes into play, offering a lifeline of support and incentives to early adopters.</h4><h3>What is SNAP:</h3><p>The Supra Network Activate Program (SNAP) is an innovative incentive program designed to empower blockchain projects by providing them with significant discounts on core products, novel data feeds, and Verifiable Random Functions (VRFs). Additionally, SNAP offers crucial technical support and guidance, aimed at fostering the scaling and growth of Web3 technologies.</p><h3>Who is SNAP for:</h3><p>SNAP is tailored to reward both funded and pre-funding blockchain projects and companies that integrate with Supra’s oracles or VRF. Whether operating in the realms of DeFi, GameFi, Web3 media, or beyond, SNAP provides a valuable opportunity for promising ventures to thrive.</p><h3>The Financial Benefits of SNAP</h3><ol><li>Free services for 6 months: Selected participants gain access to oracle and dVRF services completely free of charge for the initial six-month period, with no strings attached.</li><li>Stake $SUPRA for credits: Upon the conclusion of the complimentary period, participants have the option to stake $SUPRA or other approved tokens to continue availing of free services. This flexible approach allows projects to manage their resources efficiently while benefiting from continued support.</li></ol><h3>How it Works:</h3><ol><li>Get started: Prospective participants can kickstart their journey by submitting an application form to apply for SNAP benefits, initiating their path towards Web3 success.</li><li>First 6 months: Upon selection, participants enjoy six months of complimentary oracle and dVRF services, providing them with the foundational support necessary for growth and development.</li><li>After 6 months: Following the initial period, participants can choose to stake $SUPRA to receive service credits, ensuring ongoing access to essential resources.</li><li>After SNAP period: Should participants decide to transition out of the program, they retain the flexibility to unstake at any time, reclaiming their full balance without hassle.</li></ol><p>In conclusion, SNAP represents more than just a program; it’s a catalyst for innovation and progress within the Web3 ecosystem. By offering vital support and incentives to early-stage blockchain projects, SNAP paves the way for transformative growth and success in the dynamic world of decentralized technologies.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4187090f21ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Verifiable Random Function(VRF)]]></title>
            <link>https://medium.com/@Solodevstack/verifiable-random-function-vrf-38f9032f840b?source=rss-a1afc1d59968------2</link>
            <guid isPermaLink="false">https://medium.com/p/38f9032f840b</guid>
            <dc:creator><![CDATA[Solodevstack]]></dc:creator>
            <pubDate>Sat, 24 Feb 2024 12:57:06 GMT</pubDate>
            <atom:updated>2024-02-24T12:57:06.006Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uRjTK1C8PzmmWGhqbV6M-A.jpeg" /></figure><blockquote>Exploring the Applications of Verifiable Random Functions (VRF) in Blockchain with a Focus on Supra.</blockquote><p><strong>Introduction:</strong></p><p>Verifiable Random Functions (VRF) have emerged as a crucial component in blockchain technology, offering decentralized and verifiable randomness for a wide range of applications. In this article, we will delve into the diverse use cases of VRF within blockchain ecosystems, highlighting the innovative solutions provided by Supra VRF.</p><p>1. Securing Blockchain Consensus:<br> — VRF plays a pivotal role in securing blockchain consensus mechanisms by introducing randomness into the selection process of block validators or leaders.<br> — Supra VRF enhances this functionality by providing decentralized and verifiable randomness, ensuring the integrity and fairness of the consensus algorithm.</p><p>2. Gaming and Entertainment:<br> — In gaming platforms built on blockchain, VRF is utilized to generate random outcomes for various in game features such as loot drops, item allocation, and reward distribution.<br> — Supra VRF offers a decentralized and tamper-proof solution for implementing randomness in gaming applications, enhancing user experience and fairness.</p><p>3. Decentralized Finance (DeFi):<br> — DeFi protocols often require randomness for tasks like lottery drawings, interest rate calculations, or asset tokenization.<br> — Supra VRF provides DeFi platforms with a secure and transparent method for generating random values, ensuring the integrity of financial transactions and operations.</p><p>4. Decentralized Autonomous Organizations (DAOs):<br> — DAOs rely on randomness for tasks such as member selection, voting mechanisms, and allocation of resources.<br> — Supra VRF enables DAOs to conduct fair and transparent decision-making processes by providing verifiable randomness on-chain.</p><p>5. Cryptographic Operations:<br> — VRF is utilized in cryptographic operations such as key generation, encryption, and secure communication protocols.<br> — Supra VRF enhances the security of cryptographic applications by offering decentralized randomness generation, reducing the risk of manipulation or bias.</p><p>Conclusion:</p><p>The utilization of Verifiable Random Functions (VRF) in blockchain technology has opened up a myriad of possibilities across various sectors. With its decentralized and verifiable nature, VRF has become indispensable in ensuring fairness, security, and transparency in blockchain-based applications. Supra VRF, with its innovative approach and robust functionality, stands as a leading solution for developers navigating the complexities of decentralized systems. As the blockchain ecosystem continues to evolve, the importance of VRF in maintaining trust and integrity will only grow, making it a cornerstone technology for the future of decentralized finance, gaming, governance, and beyond.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38f9032f840b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>