<?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 Mark Damasco on Medium]]></title>
        <description><![CDATA[Stories by Mark Damasco on Medium]]></description>
        <link>https://medium.com/@markdamasco?source=rss-f9aafe473876------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*P_bK1Ri2TywRA-UyQ7xX_Q.png</url>
            <title>Stories by Mark Damasco on Medium</title>
            <link>https://medium.com/@markdamasco?source=rss-f9aafe473876------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 20:20:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@markdamasco/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[Entropy: Pyth Network’s Solution for Secure On-Chain Randomness]]></title>
            <link>https://markdamasco.medium.com/entropy-pyth-networks-solution-for-secure-on-chain-randomness-4e788435f06c?source=rss-f9aafe473876------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e788435f06c</guid>
            <category><![CDATA[entropy]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[solana-blockchain]]></category>
            <category><![CDATA[pyth]]></category>
            <dc:creator><![CDATA[Mark Damasco]]></dc:creator>
            <pubDate>Fri, 14 Feb 2025 02:23:16 GMT</pubDate>
            <atom:updated>2025-02-17T11:06:57.474Z</atom:updated>
            <content:encoded><![CDATA[<h4>Table of contents<br><a href="https://markdamasco.medium.com/entropy-pyth-networks-solution-for-secure-on-chain-randomness-8b50d57dd115#25a0">1. Introduction</a><br><a href="https://markdamasco.medium.com/entropy-pyth-networks-solution-for-secure-on-chain-randomness-8b50d57dd115#68a6">2. Deterministic Nature of Blockchains</a><br><a href="https://markdamasco.medium.com/entropy-pyth-networks-solution-for-secure-on-chain-randomness-8b50d57dd115#8dad">3. Pyth Network’s Entropy</a><br><a href="https://markdamasco.medium.com/entropy-pyth-networks-solution-for-secure-on-chain-randomness-8b50d57dd115#a686">4. How Pyth Entropy Works</a><br><a href="https://markdamasco.medium.com/entropy-pyth-networks-solution-for-secure-on-chain-randomness-8b50d57dd115#eadc">5. Impact on DeFi and Web3</a><br><a href="https://markdamasco.medium.com/entropy-pyth-networks-solution-for-secure-on-chain-randomness-8b50d57dd115#72c0">6. Real-World Use Cases</a><br><a href="https://markdamasco.medium.com/entropy-pyth-networks-solution-for-secure-on-chain-randomness-8b50d57dd115#600f">7. Challenges and Considerations</a><br><a href="https://markdamasco.medium.com/entropy-pyth-networks-solution-for-secure-on-chain-randomness-8b50d57dd115#03c1">8. Conclusion</a></h4><h3>Overview</h3><p>Blockchain applications, ranging from non-fungible token (NFT) mints to decentralized gaming and DeFi protocols, often rely on random number generation to ensure fairness, security, and unpredictability. But, achieving true randomness on-chain has proven to be a persistent challenge due to several inherent limitations: (i) <em>the deterministic nature of blockchains</em>, (ii) <em>vulnerability to manipulation by miners or validators</em>, (iii)<strong> </strong><em>slow response times</em>, and (iv)<strong> </strong><em>lack of trust in randomness sources.</em></p><p>These challenges hinder the development of fair, secure, and efficient decentralized applications (dApps), potentially stifling innovation and user adoption. As the Web3 ecosystem evolves, addressing these hurdles is critical for building trustworthy blockchain-based platforms that can rival centralized systems.</p><p>This article explores the limitations of on-chain randomness and discusses potential solutions, particularly focusing on Pyth Network’s Entropy. By examining real-world examples and emerging technologies, we aim to provide a comprehensive understanding of randomness in blockchain systems and highlight pathways toward robust implementations.</p><h3>1. Introduction</h3><p>Randomness, a cornerstone of physics since the 19th century, has profound implications in both natural and computational systems. The concept of “entropy” (2nd law of thermodynamics), introduced by <a href="https://www.sciencedirect.com/science/article/pii/S2214629623000683#:~:text=Rudolf%20Clausius%20(1822%E2%80%931888),and%20science%20%5B17%2Cp."><em>Rudolf Clausius</em></a> in the mid-1800s and later formalized in statistical mechanics by Ludwig Boltzmann, describes the measure of disorder or randomness in a system.</p><p>Entropy underpins our understanding of thermodynamics, showing how energy disperses and systems evolve toward states of higher randomness over time. In quantum mechanics, <a href="https://scienceexchange.caltech.edu/topics/quantum-science-explained/uncertainty-principle#:~:text=Formulated%20by%20the%20German%20physicist,about%20its%20speed%20and%20vice"><em>Werner Heisenberg’s uncertainty principle</em></a> further solidified randomness as an intrinsic feature of nature, demonstrating that certain properties of particles cannot be precisely predicted, only probabilistically estimated.</p><p>In computational systems, randomness refers to the absence of predictable patterns, essential for applications requiring unpredictability, such as cryptography and simulations.</p><p>But, generating truly random numbers is inherently challenging within deterministic frameworks like blockchains. Blockchain technology operates on principles of transparency, immutability, and decentralization — qualities that ensure security but clash with the unpredictable essence of randomness. The deterministic nature of blockchains ensures consistency across nodes but complicates the integration of randomness. Moreover, the influence of miners or validators introduces opportunities for manipulation, undermining fairness in processes reliant on random outcomes.</p><p>As blockchain ecosystems expand into decentralized finance (DeFi), NFTs, and gaming, robust randomness solutions become critical. Drawing inspiration from physics, where entropy quantifies disorder and unpredictability, we recognize the need for mechanisms that emulate true randomness while maintaining the integrity of decentralized systems.</p><h3>2. Deterministic Nature of Blockchains</h3><p>Blockchains are designed to be deterministic systems, meaning that every node must produce identical results when processing the same inputs. This property ensures consensus among distributed participants but makes it challenging to introduce true randomness without external input.</p><h4><strong>Deterministic Nature of Blockchains</strong></h4><p>Blockchains are designed to be deterministic systems, ensuring that every node processes the same inputs identically to maintain consensus. This property, however, makes introducing true randomness challenging.</p><p>Common approaches to generating randomness on-chain include:</p><ul><li><strong>Block Hashes. </strong>Derived from transaction data and timestamps, but not entirely unpredictable.</li><li><strong>Transaction Data.</strong> Visible to all network participants, making it exploitable.</li></ul><p>These internal randomness sources are insufficient for high-security applications, as they can be exploited by malicious actors.</p><h4><strong>Vulnerability to Manipulation</strong></h4><p><em>Proof-of-Work (PoW) Systems</em></p><p>Miners can influence block hashes by selectively including transactions, potentially skewing outcomes in lotteries or betting games.</p><p><em>Proof-of-Stake (PoS) Systems</em></p><p>Validators can reorder or exclude transactions to manipulate randomness outcomes, leading to unfair reward distributions in DeFi protocols.</p><h4>Slow Response Times</h4><p>Generating and verifying random numbers on-chain can be computationally intensive, causing delays:</p><ul><li><strong>Bitcoin</strong> ~10 minutes per block</li><li><strong>Ethereum</strong> ~12 seconds per block</li></ul><p>For real-time applications like decentralized gaming, such delays are impractical.</p><h4><strong>Lack of Trust in the Randomness Source</strong></h4><p>Trust is a cornerstone of any blockchain application. Users and developers must believe that the randomness source is unbiased and resistant to manipulation. Unfortunately, many existing approaches fail to meet this standard.</p><h4><strong>Internal Sources of Randomness</strong></h4><p>Some blockchains rely on internal randomness sources, such as block hashes or transaction data. While convenient, these methods are often inadequate for high-security applications due to their predictability and susceptibility to manipulation.</p><h4><strong>External Oracles</strong></h4><p>To address the limitations of internal sources, some projects turn to external oracles for randomness. But, the reliability and trustworthiness of these oracles remain contentious. If an oracle is compromised or biased, it can jeopardize the entire application.</p><p>For example:</p><ul><li>In a decentralized lottery system, users need assurance that the randomness generation process is fair. Any doubts about the oracle’s integrity can lead to skepticism and disengagement.</li></ul><h3>3. Pyth Network’s Entropy</h3><p><strong>Pyth Entropy is</strong> an innovative approach for delivering secure random numbers on the blockchain and has launched on the mainnet. Entropy is a response to the community’s demand for a fast and cheap source of on-chain randomness.</p><p>Further, it enables smart contract developers to tap into a secure and reliable source of randomness on-chain. Trustless RNG is critical for Web3 applications designed to deliver unpredictable outcomes across gaming, NFTs, lotteries, betting markets, and more.</p><h4><strong>Rapid Response Time</strong></h4><p>Entropy ensures quick generation and verification of random numbers, significantly improving the user experience for time-sensitive applications.</p><p>Unlike traditional on-chain randomness methods that rely on block confirmations, Entropy leverages a <strong>“pull” model</strong>. This means that users directly request random numbers from the Pyth network, eliminating the need to wait for block times. This results in near-instantaneous generation and verification of random values.</p><p><em>Push vs Pull Oracle</em></p><p>Push and pull oracles differ on a number of important dimensions:</p><ul><li><strong>Update frequency</strong>. In a “<strong>push oracle”</strong>, every price feed updates at a fixed update frequency. The oracle operator determines the frequency, but it typically ranges from every 10 minutes to 1 hour. In contrast, “<strong>pull oracles</strong>” on Pyth can update at a much higher frequency. For example, every Pyth price feed updates every “<strong>400 milliseconds”.</strong></li><li><strong>Latency</strong>. An oracle’s update frequency also affects its prices’ latency. The higher update frequencies of pull oracles allow applications to access lower-latency data.</li><li><strong>Blockchain support</strong>. Pull oracles support a wide variety of different blockchains. Push oracles typically support a smaller number of blockchains, as each additional chain requires ongoing gas expenditures.</li><li><strong>Price feed selection</strong>. Similar to the item above, pull oracles also support a wide selection of price feeds. In contrast, push oracles typically have a more limited selection. Push oracles generally cannot support a wide selection of feeds due to the gas cost of periodically updating each feed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/0*joHZAnj0s1MOb6nD.gif" /><figcaption>Push Vs Pull Oracle (Pyth is Pull).</figcaption></figure><h4><strong>Strong Security Guarantees</strong></h4><p>By leveraging advanced cryptographic techniques, Entropy ensures that the generated randomness is secure and resistant to manipulation, providing a high level of trust.</p><p>Moreover, entropy employs a robust commit-reveal scheme based on advanced cryptographic techniques. This involves multiple steps to ensure the randomness is unpredictable and resistant to tampering. First, a commitment to the random value is generated and publicly posted. Then, after a delay, the actual value is revealed. This separation of commitment and reveal phases ensures that the final random number cannot be manipulated.</p><h4><strong>Easy Integration</strong></h4><p>Designed with developers in mind, Entropy offers straightforward integration, allowing for seamless adoption across various blockchain applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/0*fT6I5jRZaTFXoCxj.png" /><figcaption>takes just a few lines of code between your smart contract and frontend.</figcaption></figure><p>Pyth Entropy is designed with developer-friendliness in mind. It provides simple APIs and libraries for easy integration into smart contracts and dApps. This reduces the complexity of incorporating reliable randomness into various blockchain applications, saving developers time and effort.</p><h4><strong>Blockchain-Agnostic Design</strong></h4><p>Entropy is designed to be compatible with multiple blockchain platforms, making it a versatile solution for the wider Web3 ecosystem.</p><p>Pyth Entropy is not limited to a single blockchain. It is built to be compatible with various blockchain platforms, including <strong>Ethereum</strong>, <a href="http://solana.com/"><strong>Solan</strong></a><strong>a</strong>, <strong>BNB Chain</strong>, and more. This flexibility enables developers to leverage Entropy’s reliable randomness across a wide range of Web3 ecosystems and applications.</p><h3>4. How Pyth Entropy Works</h3><p>Pyth Entropy employs a <strong>“commit/reveal protocol” </strong>optimized for on-chain usage, where a provider commits to a sequence of random numbers using a hash chain, and users can request and verify the random numbers to ensure that neither the provider nor the user can manipulate the outcome. This ensures the randomness is verifiable and secure as long as one of the parties remains honest.”</p><h4><strong>Verifiable Delay Functions (VDFs)</strong></h4><p>VDFs introduce a delay in the generation of randomness, making it infeasible for any single party to manipulate the outcome within a short timeframe. This helps prevent front-running and other forms of manipulation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ohm7s-nEDgW2LPMr.gif" /></figure><p>Moreover, VDFs are a key component in the randomness generation process. VDFs require a specific amount of time to compute, ensuring that the output cannot be predicted or manipulated within a short timeframe. This feature makes it significantly more difficult for malicious actors to game the system.</p><p>Simplified VDF Verification Process. The notation “x, y, π → F(x) = y” suggests that given the input x, output y, and some proof π, the verifier can efficiently confirm that F(x) indeed equals y.</p><h4><strong>External Entropy Sources</strong></h4><p>By incorporating randomness from external, unpredictable sources (e.g., real-world events or hardware random number generators), Entropy enhances the unpredictability and security of the generated random numbers.</p><h4><strong>Cryptographic Proofs</strong></h4><p>Pyth Entropy relies on cryptographic proofs to ensure the integrity and correctness of the randomness generation process. These proofs provide verifiable evidence that the random numbers were generated according to the protocol’s rules and have not been tampered with. This transparency adds a crucial layer of trust and reliability to the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/0*-aey6E1IjgiyMJNr.gif" /></figure><p><em>Setup Phase:</em></p><p><strong>Provider P computes a sequence of N random numbers:</strong></p><ol><li><strong>Alice</strong> (Provider P in the statement) would generate a sequence of random numbers: x_{N-1}, x_{N-2}, …, x_1, x_0.</li><li>Each x_i is derived from x_{i+1} using a hash function: x_i = hash(x_{i+1}).</li><li>The <strong>“Secret Key”</strong> in the diagram could represent x_{N-1}, the last number in this sequence.</li></ol><p><em>Request Phase:</em></p><ol><li>A user U (<strong>BOB)</strong> generates their own random number x_U and submits its “hash” h_U to the contract.</li><li>The contract assigns a sequence number i to this request.</li><li>The user requests the i’th random number from the provider off-chain.</li><li>The provider (Alice) reveals x_i to the user after verifying the sequence number.</li><li>The user submits both x_i and x_U to the contract.</li><li>The contract verifies the integrity of x_i and x_U using their respective hashes.</li><li>If verified, the final random number r is generated using both x_i and x_U.</li></ol><p><em>This protocol ensures:</em></p><ol><li><strong>Randomness</strong>. As long as either the provider or user is honest, r is truly random.</li><li><strong>Non-manipulation</strong>. Neither party can predict or manipulate the final random number.</li><li><strong>Verifiability.</strong> The contract can verify the correctness of the revealed numbers.</li><li><strong>Sequence integrity</strong>. The hash chain prevents the provider from changing past numbers.</li></ol><h3>5. Impact on DeFi and Web3</h3><p>The introduction of Entropy could have far-reaching implications for the DeFi and Web3 space:</p><h4><strong>Enhanced Security</strong></h4><p>Pyth Entropy’s strong security guarantees can significantly enhance the security of decentralized applications, reducing the risk of manipulation and fraud. The solution uses a decentralized network of data providers and a <strong>verifiable delay function (VDF)</strong> to generate secure random numbers[<a href="https://crypto.stanford.edu/~dabo/pubs/papers/VDFsurvey.pdf">9</a>].</p><p>This approach makes it extremely difficult for any single entity to predict or manipulate the outcome, thereby increasing the overall security of applications relying on randomness.</p><h4><strong>Improved UX (User Experience)</strong></h4><p>By providing fast and reliable randomness, Pyth Entropy can improve the user experience in applications such as blockchain gaming and NFT mints, where quick and fair outcomes are essential. Entropy also guarantees reliable, responsive callbacks to keep your app running.</p><h4><strong>Enabling New Applications</strong></h4><p>With secure on-chain randomness, new types of fair and transparent on-chain applications become possible. This can drive innovation and expand the range of use cases for blockchain technology.</p><p>For instance, complex multi-party games, sophisticated prediction markets, and advanced cryptographic protocols that require unpredictable inputs can now be implemented more effectively on blockchain platforms.</p><h4><strong>Increased Trust</strong></h4><p>By addressing the challenges of on-chain randomness, Entropy can increase trust in blockchain-based random number generation, fostering greater adoption of decentralized applications.</p><h4><strong>Cost-Effective Solution</strong></h4><p>Pyth Entropy offers a cost-effective solution for obtaining randomness on-chain. Traditional methods of generating randomness on blockchain can be expensive due to the computational resources required. Pyth Entropy’s efficient design and use of off-chain computation for the VDF calculation help keep costs low for developers and end-users.</p><h4><strong>Cross-Chain Compatibility</strong></h4><p>Pyth Entropy is designed to be blockchain-agnostic, with initial support for Solana, and has expanded to other major blockchain platforms. This cross-chain compatibility allows developers to implement consistent randomness across different blockchain ecosystems, facilitating interoperability and expanding the potential user base for applications.</p><h4><strong>Regulatory Compliance</strong></h4><p>The verifiable and auditable nature of Pyth Entropy’s randomness generation process can help applications meet regulatory requirements, particularly in industries like gaming and gambling where provable fairness is crucial. This could potentially open up new markets and use cases for blockchain technology in regulated industries.</p><h3>6. Real-World Use Cases</h3><p>Entropy’s capabilities open up possibilities for various applications:</p><h4><strong>Fair NFT Distributions and Reveals</strong></h4><p>Randomness is crucial for ensuring fair distribution and reveal of NFTs, preventing manipulation and ensuring a level playing field for all participants.</p><h4><strong>Secure Random Selection in DAOs and Governance</strong></h4><p>Decentralized Autonomous Organizations (DAOs) often require random selection processes for tasks such as committee member selection or voting. Entropy ensures these processes are fair and transparent.</p><h4><strong>Providing fair Gambling and Gaming Applications</strong></h4><p>Pyth Entropy can ensure that outcomes in gambling and gaming applications are truly random and provably fair, enhancing user trust and regulatory compliance. For example, in a <strong>“</strong><a href="https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ethereum/examples/coin_flip"><strong>coin flip </strong></a><strong>game” [</strong><a href="https://docs.pyth.network/entropy/examples"><strong>16</strong></a><strong>]</strong>, Pyth Entropy can provide a fair and transparent mechanism to determine the result, assuring players that the game is not rigged​</p><h4><strong>Randomized Task Allocation in Decentralized Computation Networks</strong></h4><p>In decentralized computation networks, tasks need to be allocated randomly to prevent collusion and ensure fair distribution of work. Entropy provides a secure solution for this requirement.</p><h3>7. Challenges and Considerations</h3><p>While Entropy presents a promising solution, some challenges and considerations remain:</p><ol><li><strong>Adoption by Developers</strong>. Encouraging developers to adopt and integrate Entropy into their projects is crucial for its success. This requires comprehensive documentation, support, and community engagement.</li><li><strong>Scalability Concerns</strong>. As the usage of Entropy grows, scalability may become a concern. Ensuring that the system can handle a large number of requests without compromising performance is essential.</li><li><strong>Ongoing Security Audits and Monitoring</strong>. Continuous security audits and monitoring are necessary to ensure that Entropy remains secure against evolving threats and vulnerabilities.</li><li><strong>Regulatory Compliance</strong>. Depending on the jurisdiction, regulatory compliance may be a consideration for applications using Entropy. Ensuring that the solution adheres to relevant regulations is important for broader adoption.</li></ol><h3>8. Conclusion</h3><p>Pyth Network’s Entropy represents a significant step forward in addressing the challenge of secure on-chain randomness. By providing a fast, reliable, and trustworthy source of random numbers, Entropy has the potential to unlock new possibilities in the DeFi and Web3 space. As the solution gains adoption and proves its efficacy, it could play a crucial role in driving innovation and building user trust in decentralized applications.</p><p>In summary, the integration of secure randomness through solutions like Entropy is not just a technical enhancement; it’s a foundational requirement for the next wave of decentralized applications. Ensuring fairness, security, and transparency in randomness can lead to more robust, trustworthy, and engaging applications, driving forward the adoption and maturity of the blockchain ecosystem.</p><h4>References</h4><p><em>[1] Nakamoto, S. (2008). Bitcoin: A Peer-to-Peer Electronic Cash System.<br>[2] Knuth, D. E. (1997). The Art of Computer Programming, Volume 2: Seminumerical Algorithms.<br>[3] Bitcoin Core Development Team. (2023). Bitcoin Block Time Statistics.<br>[4] Ethereum Foundation. (2023). Ethereum Block Time Overview.</em></p><p><em>[5] </em><a href="https://ethereum.stackexchange.com/questions/83847/what-is-meant-by-on-chain-randomness-what-is-the-difference-between-on-chain-an"><em>https://ethereum.stackexchange.com/questions/83847/what-is-meant-by-on-chain-randomness-what-is-the-difference-between-on-chain-an</em></a></p><p><em>[6] </em><a href="https://chain.link/education-hub/randomness-web3"><em>https://chain.link/education-hub/randomness-web3</em></a></p><p><em>[7] </em><a href="https://bitcoin.stackexchange.com/questions/1863/why-was-the-target-block-time-chosen-to-be-10-minutes"><em>https://bitcoin.stackexchange.com/questions/1863/why-was-the-target-block-time-chosen-to-be-10-minutes</em></a></p><p><em>[8] </em><a href="https://ethereum.stackexchange.com/questions/149349/why-are-ethereum-slots-12-seconds"><em>https://ethereum.stackexchange.com/questions/149349/why-are-ethereum-slots-12-seconds</em></a></p><p><em>[9] </em><a href="https://pyth.network/blog/pyth-entropy-random-number-generation-for-blockchain-apps"><em>https://pyth.network/blog/pyth-entropy-random-number-generation-for-blockchain-apps</em></a></p><p><em>[10] </em><a href="https://docs.pyth.network/price-feeds/pull-updates"><em>https://docs.pyth.network/price-feeds/pull-updates</em></a></p><p><em>[11] </em><a href="https://docs.pyth.network/entropy/best-practices"><em>https://docs.pyth.network/entropy/best-practices</em></a></p><p><em>[12] </em><a href="https://docs.pyth.network/entropy/contract-addresses"><em>https://docs.pyth.network/entropy/contract-addresses</em></a></p><p><em>[13] </em><a href="https://crypto.stanford.edu/~dabo/pubs/papers/VDFsurvey.pdf"><em>https://crypto.stanford.edu/~dabo/pubs/papers/VDFsurvey.pdf</em></a></p><p><em>[14] </em><a href="https://en.wikipedia.org/wiki/Entropy"><em>https://en.wikipedia.org/wiki/Entropy</em></a></p><p><em>[15] </em><a href="https://docs.pyth.network/entropy/protocol-design"><em>https://docs.pyth.network/entropy/protocol-design</em></a></p><p><em>[16] </em><a href="https://pyth.network/entropy"><em>https://pyth.network/entropy</em></a></p><p><em>[17] Talk by Ben Fisch at BPASE 18, Stanford Cyber Initiative</em></p><p><em>[18] </em><a href="https://docs.pyth.network/entropy/current-fees"><em>https://docs.pyth.network/entropy/current-fees</em></a></p><p><em>[19] </em><a href="https://docs.pyth.network/entropy/contract-addresses"><em>https://docs.pyth.network/entropy/contract-addresses</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e788435f06c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding RPC and Its Role in Blockchain with Triton One]]></title>
            <link>https://markdamasco.medium.com/understanding-rpc-and-its-role-in-blockchain-with-triton-one-8e42bc2dbe4d?source=rss-f9aafe473876------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e42bc2dbe4d</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[rpc]]></category>
            <category><![CDATA[rpc-node]]></category>
            <category><![CDATA[dapps]]></category>
            <dc:creator><![CDATA[Mark Damasco]]></dc:creator>
            <pubDate>Tue, 17 Dec 2024 03:54:42 GMT</pubDate>
            <atom:updated>2024-12-17T03:54:42.485Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*e-OW1iFePc_KDqFj.png" /></figure><p>Today, In the digital age, decentralized applications (dApps) are transforming how we interact with the internet, offering (i) <strong>transparency</strong>, (ii) <strong>security</strong>, and (iii) <strong>decentralization</strong>. At the core of these dApps lies a crucial technology known as <strong>Remote Procedure Calls (RPCs)</strong>. In simple terms, RPCs act as messengers, enabling communication between your dApp and the blockchain.</p><p>This interaction is vital for performing tasks like fetching <strong>account balances</strong>, <strong>sending transactions</strong>, or <strong>interacting with smart contracts.</strong></p><p>Setting up and maintaining a RPC connection can be a daunting and costly endeavor for developers. This is where <a href="https://x.com/triton_one"><strong>Triton One</strong>,</a> a leading RPC provider, comes into play. Triton One simplifies blockchain access for dApps by offering powerful RPC solutions tailored to various project needs.</p><h3>What is RPC?</h3><p>A RPC, or Remote Procedure Call, is a protocol that one program can use to request a service from a program located on another computer within a network. In the context of blockchain, RPCs allow dApps (decentralized Applications) to communicate with the blockchain nodes (Validators), enabling them to retrieve information or execute transactions.</p><blockquote>Imagine RPCs as the bridge between your application &amp; the blockchain. Without this bridge, dApps would be unable to interact with the blockchain, rendering them ineffective. RPCs ensure that dApps can request data, execute transactions, &amp; interact w/ smart contracts easily. -<a href="https://x.com/0xmarkdams">Oxmarkdams</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*6scBI5eVyTk5Kito.jpeg" /></figure><h3>Simplifying Blockchain Access</h3><p><a href="https://x.com/triton_one"><strong>Triton One</strong></a> is a leading RPC provider Co-founded by Sir <a href="https://x.com/brianlong"><strong>Brian Long</strong></a><strong>, </strong><a href="https://x.com/linuskendall"><strong>Linus Kendall</strong></a><strong>,</strong> &amp; <a href="https://x.com/mbroeken"><strong>Marco Broeken</strong></a> that offers a powerful solution called RPC Pool — a multichain RPC service. This solution acts as a gateway for dApps to access blockchain data, providing both shared and dedicated RPC services. Whether you’re a <strong>small startup</strong> or a <strong>large-scale application</strong>, <a href="https://x.com/triton_one"><strong>Triton One</strong></a> has the right solution for you.</p><h3>Triton’s RPC Pool</h3><p>RPC Pool is your premier solution for reliable, scalable access to multiple blockchains. Whether you’re a growing dApp or an established project, their shared &amp; dedicated node options deliver the performance and features you need.</p><h4>Core Features</h4><p>Every RPC Pool endpoint offers:</p><ul><li><strong>GeoDNS for Enhanced Reliability.</strong> Automatic routing to the optimal node for your location (shared pool and multi-node dedicated clusters).</li><li><strong>Fail-Over Protection.</strong> Seamless switchover to backup clusters in case of disruptions.</li><li><strong>Complete Archive Access.</strong> Trace blockchain data all the way back to its Genesis.</li><li><strong>Full RPC and Websocket Compatibility.</strong> Integrate easily with your preferred tools and frameworks.</li></ul><h4>Specialized Solana Features</h4><p>They take Solana development to the next level with:</p><ul><li><strong>Dragon’s Mouth gRPC Subscriptions.</strong> Real-time data through Geyser for maximum performance.</li><li><strong>Whirligig Websockets.</strong> High-speed access powered by Geyser.</li><li><strong>Digital Assets API.</strong> Triton supports the <a href="https://developers.metaplex.com/das-api"><strong>Metaplex</strong></a> Digital Assets Standard (DAS) API, making it easier to work with NFTs. This API enables dApps to query NFT metadata &amp; access information about Compressed NFTs. Triton also handles the decompression of NFTs and data caching server-side, saving developers time and resources.</li></ul><h3>Dedicated Solana Node Enhancements</h3><p>For dedicated Solana users, they offer even more</p><ol><li><strong>Flexible Geyser Plugin Integration.</strong> Choose standard plugins or customize to your exact requirements.</li><li><strong>Custom Solana Validator Configs.</strong> Optimize performance based on your specific workloads.</li><li><strong>Rate Limiting Customization.</strong> Protect your infrastructure while ensuring smooth operation.</li><li><strong>Specialized Archive Endpoints.</strong> Expedite indexing tasks with dedicated archival access.</li></ol><h3>Why Triton One?</h3><p>Triton’s RPC solutions are designed to empower dApp developers to focus on what truly matters — building innovative and impactful applications.</p><p>Here are some key reasons to choose Triton One:</p><ul><li><strong>Reliability</strong>. Triton’s geographically distributed infrastructure and fail-over mechanisms ensure uninterrupted service.</li><li><strong>Flexibility</strong>. Whether you need shared or dedicated RPC services, Triton offers options tailored to your project’s needs.</li><li><strong>Performance</strong>. Triton’s solutions are optimized for performance, ensuring your dApp runs smoothly and efficiently.</li><li><strong>Solana-Specific Features</strong>. For Solana-based projects, Triton offers unique enhancements that improve functionality and ease of use.</li><li><strong>Developer-Friendly</strong>. With comprehensive archive access, full RPC and Websocket compatibility, and support for the Metaplex Digital Assets API, Triton makes it easy for developers to build and manage their dApps.</li><li><strong>Low Latency &amp; Priority Routes</strong>. By running well-staked validators, RPC nodes, and trading servers in the same data center, Triton offers the lowest possible latency. This setup improves read latency by up to <strong>400ms</strong> compared to regular RPC nodes, thanks to fast hardware and data retransmissions from validators.</li></ul><blockquote><em>As Jeff (</em><a href="https://x.com/japarjam"><strong><em>JaparJam</em></strong></a><strong><em>)</em></strong><em> puts it.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/0*prnMlJ4PVxwMan-Z.png" /></figure><h3>Triton: Your Partner in dApp Success</h3><p>Whether you’re a budding startup or an established dApp powerhouse, Triton’s RPC Pool empowers you to leverage the full potential of blockchain technology. By simplifying blockchain access and providing powerful RPC solutions, Triton enables developers to focus on innovation and building impactful applications.</p><h3>Final Thoughts</h3><p>RPCs are the backbone of dApps, enabling smooth communication with the blockchain. However, managing RPC connections can be complex and costly. Triton simplifies this process by offering powerful RPC solutions tailored to various project needs. With Triton’s RPC Pool, developers can access blockchain data effortlessly, ensuring their dApps run smoothly and efficiently.</p><p>For Solana-based projects, Triton offers specialized features that enhance performance and ease of use. By choosing Triton, developers can focus on building innovative applications without worrying about the complexities of RPC management. Triton is more than just an RPC provider — it’s a partner in your dApp success.</p><p>With Triton, you get everything you need for fast on-chain data and execution, including the lowest possible latency and priority routes. This is achieved by running well-staked validators, RPC nodes, and trading servers in the same data center, resulting in up to 400ms improved read latency compared to regular RPC nodes. Additionally, the federated network of validators aggregates cumulative stakes, ensuring reliability and performance.</p><p>Stakeholders benefit from multiple sources of rewards, including traditional staking rewards. With real-time data streaming, you can see account changes within the current slot, gaining a trading edge and discovering new ways to navigate &amp; execute on-chain. Triton’s solutions, such as Geyser plugins for real-time account streaming, are designed to support the fastest possible configuration for arbitrage and other trading strategies.</p><p>By choosing Triton One, you’re not just getting an RPC provider; you’re getting a partner committed to your dApp’s success.</p><h4>Check them out on:</h4><p><a href="https://x.com/triton_one"><strong>Twitter (X)</strong></a></p><p><a href="https://www.triton.one/"><strong>Website</strong></a></p><p>Learn more at <a href="https://docs.triton.one/"><strong>Triton One Docs</strong></a></p><p>&amp; Watch the talk on YouTube with Sir Brian Long:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJD1f3lxmis4%3Fstart%3D1%26feature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJD1f3lxmis4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJD1f3lxmis4%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/096d7c1a5473581958c2c1afcbbe9ce8/href">https://medium.com/media/096d7c1a5473581958c2c1afcbbe9ce8/href</a></iframe><blockquote><strong>Sources Consulted are duly Hyperlinked.</strong></blockquote><blockquote>Feel free to reach out to me on Twitter <a href="https://hashnode.com/@Oxmarkdams">@Oxmarkdams</a> any suggestions or opinions. If you find this even slightly insightful, please share it — I’ve invested countless hours crafting this content, and your support means everything in helping it reach a wider audience. Thank you</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e42bc2dbe4d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transforming Layer 2 Solutions for Decentralized Finance and Web3 Applications with Rome Protocol]]></title>
            <link>https://markdamasco.medium.com/transforming-layer-2-solutions-for-decentralized-finance-and-web3-applications-with-rome-protocol-cc7e10e4a863?source=rss-f9aafe473876------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc7e10e4a863</guid>
            <category><![CDATA[rome-protocol]]></category>
            <category><![CDATA[solana-network]]></category>
            <category><![CDATA[evm-compatibility]]></category>
            <category><![CDATA[layer-2-solution]]></category>
            <category><![CDATA[modular-blockchain]]></category>
            <dc:creator><![CDATA[Mark Damasco]]></dc:creator>
            <pubDate>Mon, 04 Nov 2024 13:55:30 GMT</pubDate>
            <atom:updated>2024-11-05T09:19:56.655Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HVN84IZkNkPdmYaB6vi_lA.jpeg" /></figure><h4>How Rome Protocol Enhances Speed, Security, and Interoperability</h4><p>Today, Blockchain technology continues to progress at a rapid speed:<strong> </strong><a href="https://chain.link/education-hub/what-is-layer-2"><strong>Layer 2</strong></a><strong> (L2)</strong> solutions and <strong>interoperability</strong> are becoming essential to improve scalability and efficiency. As of mid-2024, over<strong> ~80% of all Ethereum</strong> transactions are processed via L2, indicating a strong shift towards these technologies as users seek <strong>lower fees</strong> and <strong>faster processing times.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/0*dZlWGPcqJdoW3DVI.png" /><figcaption>Ethereum Layer-2 Transaction Share. Source: IntoTheBlock</figcaption></figure><p>But, many challenges remain, particularly in ensuring fast, secure, and decentralized transactions across different ecosystems.</p><p>The<strong> </strong><a href="https://www.rome.builders/"><strong>Rome</strong></a><strong> Protocol</strong> aims to enhance interoperability between blockchain ecosystems by transforming Solana into a modular framework of dedicated services. This innovative strategy focuses on three primary objectives: making L2 solutions as fast and decentralized as Solana, enabling <strong>Ethereum Virtual Machine (EVM)</strong> decentralized applications (dApps) to operate on <strong>Solana Virtual Machine (SVM)</strong> while tapping into its vast user base, high throughput, cost-efficient and facilitating <strong>atomic composability</strong> for smooth interactions between the Solana and Ethereum networks.</p><p>Additionally, Rome provides developers with <a href="https://www.alchemy.com/overviews/rollups-as-a-service-raas"><strong>RaaS (Rollup-as-a-Service)</strong></a>, facilitating the creation and management of rollups without needing to build new cross-chain interoperability infrastructures. This allows Ethereum developers to use familiar tools like the <a href="https://medium.com/r?url=https%3A%2F%2Fspecs.optimism.io%2Fprotocol%2Fexec-engine.html"><strong>OP Stack</strong></a> for execution and state maintenance.</p><p>Now, let’s Analyze and later explore how (a) Rome EVM, (b) Shared Sequencer, (c) Interoperability, and (d) Data Availability “DA” work together to revolutionize blockchain infrastructure, the importance of modular blockchain architecture, and why these innovations are crucial for the future of decentralized finance (DeFi) and Web3 applications.</p><h3>Blockchain Silos and Scalability Issues</h3><p>As blockchain networks have matured, a few critical problems have emerged, affecting the growth and development of decentralized applications (dApps).</p><p>Some of the issues include:</p><ol><li><strong>Siloed Blockchain Networks.</strong> Different blockchain ecosystems like Ethereum and Solana operate largely independently. While <strong>Ethereum boasts a massive user base </strong>and developer community, <strong>Solana excels in speed and low transaction costs</strong>. But, interoperability between these chains has been limited, preventing flawless interactions and asset transfers across them.</li><li><strong>Scalability Challenges.</strong> Even though L2 solutions like rollups have been introduced to Ethereum, they still suffer from slower transaction finality and higher costs compared to Solana. While Solana is faster and cheaper, it lacks the Ethereum ecosystem’s mature (Network effects) dApp infrastructure and developer tools.</li><li><strong>Decentralization VS Speed Trade-Off.</strong> Increasing transaction throughput often comes at the cost of decentralization, which is a cornerstone of blockchain’s promise. Many blockchains that prioritize speed have struggled to maintain a truly decentralized network.</li></ol><p>Without solutions to these problems, the adoption of DeFi and other Web3 applications faces significant barriers. Users and developers need networks that are fast, decentralized, and interoperable to unlock the full potential of blockchain technology.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_Aob4upLY4tQpysF.png" /><figcaption>Rome Interoperability can bridge the gaps in the fragmented ecosystem.</figcaption></figure><h3>Rome’s Modular Blockchain Architecture</h3><p>To understand why Rome’s modular blockchain architecture is a game-changer, it’s helpful to look at how blockchain architectures have evolved and why modularization is so important: Early blockchain systems like <strong>Bitcoin</strong> and <strong>Ethereum </strong>were built as <a href="https://en.wikipedia.org/wiki/Monolithic_architecture#:~:text=Monolithic%20architecture%20describes%20buildings%20which,the%20Pancha%20Rathas%20in%20India."><strong>monolithic architectures</strong></a>, meaning every part of the blockchain —<strong> consensus</strong>,<strong> execution</strong>, <strong>data availability,</strong> and <strong>settlement </strong>— was handled by the same network.</p><p>While these systems were revolutionary in decentralization and transparency, they struggled to scale as more users and transactions flooded the network. This led to high fees, slow transaction times, and limited interoperability.</p><h4>The Rise of L2 Solutions and Modularity</h4><p>To address these limitations, developers began experimenting with <strong>L2 solutions</strong> on networks like Ethereum, such as rollups “roll-up” and sidechains. These L2s are designed to handle transaction execution separately from the main blockchain, <strong>reducing congestion</strong> and <strong>lowering fees.</strong></p><p>But, even with these improvements, interoperability between different ecosystems remained a challenge, and L2s were often constrained by the limitations of the main blockchain.</p><p>In recent years, <strong>modular blockchain architecture</strong> has emerged as a promising solution, separating key components of the blockchain so they can operate independently. This architecture has allowed developers to build specialized modules for each blockchain function, enabling flexibility, scalability, and interoperability across ecosystems.</p><p>Projects like <strong>Polkadot</strong> and <strong>Cosmos</strong> pioneered this approach by creating interconnected blockchains that communicate through shared protocols. For example, Polkadot’s relay chain connects various “parachains” (independent blockchains) that specialize in different functions.</p><p>Cosmos uses a similar hub-and-zone model that allows diverse blockchains to connect through the <strong>I</strong><a href="https://cosmos.network/ibc/"><strong>nter-Blockchain Communication (IBC) protocol</strong></a>. Both ecosystems have demonstrated that modularity can improve scalability and enhance cross-chain functionality, paving the way for a new era of blockchain interoperability.</p><h4>Rome’s Unique Approach</h4><p>Rome takes modular architecture to the next level by focusing on Solana’s technology. Unlike Polkadot and Cosmos, which rely on interoperability hubs, Rome modularizes Solana’s consensus into a set of enshrined services that provide unique benefits for Ethereum-compatible (EVM) applications. This enables any Ethereum-based decentralized application (dApp) to be deployed on Solana, benefiting from Solana’s high speed, low cost, and decentralized infrastructure.</p><p>Here’s how Rome’s components tackle specific blockchain challenges:</p><h4>A) Rome EVM: Enabling EVM Compatibility on Solana</h4><p>One of the core components of Rome’s architecture is <strong>Rome EVM</strong>, which enables Ethereum-based applications to run on Solana while allowing interoperability between <a href="https://spl.solana.com/token"><strong>SPL tokens</strong></a><strong> (Solana tokens)</strong> and <a href="https://www.bitcoin.com/get-started/what-are-erc-20-tokens/#:~:text=ERC%2D20%20tokens%20are%20sets,other%20token%20in%20the%20set."><strong>Ethereum’s ERC-20 tokens</strong></a><strong> (Ethereum tokens)</strong>.</p><p>This approach is similar to what <strong>Polygon</strong> has achieved on Ethereum. Polygon, originally known as Matic, serves as a sidechain that connects Ethereum-based dApps to a faster, lower-cost environment, effectively increasing Ethereum’s scalability.</p><p>Rome EVM, however, extends this functionality to Solana’s ecosystem. By using OP Geth (an Ethereum client), Rome EVM allows developers to bring their dApps directly onto Solana without having to rewrite their codebase. Users can conduct Ethereum-like transactions on Solana, taking advantage of the network&#39;s speed and low fees while still maintaining compatibility with Ethereum-based assets. This innovation provides a familiar environment for Ethereum developers while opening the door to Solana’s superior performance.</p><p><strong>How does it work?</strong></p><p>Rome EVM utilizes <a href="https://docs.optimism.io/stack/getting-started"><strong>OP Geth</strong></a>, an Ethereum client implementation, which creates a familiar execution environment for developers. Users can now conduct EVM transactions on Solana, bringing the power and security of Solana’s high throughput, low latency, and low-cost transactions to Ethereum-based applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Zp3C7cHKGH-Lksu_" /><figcaption><strong>OP Geth </strong>enables Ethereum compatibility,<strong> Rhea API </strong>sequences transactions, and <strong>Hercules (blocks of ordered txn)</strong> executes them on Solana, facilitating interoperability.</figcaption></figure><p>In essence, Rome EVM transforms Solana into a scalable, efficient version of Ethereum without requiring developers to rebuild their dApps from scratch.</p><p><strong>Potential Use Cases</strong>:</p><p><a href="https://aave.com/"><strong>Aave</strong> </a>and <strong>Uniswap</strong> are popular dApps in the Ethereum ecosystem that could potentially leverage Rome EVM to reach Solana users. If deployed via Rome EVM, these applications could offer faster, more cost-effective transactions for their users, expanding their reach while improving user experience.</p><h4>B) Shared Sequencer</h4><p>Rome’s <strong>Shared Sequencer (SS) </strong>is designed to bring Solana’s transaction speed and decentralization to Layer 2 solutions. While most L2s are constrained by the main blockchain’s limitations, Rome’s Shared Sequencer provides L2s with Solana’s high throughput and fast transaction finality. It accomplishes this using four components: <strong>Rhea</strong>, <strong>Hercules</strong>, a rollup smart contract on Solana, and an Ethereum client like OP Geth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_r0zIgyfi0TS65UD" /></figure><p>Rome’s Shared Sequencer mirrors what <strong>Optimism</strong> and <strong>Arbitrum</strong> have achieved as Ethereum-based rollups, which help process transactions off-chain and then report results back to Ethereum. But, by using Solana’s infrastructure as the base layer, Rome’s Shared Sequencer enables faster transaction finality and lower fees, enhancing scalability while preserving decentralization.</p><p><strong>Example of Success</strong>:</p><p>Projects like <strong>Loopring</strong> and <strong>Immutable X</strong> have built Ethereum rollups for decentralized exchanges and NFT marketplaces, respectively. If these projects utilized Rome’s Shared Sequencer, they could potentially offer their users <strong>faster transaction processing</strong> and <strong>reduced fees</strong> by leveraging Solana’s infrastructure.</p><p>The Shared Sequencer (SS) takes advantage of Solana’s ability to confirm transactions quickly and efficiently, with high throughput and low costs, all while maintaining a decentralized infrastructure. The entire Solana stake backs this process, ensuring secure and immutable transaction ordering.</p><h4>C) Rome Interop</h4><p>Rome’s <strong>Interop </strong>“interoperability” component focuses on cross-chain composability, enabling Ethereum and Solana transactions to be <strong>atomically composable</strong>. This means that a transaction on Ethereum can automatically trigger one on Solana without requiring an intermediary, and both transactions succeed or fail together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*JFuNx3zidX1iqYonTnt-xw.png" /><figcaption>L2’s, ZKevm leverage Solana’s shared sequencer — maintaining atomic composability.</figcaption></figure><p>This feature builds on the success of <strong>cross-chain bridges</strong> like <a href="https://wormhole.com/"><strong>Wormhole</strong> </a>and <strong>Ren Protocol</strong>, which allow assets to move between blockchains. But, Rome Interop goes a step further by enabling true atomic transactions, meaning that developers can create applications that span both ecosystems without compromising security or requiring trust in a third party.</p><p><strong>Why is this a game-changer?</strong></p><p>Cross-chain transactions have been fraught with inefficiencies, often requiring multiple layers of trust or third-party bridges that slow down the process and add security risks. Rome Interop solves this by enabling atomic composability, meaning that a transaction on Ethereum can automatically trigger one on Solana and vice versa, without relying on a centralized intermediary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*etA4aab4D8MzEgdT4Imc3A.png" /></figure><p><strong>How does it work?</strong></p><p>Rome Interop uses the <strong>Rome SDK</strong>, <strong>Rome Light Client</strong>, and <strong>Fast Finality Layer </strong>across Rollups. The SDK enables developers to create atomic cross-chain transactions easily. The Light Client ensures efficient communication between chains, while the Fast Finality Layer guarantees that transactions are finalized quickly and securely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*r49z70skN2Ci8dNO" /><figcaption>Remus: cross-rollup atomicity</figcaption></figure><p>In essence, it’s a system that allows transactions from different rollups to be bundled together and executed as one atomic unit on Solana, ensuring they either all succeed or all fail together.</p><h4>D) High Throughput Data Availability</h4><p>Are you familiar with <a href="https://docs.celestia.org/learn/how-celestia-works/data-availability-layer"><strong>Celestia</strong></a><strong>?</strong> It is one of the early pioneers in the blockchain space, particularly known for its innovative approach to data availability DA. Recently, Rome Protocol secured a <strong>p</strong><a href="https://x.com/RomeProtocol/status/1848802779567149364/photo/1"><strong>artnership with Celestia</strong></a>, highlighting the growing importance of data availability (DA) in enhancing blockchain scalability.</p><p>Without high throughput and secure DA, L2 solutions are bottlenecked by the amount of data they can handle at any given time. <strong>Rome DA </strong>solves this by providing L2s with high throughput DA using Solana’s security, Reliability, and Efficiency.</p><p><strong>What is DA and why does it matter?</strong></p><p>In simple terms, Data Availability ensures that transaction data is accessible and verifiable by all participants in the network. High throughput DA is necessary for ensuring that as transaction volumes increase, the network can handle the load without slowing down.</p><p><strong>How does Rome DA enhance scalability?</strong></p><p>By leveraging Solana’s robust security and throughput, Rome DA ensures that L2s can access and verify the data they need quickly and efficiently. This guarantees that even as transaction volumes grow, the network remains decentralized, secure, and scalable — this is called “<strong>blockchain Trilemma”</strong> a term coined by Ethereum co-founder Vitalik Buterin in his blog post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*0PfwVm3-lVsqx4TQ.jpg" /><figcaption><a href="https://chainstack.com/modular-blockchain-architecture-scalability-trilemma/">source</a></figcaption></figure><h3>Why Rome’s Modular Approach Matters for the Blockchain Ecosystem?</h3><p>Rome’s modular approach to blockchain architecture represents a significant evolution in blockchain technology. By separating Solana’s consensus into discrete modules, Rome provides specialized tools to address specific needs within the blockchain space, from interoperability to scalability and data availability. These components not only enable Ethereum-based dApps to access Solana’s high-performance infrastructure but also open up new possibilities for flawless cross-chain interactions.</p><p>Rome’s success, along with other modular projects like <strong>Cosmos</strong>, <strong>Polkadot,</strong> and <strong>Celestia,</strong> demonstrates that modular blockchain architecture is the future of scalability and interoperability in blockchain ecosystems. Projects using Rome’s architecture can create fast, cost-effective, and decentralized applications that function smoothly cross Solana and Ethereum, improving user experience and setting a new standard for cross-chain interactions.</p><p>Rome is well-positioned to solve many of the current blockchain ecosystem’s most pressing issues. Its modularity enables an unprecedented level of flexibility, allowing developers to pick and choose the services that best suit their needs while benefiting from Solana’s powerful infrastructure.</p><p>As a result, the Rome modular blockchain architecture has the potential to become a foundational layer for the next generation of decentralized applications, powering everything from DeFi to gaming to enterprise applications in a scalable, secure, and user-friendly environment.</p><h3>Parting Thoughts</h3><p>Rome Protocol is more than just an interoperability layer or another L2 solution; it’s a paradigm shift for <strong>blockchain scalability</strong>, <strong>decentralization</strong>, and <strong>cross-chain collaboration</strong>. By modularizing Solana’s consensus mechanism, Rome allows <strong>EVM-based dApps</strong> to deploy efficiently on Solana (SVM), addressing critical challenges such as <strong>liquidity fragmentation</strong> and <strong>cross-chain compatibility.</strong></p><p>This integration is not only about increasing transaction speeds and high throughput; it’s about creating a cohesive ecosystem where dApps, users, and developers can interact flawlessly across chains. For developers, Rome offers a scalable infrastructure that makes building high-performance dApps easier.</p><p>For DeFi enthusiasts, it promises faster and cheaper transactions without the typical barriers and risks associated with cross-chain interactions. Rome brings all these elements together through innovations like the Rome EVM, Shared Sequencer, Interop, and Data Availability (DA), making it a robust answer to the scalability and interoperability demands of Web3.</p><p>In a future defined by interconnected, decentralized networks, Rome stands out as a critical enabler, pushing blockchain towards a more inclusive and flexible model. The days of isolated ecosystems are numbered, and as blockchains grow beyond single-chain silos, <strong>Rome Protocol </strong>could be instrumental in unlocking new horizons for developers, users, and the blockchain ecosystem at large.</p><blockquote><em>“All roads lead to Rome.”</em></blockquote><p><strong>References:</strong></p><p>[<a href="https://specs.optimism.io/protocol/exec-engine.html">1]https://specs.optimism.io/protocol/exec-engine.html</a></p><p>[2] <a href="https://www.rome.builders/">https://www.rome.builders/</a></p><p>[3]<a href="https://www.rome.builders/rome-shared-sequencer">https://www.rome.builders/rome-shared-sequencer</a></p><p>[4]<a href="https://mirror.xyz/0x83037f3049971Ee6b998EFA1Aa2Fa9F455d110dE/fYqy8bijgojEc07Z_wJi4DWYSkiqZ-3xgmxj6IHhwZw">https://mirror.xyz/0x83037f3049971Ee6b998EFA1Aa2Fa9F455d110dE/fYqy8bijgojEc07Z_wJi4DWYSkiqZ-3xgmxj6IHhwZw</a></p><p>[5]<a href="https://docs.rome.builders/">https://docs.rome.builders/</a></p><p>[6]<a href="https://docs.celestia.org/learn/how-celestia-works/data-availability-layer">https://docs.celestia.org/learn/how-celestia-works/data-availability-layer</a></p><p>[7]<a href="https://cryptoslate.com/ethereum-transaction-fees-hit-record-low-as-layer-2-networks-absorb-more-activity/">https://cryptoslate.com/ethereum-transaction-fees-hit-record-low-as-layer-2-networks-absorb-more-activity/</a></p><p>[8]<a href="https://cosmos.network/ibc/">https://cosmos.network/ibc/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc7e10e4a863" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ZK Rollups on Ethereum and ZK Compression on Solana Head-to-Head]]></title>
            <link>https://markdamasco.medium.com/zk-rollups-on-ethereum-and-zk-compression-on-solana-head-to-head-bbe4507362ea?source=rss-f9aafe473876------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbe4507362ea</guid>
            <category><![CDATA[zk-compression]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[solanas]]></category>
            <category><![CDATA[zkrollup]]></category>
            <category><![CDATA[scaling]]></category>
            <dc:creator><![CDATA[Mark Damasco]]></dc:creator>
            <pubDate>Sun, 07 Jul 2024 04:19:17 GMT</pubDate>
            <atom:updated>2024-08-30T02:53:38.762Z</atom:updated>
            <content:encoded><![CDATA[<h4>Choosing the Right Blockchain for Your Needs</h4><blockquote><strong><em>Table of Contents:</em></strong><em><br>1. </em><a href="#93d5"><em>INTRODUCTION</em></a><em><br>2. </em><a href="#f97b"><em>Zero-Knowledge Proofs (ZKPs)</em></a><em><br>3. </em><a href="#9da4"><em>zk-Rollups (Zero-knowledge rollups) on Ethereum</em></a><em><br>4. </em><a href="#7bae"><em>On Solana, Everything is an Account</em></a><em><br>5. </em><a href="#d6bb"><em>zk Compression on Solana </em></a><em><br>6. </em><a href="#f53c"><em>TL;DR Key Differences of zk-Rollup and zk Compression</em></a><em><br>7. </em><a href="#174e"><em>Use Cases of ZK Compression on Solana</em></a><em><br>8. </em><a href="#5089"><em>My Humble Opinion</em></a></blockquote><h4>OVERVIEW</h4><p>In this article, I’ll explore <strong>zk-Rollups </strong>on <a href="https://ethereum.org/en/foundation/"><strong>Ethereum</strong></a> and<strong> zk Compression</strong> on <a href="http://solana.com/"><strong>Solana</strong></a><strong> </strong>and their key differences, use cases, etc. — two innovations leveraging zero-knowledge proofs (ZKPs) to enhance blockchain scalability. These solutions address the blockchain trilemma by increasing transaction throughput and improving data management, all while upholding the core principles of blockchain technology. I’m working hard on this project, I hope to achieve my goal of having a balanced comparison of both chains.</p><h3>INTRODUCTION</h3><p>Today, the crypto ecosystem is continuously evolving to tackle three primary issues (i) scalability, (ii) security, and (iii) decentralization. This is known as the “blockchain trilemma”, a term coined by one of my deeply respected persons in Crypto <strong>Vitalik Buterin</strong>, which posits that achieving all three of these attributes simultaneously is incredibly challenging.</p><p>Moreover, Blockchains like <a href="https://ethereum.org/en/foundation/"><strong>Ethereum</strong></a> and <a href="http://solana.com/"><strong>Solana</strong></a><strong> </strong>operate on a vast, decentralized network of computers. Each transaction on the network must be validated and recorded on the blockchain, ensuring transparency and security.</p><p>However, this process creates a bottleneck (i) Limited transaction throughput — every node in the network must process every transaction, limiting the number of transactions the network can handle per second (TPS). (ii) High transaction fees — as network congestion increases, users compete for limited block space, driving up transaction fees.</p><p>Now, let’s start with a brief overview of how ZKPs address some of these challenges.</p><h3>Zero-Knowledge Proofs (ZKPs)</h3><p>There are various implementations of ZKPs, with each having its own trade-offs of proof size, prover time, verification time, and more. To learn more, I highly recommend <a href="https://vitalik.eth.limo/general/2022/06/15/using_snarks.html">Vitalik’s Blog post</a>. The core purpose of all ZKPs is to provide a “<em>proof of knowledge”</em>.</p><h4><strong>What is it?</strong></h4><p>ZKPs are at the forefront of the blockchain space, primarily due to their pivotal role in “rollups.” These scaling solutions often utilize <a href="https://www.investopedia.com/terms/z/zksnark.asp">ZK-SNARKs</a>, a specific type of ZKP known for its succinctness. Succinct proofs offer fixed size and fast verification, making them ideal for on-chain use where efficiency is paramount.</p><p>Basically, ZKPs are a cryptographic method that allows one party (the prover) to prove to another party (the verifier) that they know a specific piece of information or that a statement is true, <em>without revealing</em> that information itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yvu03_KGzYgS--kEklPmnw.gif" /><figcaption>The interactive Mechanism of ZKPs proves knowledge about data without revealing the data to another party.</figcaption></figure><p>In the diagram:</p><ul><li><strong>Prover.</strong> Someone who knows a secret and wants to prove they know it without revealing the secret itself.</li><li><strong>Verifier.</strong> Someone who wants to confirm the prover knows the secret, but doesn’t need to know the secret itself.</li><li><strong>UI (Make a Proof).</strong> A tool that helps the prover create a special proof to show they know the secret.</li><li><strong>Server (Check Proof).</strong> A system that checks the proof the prover made to see if it’s valid. It can confirm the prover knows the secret without actually learning the secret.</li></ul><p><strong>ZKPs play a crucial role in addressing Blockchain Trilemma:</strong></p><ul><li><strong>Scalability.</strong> By enabling off-chain computation and verification, ZKPs increase throughput and transaction speed, addressing the scalability issue.</li><li><strong>Security.</strong> ZKPs provide a strong cryptographic guarantee that computations are done correctly, maintaining security while scaling.</li><li><strong>Decentralization.</strong> ZKPs enable trustless verification, meaning that anyone can verify the correctness of proof without needing to trust the party that generated it.</li></ul><p>Okay, we already have an idea of how ZKP works now let’s try to unpack the nuance implementation of ZKP between Ethereum and Solana.</p><h3><strong>ZK-Rollups (Zero-knowledge rollups) on Ethereum</strong></h3><p>ZK-rollups bundle (<strong>or “roll up”</strong>) transactions into batches that are executed off-chain. <strong>Off-chain computation</strong> reduces the amount of data that has to be posted to the blockchain. ZK-rollup operators submit a summary of the changes required to represent all the transactions in a batch rather than sending each transaction individually. They also produce validity proofs to prove the correctness of their changes.</p><p>The ZK-rollup’s state is maintained by a <em>“smart contract”</em> deployed on the Ethereum network. To update this state, ZK-rollup nodes must submit a validity proof for verification. As mentioned, the validity proof is a cryptographic assurance that the state change proposed by the rollup is really the result of executing the given batch of transactions. This means that ZK-rollups only need to provide “<em>validity proofs”</em> to finalize transactions on Ethereum instead of posting all transaction data on-chain like <a href="https://ethereum.org/en/developers/docs/scaling/optimistic-rollups/">optimistic rollups</a>.</p><p>Furthermore, the <a href="https://www.eip4844.com/">Ethereum EIP-4844</a> upgrade, also known as Proto-Danksharding, introduced a significant change to how Layer 2 (L2) rollups interact with the Ethereum network — (i) Blobs are designed to provide a cheaper and more efficient way for L2 rollups to store transaction data on the Ethereum mainnet (ii) Each Ethereum block can now accommodate up to 6 blobs, with each blob holding 128KB of data (iii) Blobs are temporarily stored in the beacon node (part of the Ethereum consensus layer) for roughly two weeks before being pruned to manage storage requirements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*WZv-6DUUI8wJ9UxJyod1oA.png" /><figcaption>Zk-rollups bundle transactions into batches that are executed off-chain and verified on-chain using validity proof.</figcaption></figure><h4><strong>How zk-Rollups Work on Ethereum (Post EIP-4844)?</strong></h4><ol><li><strong>Off-chain Execution.</strong> Transactions are processed on a separate network (the zk-Rollup).</li><li><strong>State Updates &amp; Proof Generation.</strong> The zk-Rollup’s state is updated, and a zero-knowledge proof (ZKP) is created to prove the validity of these changes.</li><li><strong>On-chain Verification &amp; Data Availability:</strong></li></ol><p><strong>(i) ZKP Verification.</strong> The ZKP is submitted to a smart contract on Ethereum’s mainnet for verification.</p><p><strong>(ii) Transaction Data Availability.</strong> Transaction data (or a commitment to it) is made available either:</p><ul><li><strong>On-chain.</strong> Directly on Ethereum (via “blobs” introduced in EIP-4844, reducing costs compared to pre-EIP-4844 methods).</li><li><strong>Off-chain.</strong> With additional mechanisms to ensure data remains accessible and verifiable.</li></ul><h4><strong>Advantages of zk-Rollups on Ethereum:</strong></h4><p>zk-Rollups on Ethereum offer a multitude of advantages, including (i) enhanced scalability through off-chain execution and (ii) batched proof verification, (iii) reduced gas fees due to lower computational load, (iv) increased security by inheriting Ethereum’s security model via ZKPs, (v) efficient compatibility with Ethereum smart contracts and infrastructure, and (vi) improved data availability through EIP-4844’s “blobs”.</p><h4>Real-World Application Examples of zk Rollups on Ethereum</h4><ol><li><a href="https://loopring.org/#/"><strong>Loopring</strong></a> is a zkRollup-based decentralized exchange (DEX) protocol that offers fast and low-cost trading with enhanced privacy. By utilizing zkRollups, Loopring can process thousands of transactions per second while maintaining the security of Ethereum.</li><li><a href="https://zksync.io/"><strong>zkSync</strong></a><strong> (</strong>Payments &amp; Transfers<strong>) </strong>is a layer 2 scaling solution for Ethereum, utilizing zkRollups to enable fast and low-cost payments. It supports microtransactions and cross-border payments, making it an ideal solution for everyday financial transactions.</li><li><a href="https://www.immutable.com/"><strong>Immutable X</strong></a><strong> </strong>is a layer 2 scaling solution for NFTs, built using zkRollups. It offers a marketplace where users can create, buy, and sell NFTs with zero gas fees and instant trade confirmation.</li><li><a href="https://aztec.network/"><strong>Aztec</strong></a><strong> </strong>is a zkRollup-based protocol that enhances privacy and scalability for DeFi applications. It enables complex financial operations such as lending, borrowing, and trading with reduced gas costs and added privacy.</li></ol><h4><strong>Some Limitations of zk-Rollups:</strong></h4><ul><li><strong>Proof Generation Overhead.</strong> Creating ZKPs can be computationally intensive, leading to some latency (ie. block time is approximately 12–14 seconds on Ethereum relative to Solana’s 400 milliseconds).</li><li><strong>Technical barriers for users.</strong> The zk-rollup technology is quite complex, requiring specialized knowledge and expertise for development and implementation.</li><li><strong>Data availability concerns. </strong>zk-rollups rely on off-chain data storage, so if the data corresponding to these rollups is lost or becomes unavailable, it can impact the integrity of the network.</li></ul><h3><strong>On Solana, Everything is an Account</strong></h3><p>All data is stored in what are referred to as “accounts”. The way data is organized on Solana resembles a <a href="https://en.wikipedia.org/wiki/Key%E2%80%93value_database">key-value store</a>, where each entry in the database is called an “<strong>account”</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/578/1*Tqt8Fy_Q84mfVhE7zkrXXg.png" /><figcaption>Accounts have a <a href="https://github.com/solana-labs/solana/blob/27eff8408b7223bb3c4ab70523f8a8dca3ca6645/sdk/program/src/system_instruction.rs#L85">max size of 10MB</a> and the data stored on every account on Solana has the following structure known as the <a href="https://github.com/solana-labs/solana/blob/27eff8408b7223bb3c4ab70523f8a8dca3ca6645/sdk/program/src/account_info.rs#L19">AccountInfo</a>.</figcaption></figure><p>Each account is identifiable by its unique address, represented as 32 bytes in the format of an <a href="https://ed25519.cr.yp.to/">Ed25519</a> PublicKey. You can think of the address as the unique identifier for the account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*1EHoQqbwYOlf1SglS4RhJw.png" /><figcaption>base 58 Address</figcaption></figure><p>Moreover, on Solana, storing data on the blockchain requires a “<strong>deposit</strong>”, similar to paying <strong>rent. </strong>This is because validators need to store account data on their nodes, and if there were no cost associated with creating accounts, you could overwhelm the network with endless accounts, leading to “<a href="https://www.techopedia.com/definition/blockchain-bloat"><strong>state bloat</strong></a><strong>”</strong>. This excessive data storage can strain the network’s infrastructure, slow down transaction processing, and potentially disrupt its operation.</p><p>This deposit, called <strong>“rent” </strong><em>a.k.a</em><strong> “bond”, </strong>is proportional to the amount of data you want to store. However, you get the deposit back when you’re done with the data (like getting your security deposit back when you move out of an apartment).</p><p>Think of it like this:</p><ul><li><strong>Creating one NFT.</strong> You pay a small amount of rent to store the NFT’s data on the blockchain.</li><li><strong>Creating many NFTs (5,000 NFTs = 5,000 accounts).</strong> You need to pay more rent because you’re storing more data.</li></ul><p>The more NFTs you create, the more “rent” you’ll need to pay. This is because each NFT or account requires storage space on the blockchain, and validators need powerful hardware to keep up with the increasing data demands. To cover the costs of this hardware, validators require developers and users to pay for this “rent.”</p><h3>ZK Compression on Solana Changes this Dynamic</h3><p>By compressing (or “shrinking”) the data associated with NFTs, it significantly reduces the amount of storage space required. This means validators don’t need as much expensive hardware, and they can lower the “rent” they charge to developers and users. <strong>It’s a win-win situation —</strong> developers and users pay less, and validators can still maintain a profitable and efficient network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jeye1bAlJYGscDnfhfCYVA.png" /><figcaption>Solana is already cost-effective, and ZK Compression will further lower storage costs for <strong>developers</strong> and <strong>users</strong>.</figcaption></figure><h4><strong>What is it?</strong></h4><p>This is a recent announcement and Development on Solana Collaborated with <a href="https://x.com/LightProtocol"><strong>LighProtocol</strong></a><strong> </strong>and <a href="https://www.helius.dev/"><strong>Heliuslabs</strong></a> (not Helium) Helius.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KkXfQz8scyaX18oDapoWHA.jpeg" /><figcaption>ZK compression Announcement <a href="https://x.com/LightProtocol/status/1804241026334548366">link</a>.</figcaption></figure><p>ZK Compression is a new primitive built on Solana that enables you to build applications at scale.</p><p>Developers and users can opt to compress their on-chain state, reducing state costs<strong> by orders of magnitude</strong> while preserving the security, performance, and composability of the Solana L1 (Layer 1).</p><h4>ZK and Compression Highlights:</h4><ul><li><strong>Compression: </strong>Only the <a href="https://www.zkcompression.com/learn/core-concepts/state-trees">state roots</a> (small fingerprints of all <a href="https://www.zkcompression.com/learn/core-concepts/compressed-account-model">compressed accounts</a>) are stored in on-chain accounts. The underlying data is stored on the cheaper Solana ledger.</li><li><strong>ZK:</strong> The protocol uses small zero-knowledge proofs (<a href="https://www.zkcompression.com/learn/core-concepts/validity-proofs">validity proofs</a>) to ensure the integrity of the compressed state. This is all done under the hood. You can fetch validity proofs from <a href="https://www.zkcompression.com/introduction/intro-to-development#rpc-connection">RPC providers</a> that support ZK Compression.</li></ul><h4>On-Chain Accounts with ZK Compression:</h4><p><strong>(i) State Roots.</strong></p><p>On-chain accounts primarily store state roots, which are concise cryptographic hashes summarizing the underlying compressed account data. These state roots are generated and verified within the <a href="https://squads.so/blog/solana-svm-sealevel-virtual-machine">Solana Virtual Machine (SVM)</a> runtime, acting as unique “fingerprints” representing the entire account state.</p><p>Hence, when you perform a transaction on Solana, you specify which accounts you want to read or write.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DulEZtxCMVC6oInRkyIUTw.png" /><figcaption>A Merkle proof path (blue nodes) consists of all sibling node hashes required to calculate the final root node.</figcaption></figure><p><strong>(ii) Storage Location &amp; State Maintenance.</strong></p><p>State roots are stored directly on the Solana blockchain, specifically in validator node fast access memory (eg. RAM). This ensures quick access to essential information like token balances, program data, and program instructions.</p><p>On Solana, the current state of all accounts, including token balances and program data, is actively maintained by validators in their fast access memory for fast transaction processing. This state is analogous to the account data stored in <a href="https://ethereum.org/en/developers/docs/data-structures-and-encoding/patricia-merkle-trie/">Ethereum’s Merkle Patricia Trie</a>. Due to the limited and high-performance nature of on-chain storage, it is more expensive than off-chain storage options.</p><p><strong>(iii) Merkle Trees &amp; Off-Chain Storage.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f4kMlPA0boJk-HOd" /><figcaption>Each compressed account hash is a leaf in the state tree and represents segments of compressed account data.</figcaption></figure><p>Due to RAM limitations, expensive costs, and the need for efficient transaction processing enabled by the SVM, the full historical transaction data is not stored directly on-chain. Instead, Solana leverages a separate storage mechanism for retaining the complete history of state transitions.</p><p>This historical state data is similar in function to the data stored in Ethereum’s <a href="https://ethereum.org/en/developers/docs/nodes-and-clients/archive-nodes/">archival nodes</a>, providing a complete record of past account states and transactions. However, there’s a key difference in data retention: on Solana, this data is typically pruned after approximately three days, while on Ethereum, may retain data for two weeks or longer.</p><p><strong>In summary:</strong></p><p>ZK Compression optimizes on-chain account storage on Solana by storing only state roots (hashes representing compressed account data) on-chain. This significantly reduces storage costs while maintaining data integrity through the use of sparse Merkle trees and zero-knowledge proofs (ZKPs).</p><p>The compressed account data itself is stored off-chain in the Solana ledger, enabling efficient retrieval and verification when needed.</p><blockquote><strong><em>Important Note</em></strong><em>:</em> Most validators don’t store the entire Solana ledger, but most RPC (Remote Procedure Call) providers, like <a href="https://www.helius.dev/"><strong>Heliuslabs</strong></a>, do. These RPC providers maintain indexed copies of the ledger and the compressed state to facilitate client interaction.</blockquote><h4><strong>Role of an RPC Provider (e.g., Helius):</strong></h4><ul><li><strong>Indexing and Parsing.</strong> The <a href="https://www.zkcompression.com/node-operators/run-a-node#photon-indexer-node">RPC node</a> indexes the compressed state and parse transactions, making it easier for clients to read and construct transactions that interact with the compressed data.</li><li><a href="https://www.zkcompression.com/developers/json-rpc-methods"><strong>ZK Compression RPC API</strong></a><strong>.</strong> Helius’ Photon indexer leverages a ZK Compression RPC API to provide clients with read access to the compressed state.</li><li><strong>Database Backends.</strong> Photon supports both Postgres and SQLite databases, defaulting to an in-memory SQLite configuration. Users can specify alternative database backends and run migrations if needed.</li></ul><h4>TL;DR Key Differences of zk-Rollup and zk Compression</h4><ul><li><strong>Ethereum zk-rollups.</strong> Transactions are handled<strong> “<em>off-chain”</em></strong> (on a separate L2) and only the proof is sent to the main Ethereum blockchain. Utilize ZKPs to prove the validity of bundled transactions executed off-chain. It’s like building a faster, cheaper system <strong>on top of</strong> the existing Ethereum blockchain.</li><li><strong>Solana zk Compression.</strong> Data compression occurs directly on the Solana Layer 1 (L1) blockchain. Utilize ZKPs to validate the consistency of off-chain state data with the on-chain Merkle root. By compressing data, Solana aims to <strong>reduce storage costs</strong> significantly, <strong>enhancing scalability</strong> and maximizing composability. Ultimately, “<strong>storing data is Cheaper</strong>” and it’s like upgrading the existing Solana blockchain to be more efficient and scalable.</li></ul><h3><strong>Use Cases of ZK Compression on Solana</strong></h3><p>The beauty of ZK compression is that it complements Solana’s existing Layer 1 strengths. By optimizing storage and throughput on the base layer itself. It eliminates the need for complex Layer 2 solutions for many use cases. Developers can focus on building innovative applications directly on Solana, benefiting from its high throughput, low fees, and composability.</p><p>Here are some plausible use cases of zk compression:</p><p><strong>(i) Micropayments and High-Frequency Transactions.</strong></p><p>Applications like <a href="https://drip.haus/"><strong>Drip</strong></a>, designed for micropayments and social tokens, could benefit from ZK compression. It would drastically reduce on-chain storage requirements for the massive number of small transactions, making them more cost-effective and sustainable on the Solana network.</p><p><strong>(ii) Large-Scale User Bases.</strong></p><p>Protocols like <a href="https://docs.helium.com/solana/"><strong>Helium</strong></a><strong> </strong>(decentralized wireless networks) and <a href="https://hivemapper.com/network/coverage"><strong>Hivemapper</strong></a> (map-building network) aim to serve millions of users and devices. ZK compression can be crucial in managing the immense data generated by these networks without resorting to complex Layer 2 solutions.</p><p><strong>(iii) Gaming and NFTs.</strong></p><p>Solana’s growing gaming like <a href="https://staratlas.com/"><strong>Star Atlas</strong></a> and NFT ecosystems like <a href="https://www.tensor.trade/"><strong>Tensor</strong></a> and <a href="https://magiceden.io/"><strong>Magic Eden</strong> </a>often involve high volumes of transactions and state updates. ZK compression could optimize storage costs for game assets, in-game items, and NFT metadata, enhancing the overall user experience.</p><p><strong>(iv) DeFi Applications.</strong></p><p>Decentralized finance protocols on Solana like <a href="https://marinade.finance/"><strong>Marinade</strong></a>, <a href="https://app.kamino.finance/"><strong>Kamino</strong></a>, and especially those involving lending, borrowing, and yield farming, can leverage ZK compression to efficiently manage transaction histories and user data. This would contribute to lower fees and faster transaction times.</p><h4>For Developers to get started</h4><p>Development with ZK Compression on Solana consists of two main parts:</p><p><strong>(i) C</strong><a href="https://www.zkcompression.com/introduction/intro-to-development#client-side-development"><strong>lient development</strong></a><strong> (SDK). </strong>You can use SDKs in Rust and Typescript to interact with ZK Compression:</p><ul><li><a href="https://github.com/Lightprotocol/light-protocol/tree/main/js/stateless.js"><strong>@lightprotocol/stateless.js</strong></a><strong> (TS)</strong>. SDK to interact with compression programs via the ZK Compression RPC API</li><li><a href="https://github.com/Lightprotocol/light-protocol/tree/main/js/compressed-token"><strong>@lightprotocol/compressed-token</strong></a><strong> (TS)</strong>. SDK to interact with the compressed token program.</li><li><a href="https://github.com/Lightprotocol/light-protocol/tree/main/programs/compressed-pda/src/sdk"><strong>light-sdk</strong></a><strong>. </strong>Rust client</li></ul><p><strong>(ii) O</strong><a href="https://www.zkcompression.com/introduction/intro-to-development#on-chain-program-development"><strong>n-chain program development</strong></a><strong>. </strong>You can write custom programs using ZK compression in Anchor or native Rust.</p><p>First, you’ll need to ensure your machine has Rust, the Solana CLI, and Anchor installed. If you haven’t installed them, refer to this <a href="https://solana.com/developers/guides/getstarted/setup-local-development"><em>setup guide</em></a><em>.👈</em></p><ul><li><a href="https://github.com/Lightprotocol/light-protocol/tree/main/programs/system"><strong>light-system-program</strong></a><strong>.</strong> The system program. It enforces the compressed account layout with ownership and sum checks and verifies the validity of your input state. Invoke it to create/write to compressed accounts and PDAs.</li><li><a href="https://crates.io/crates/light-compressed-token"><strong>light-compressed-token</strong></a><strong>.</strong> A compressed token implementation built on top of ZK Compression. It enforces a SPL-compatible token layout and allows for arbitrary compression/decompression between this and the SPL standard.</li><li><a href="https://github.com/Lightprotocol/light-protocol/tree/main/programs/account-compression"><strong>account-compression</strong></a><strong>. </strong>Implements state and address trees. Used by the Light System program.</li></ul><p>For a detailed approach head over to lightprotocol Documentation <a href="https://www.zkcompression.com/introduction/intro-to-development#on-chain-program-development"><em>here</em>.</a></p><h3>My Humble Opinion</h3><p>The crypto world is trying hard to solve some big problems — (i) enhancing transaction speed and (ii) efficiency, (iii) maintaining robust security, and (iv) ensuring decentralization. Ethereum and Solana, two prominent blockchain platforms, are exploring innovative solutions to address these issues.</p><p>Imagine these platforms as massive, decentralized networks of computers. Every single transaction needs to be checked and recorded by multiple participants, much like a busy highway where every vehicle needs to be inspected at multiple toll booths. This process ensures transparency and security but can lead to congestion and scalability problems.</p><p>Enter ZKPs, a powerful cryptographic tool that allows information to be verified without revealing the actual data. ZKPs (specifically <a href="https://www.investopedia.com/terms/z/zksnark.asp">ZK-SNARKs</a>) are the backbone of two promising solutions: zk-Rollups on Ethereum and zk Compression on Solana (currently live on Testnet). Solana co-founder <a href="https://x.com/aeyakovenko/status/1790899939012395226">Anatoly Yakovenko</a> is particularly enthusiastic about zk Compression, calling it a potential game-changer that could<em> “</em><a href="https://x.com/aeyakovenko/status/1790899939012395226"><em>reshape the fabric of society</em></a><em>.”</em></p><p>While both technologies leverage ZKPs, their implementation differs. Zk-Rollups prioritize off-chain scaling, while zk Compression focuses on improving on-chain storage efficiency. The choice between them depends on the specific needs and priorities of each blockchain ecosystem.</p><p>Some folks in the Ethereum community argue that ZK Compression functions like a validity roll-up, an L2 feature, rather than a true L1 innovation. However, as <a href="https://x.com/aeyakovenko/status/1804677135896031687">Anatoly</a> puts it <em>“ ZK Compression shares some L2-like features, it’s unique in that it doesn’t require a separate security council, chain ID switching, governance token, or external sequencer”.</em></p><p>In the end, there’s “no one-size-fits-all” answer. Both zk-Rollups and zk Compression have the potential to revolutionize the crypto landscape. They could pave the way for faster, cheaper, and more scalable decentralized applications, making blockchain technology a great part of our daily lives.</p><p><strong>References:</strong></p><p>[<a href="https://www.zkcompression.com/">1]https://www.zkcompression.com/</a></p><p>[<a href="https://ethereum.org/en/developers/docs/scaling/zk-rollups/">2] https://ethereum.org/en/developers/docs/scaling/zk-rollups/</a></p><p>[3] <a href="https://x.com/aeyakovenko/status/1796569211273445619">https://x.com/aeyakovenko/status/1796569211273445619</a></p><p>[4] <a href="https://solana.com/docs/core/accounts">https://solana.com/docs/core/accounts</a></p><p>[<a href="https://www.eip4844.com/">5] https://www.eip4844.com/</a></p><p>[6] <a href="https://github.com/Lightprotocol/light-protocol/blob/main/cli/README.md">https://github.com/Lightprotocol/light-protocol/blob/main/cli/README.md</a></p><p>[7] <a href="https://github.com/helius-labs/photon">https://github.com/helius-labs/photon</a></p><p>[8] <a href="https://www.zkcompression.com/introduction/intro-to-development#on-chain-program-development">https://www.zkcompression.com/introduction/intro-to-development#on-chain-program-development</a></p><p>[9] <a href="https://solana.com/news/archivers---solana-s-solution-to-petabytes-of-blockchain-data-storage">https://solana.com/news/archivers---solana-s-solution-to-petabytes-of-blockchain-data-storage</a></p><p>[10] <a href="https://ethereum.org/en/developers/docs/nodes-and-clients/archive-nodes/">https://ethereum.org/en/developers/docs/nodes-and-clients/archive-nodes/</a></p><p>[11] <a href="https://www.youtube.com/watch?v=bkOHUYEkRuQ">https://www.youtube.com/watch?v=bkOHUYEkRuQ</a></p><p>[12] <a href="https://pixelplex.io/blog/overview-of-zk-rollups/">https://pixelplex.io/blog/overview-of-zk-rollups/</a></p><p>Other sources consulted are duly Hyperlinked.</p><blockquote>Feel free to reach out to me on Twitter <a href="https://x.com/0xmarkdams">@Oxmarkdams</a> with any suggestions or opinions (I value genuine feedback or critique). If you find this even slightly insightful, please share it — I’ve invested countless of refining this article, and your support means everything in helping it educate a wider audience. Props to <a href="https://x.com/swen_sjn">Swen Schäferjohann</a> at lightprotocol and <a href="https://x.com/0xMert_">Mert Mumtaz</a> at Heliuslabs for giving their inputs indirectly. <em>Thank you.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbe4507362ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Arcium: Secure Data Collaboration for a New Era]]></title>
            <link>https://markdamasco.medium.com/arcium-secure-data-collaboration-for-a-new-era-ff183b0e13ff?source=rss-f9aafe473876------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff183b0e13ff</guid>
            <category><![CDATA[arcium]]></category>
            <category><![CDATA[data-privacy]]></category>
            <category><![CDATA[mpc]]></category>
            <category><![CDATA[confidential-computing]]></category>
            <dc:creator><![CDATA[Mark Damasco]]></dc:creator>
            <pubDate>Sat, 29 Jun 2024 10:44:13 GMT</pubDate>
            <atom:updated>2024-07-11T13:27:23.412Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JfTVrcQF_EEt-Q54" /></figure><h4>Revolutionizing Data Privacy and Confidentiality with Cutting-Edge Technologies</h4><blockquote><strong><em>Table of Contents:</em></strong><em><br></em><a href="#664f"><em>1) Secure Multi-party Computation (SMPC) </em></a><em><br></em><a href="#3fb9"><em>2) SHE VS FHE</em></a><em><br></em><a href="#063d"><em>3) Cheating Identification Protocol </em></a><em><br></em><a href="#b6cd"><em>4) Confidential Inference</em></a><em><br></em><a href="#33b9"><em>5) Arcium Architecture</em></a><em><br></em><a href="#a2c1"><em>6) Multi-Party Execution Environments (MXEs)</em></a><em><br></em><a href="#fc47"><em>7) Why Solana?</em></a><em><br></em><a href="#8581"><em>8) Arcium: Making Data Work for You, Privately</em></a><em> (Real-world Use Cases)<br>9) </em><a href="#45da"><em>My Humble Opinion</em></a><em> (Serves as a Conclusion)</em></blockquote><p>Today, organizations struggle to securely share and process confidential/sensitive data. This problem is especially critical in (i) Healthcare, (ii) Supply chains, (iii) AI, (iv) Finance, and (v) Crypto, where data breaches can have severe consequences.</p><p>To wit:</p><ul><li>In 2017, the ransomware attack <strong>“</strong><a href="https://www.wired.com/story/notpetya-cyberattack-ukraine-russia-code-crashed-the-world/"><strong>NotPetya”</strong></a><strong> </strong>crippled global shipping giant Maersk. It encrypted critical data and shut down operations, costing the company an estimated $300 million in lost revenue and recovery costs.</li><li>The “<a href="https://en.wikipedia.org/wiki/Facebook%E2%80%93Cambridge_Analytica_data_scandal"><strong>Facebook-Cambridge Analytica</strong></a><strong>”</strong> scandal severely damaged Facebook’s (now Meta) reputation.</li><li>The <strong>“</strong><a href="https://www.insurance.ca.gov/0400-news/0100-press-releases/anthemcyberattack.cfm#:~:text=What%20happened%3F,employment%20information%20and%20income%20data."><strong>Anthem health insurance</strong></a><strong>” </strong>data breach in 2015.</li><li><a href="https://en.wikipedia.org/wiki/Mt._Gox"><strong>‘Mt. Gox’,</strong></a><strong> </strong>one of the earliest and most infamous crypto breaches, Mt. Gox, once the largest Bitcoin exchange, lost around 850,000 Bitcoins (worth billions today) to hackers.</li></ul><p>These are just some examples of the severe consequences that can result from a data breach.</p><p>Organizations need to collaborate on sensitive data for research, analysis, and innovation, but they also must ensure data privacy and security. Traditional methods of sharing data pose risks of breaches and unauthorized access.</p><p><strong>How can organizations safely share and work on sensitive data without compromising privacy or efficiency?</strong></p><h3>Introducing Arcium: Revolutionizing Secure Data Collaboration</h3><p><a href="https://arcium.com/"><strong>Arcium</strong></a> is a parallelized confidential computing network. Pioneering for secure data collaboration, the Arcium Network is particularly beneficial to industries reliant on sensitive or valuable data like blockchain, healthcare, and artificial intelligence (AI). The Arcium Network leverages a distributed architecture, consisting of multiple nodes capable of executing Multi-Party Computation (MPC) tasks<em>.</em>[<a href="https://docs.arcium.com/"><strong>1</strong></a>]</p><p>To give you a quick background, Arcium was created by the team behind <a href="https://x.com/elusivprivacy"><strong>Elusiv</strong></a> (which has been building for Solana for 2 &amp; half years now), an application-layer zero-knowledge (ZK) privacy protocol based on Solana that <strong>sunsetted in March 2024</strong>.</p><p>Moreover, Arcium /ˈɑːrkyum/ is a <a href="https://en.wiktionary.org/wiki/Appendix:Glossary#genitive_case">genitive</a> <a href="https://en.wiktionary.org/wiki/Appendix:Glossary#plural_number">plural</a> of <a href="https://en.wiktionary.org/wiki/arx#Latin"><strong>arx</strong></a><strong> — </strong>a Latin word meaning “fortress”, “citadel” or “stronghold”<em>. </em>This etymology underscores the network’s foundational principle of “<strong>security and protection</strong>”.</p><p>Arcium tackles the challenge of secure data collaboration by leveraging cutting-edge confidential computing concepts:</p><ol><li><strong>Secured Multi-Party Computation (SMPC).</strong> Enables multiple parties to jointly compute functions over their inputs while keeping them private.</li><li><strong>Somewhat Homomorphic Encryption (SHE).</strong> Allows basic computations on encrypted data without decrypting it<em>.</em>[<a href="https://x.com/ArciumHQ/status/1801321157338988950"><strong>4</strong></a>]</li><li><strong>Cheating Identification Protocol.</strong> Detects and excludes malicious nodes to maintain computation integrity<em>.</em>[<a href="https://x.com/ArciumHQ/status/1801321157338988950"><strong>4</strong></a>]</li><li><strong>Confidential Inference.</strong> Performs machine learning predictions on encrypted data<em>.</em>[<a href="https://x.com/ArciumHQ/status/1801321157338988950"><strong>4</strong></a>]</li><li><strong>Blockchain Integration (Solana).</strong> Ensures transparent, verifiable, and tamper-proof transactions and computations.[<a href="https://x.com/ArciumHQ/status/1801321157338988950"><strong>4</strong></a>]</li></ol><p>These are some key concepts that ensure the Arcium network to secure private data, and be reliable for industries handling sensitive data<strong><em>.</em></strong></p><p>I&#39;ll try to unpack them for you.</p><h3>1) Secure Multi-party Computation (SMPC)</h3><p>Secure multi-party computation (SMPC) <em>a.k.a </em><strong>(Multi-party Computation or MPC)</strong> allows a set of parties to collaboratively execute a distributed computation using a cryptographic protocol, with the same security and privacy guarantees that would result from relying on a <strong>Trusted Third Party (TTP)</strong> to compute the same functionality in an ideally secure setting.[<a href="https://eprint.iacr.org/2016/1057.pdf"><strong>2</strong></a>]</p><h4>How does it work?</h4><p><strong>Calculating a Company’s Total Revenue:</strong></p><p>Imagine four departments in a company (P1, P2, P3, P4) each have their own sales figures (x1, x2, x3, x4). They want to calculate the total revenue of the company without revealing each department’s individual sales figures to each other or to a central authority.</p><p>MPC allows multiple parties to collaboratively compute a function while preserving the privacy of their individual inputs, which has applications in secure data analysis, privacy-preserving machine learning, and other scenarios where data privacy is crucial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g0dRjw5rTiN1p1Aw-BiyOg.gif" /><figcaption>This method ensures that the computation is done collaboratively without compromising the privacy of individual inputs.</figcaption></figure><ul><li><strong>Each department (P1-P4)</strong> represents a party in the MPC protocol.</li><li><strong>Their sales figures (x1-x4)</strong> are their private inputs.</li><li><strong>The function f(x1, x2, x3, x4)</strong> is the calculation to sum up the sales figures to get the total revenue.</li></ul><p>Using MPC, each department can contribute their sales figures in a way that only the final result, the total revenue, is revealed. No individual department learns the sales figures of the other departments.</p><p><strong>How does it impact Finance?</strong></p><p>MPC has significant applications in finance, particularly in areas where privacy and security are paramount:</p><ol><li><strong>Privacy-Preserving Data Sharing.</strong> Financial institutions can collaborate on risk assessments, fraud detection, or credit scoring without sharing sensitive customer data.</li><li><strong>Secure Auctions.</strong> MPC can be used to conduct auctions where bids remain confidential until the auction is complete, ensuring fairness and preventing collusion.</li><li><strong>Distributed Key Generation.</strong> In crypto wallets, MPC can be used to generate and manage private keys in a distributed manner, enhancing security by eliminating a single point of failure.</li><li><strong>Privacy-Preserving Financial Derivatives.</strong> MPC can enable the creation of complex financial instruments where the underlying assets and trading strategies remain confidential.</li></ol><p>Overall, by utilizing MPC, Arcium empowers these sectors to conduct secure data analysis, preserve data privacy in DeFi/TradFi transactions, and engage in collaborative computations without compromising the confidentiality of individual inputs. This groundbreaking approach mitigates the risks of data breaches while unlocking the full potential of data-driven insights.</p><h3><strong>2) SHE VS FHE</strong></h3><p><strong>FHE (Fully-Homomorphic Encryption) </strong>theoretically allows for any computation on encrypted data, but it is currently very computationally expensive and impractical for most real-world applications due to performance bottlenecks.</p><p>On the other hand,<strong> SHE </strong>(Semi-Homomorphic Encryption or Somewhat Homomorphic Encryption) Supports a limited number of operations (like addition or multiplication) on encrypted data. While less flexible than FHE, SHE is significantly more efficient and practical for many use cases.</p><h4><strong>Practical reasons:</strong></h4><ul><li><strong>Performance.</strong> For high-throughput applications like DeFi (Decentralized Finance), performance is crucial. SHE’s efficiency makes it more suitable than FHE for such scenarios.</li><li><strong>Cheater Detection.</strong> In multi-party environments, it’s important to ensure that participants adhere to the protocol. SHE can facilitate efficient cheater detection mechanisms, ensuring the integrity of computations.</li><li><strong>Optimization for Specific Needs.</strong> By focusing on the specific operations required, SHE can be optimized for maximum efficiency, striking a balance between security and performance.</li><li><strong>Verification Mechanisms.</strong> SHE enables simpler and more efficient verification of computations, which is essential for ensuring correctness without compromising data privacy.</li></ul><p>SHE Allows computation of circuits of low-depth Batching — enables scaling to nontrivial datasets Can perform statistical analysis on encrypted data with “reasonable” overhead. [17]</p><p>To learn more about the technical details [<a href="https://eprint.iacr.org/2010/514.pdf">13</a>]👈.</p><h4><strong>How does it work?</strong></h4><p>Imagine an election where you want your “<strong>vote</strong>” to remain secret, but the votes still need to be tallied.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bIiqT4oZpVOCHP9ix7WOVQ.png" /><figcaption>Simplified SHE diagram</figcaption></figure><p>SHE is like a special ballot box system:</p><ol><li><strong>Plaintext Data (Your Vote).</strong> Your voting preference (e.g., candidate A) is like the plaintext data — the raw, unencrypted information.</li><li><strong>Encryption (Sealing the Ballot).</strong> You place your vote into a special ballot envelope that locks once sealed. This is like encrypting your vote with a public key — anyone can put a vote in, but only someone with the right key can open it.</li><li><strong>Encrypted Data (Sealed Ballots).</strong> The locked ballot envelopes are like the encrypted data (ciphertext). The contents are hidden, but they still exist inside.</li><li><strong>Computation (Counting).</strong> Election officials can open the <em>outer</em> layer of the envelopes, revealing a second, inner envelope. This allows them to sort the votes by candidate without seeing the individual votes inside. This is like performing a limited computation (e.g., counting) on encrypted data.</li><li><strong>Computation Result (Sorted Ballots).</strong> The sorted piles of inner envelopes represent the computation result — it’s still encrypted (you can’t see the votes), but it provides meaningful information (which candidate has more votes).</li><li><strong>Decryption (Counting the Votes).</strong> Only after the sorting is done, election officials with the private key (special tool) can open the <em>inner</em> envelopes and count the individual votes. This is like decrypting the final result to get the plaintext outcome.</li><li><strong>Plaintext Result (Election Outcome).</strong> Finally, the total vote count for each candidate is announced — this is the plaintext result, the outcome of the election.</li></ol><h3>3) Cheating Identification Protocol (CIP)</h3><p>Cheating Identification Protocol<em> a.k.a</em> “Cheater identification” or “Cheater Detection” in secure MPC allows the honest parties to agree upon the identity of a cheating party, in case the protocol aborts. In the context of a dishonest majority, this becomes especially critical, as it serves to thwart DOS (denial-of-service) attacks and mitigate known impossibility results in ensuring fairness and guaranteed output delivery<em>.</em>[<a href="https://eprint.iacr.org/2023/1548.pdf">14</a>]</p><p>Moreover, CIP is a mechanism used within BFT (Byzantine Fault Tolerance) systems to identify and isolate nodes that are acting maliciously or dishonestly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*cGon0u2NDVWykC1b.jpeg" /><figcaption>BFT simplified. This multi-step process helps ensure that all honest nodes can agree on the state of the system, even if some nodes are behaving maliciously or have failed.</figcaption></figure><p><strong>High-Level Overview:</strong></p><p>CIP is an essential component of BFT protocols. BFT systems are designed to function correctly even in the presence of Byzantine faults, which include arbitrary and potentially malicious behavior.</p><p>Further, BFT protocols assume that a certain fraction of nodes (typically up to 1/3) may be faulty or malicious. Identifying these “cheaters” is crucial for the system to maintain correct operation.</p><p>BFT protocols operate in environments where not all participants can be trusted. CIP helps manage and validate these trust assumptions. By detecting and mitigating the impact of cheaters, BFT protocols ensure the integrity and reliability of the overall system.</p><h3>4) Confidential Inference</h3><p>Confidential inference (or Confidential ML Inference) involves performing machine learning predictions on encrypted data. Arcium leverages confidential inference techniques to enable AI models to operate on sensitive data without exposing the data itself. This is particularly beneficial for industries like <strong>“healthcare”</strong>, where patient data privacy is paramount.</p><p>To enable this, Trusted Execution Environments (TEEs) like <a href="https://www.intel.com/content/www/us/en/products/docs/accelerator-engines/software-guard-extensions.html"><strong>Intel SGX</strong></a> or <a href="https://security.apple.com/blog/private-cloud-compute/"><strong>Apple’s PCC</strong></a> “Secure Enclave” act as secure “black boxes” within an Arx node’s processor. This isolation ensures that sensitive data and the code performing the analysis are protected from unauthorized access, even by the operating system or cloud provider.</p><p><strong>The Core Idea</strong></p><p>Performing computations (like machine learning predictions) on sensitive data while keeping the data itself hidden, even from the system running the computation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1drq4eAdOrSsQfMXXGA11w.png" /><figcaption>Simplified Confidential ML Inference workflow for one data owner and one model owner.</figcaption></figure><p>Basically,</p><ul><li>The model owner (Alice) has a trained machine learning model (eg. encrypted TensorFlow model).</li><li>The data owner (Bob) has input data (encrypted input data) that needs to be processed by the model.</li><li>Both the model and the input data are sent to a confidential ML inference platform.</li><li>The platform performs the inference process (making predictions) on the encrypted data using the encrypted model.</li><li>The result is also encrypted and sent back to the data owner.</li></ul><p>The key point is that neither the model owner nor the platform sees the input data, and neither the data owner nor the platform sees the model. This ensures the confidentiality of both the model and the data during the inference process.</p><h3>5) Arcium Architecture</h3><p>The Arcium Network utilizes an on-chain orchestration mechanism running on the <a href="http://solana.com/">Solana</a> blockchain, which facilitates all network management tasks, including computation scheduling, compensation for computational work, and punishment enforcement to maintain network integrity.[<a href="https://docs.arcium.com/">1</a>]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X-5qokES0JYR2xak6chotA.gif" /></figure><p><strong>i) Solana Blockchain (</strong>&amp;<strong> </strong>other chains in the future<strong>):</strong></p><p>Arcium network has Dedicated “Programs” <em>a.k.a</em> “Smart contracts” on Solana that facilitates:</p><ul><li>On-chain Orchestration</li><li>Mempool for Pending Computations</li><li>Compensation and Incentive Management</li></ul><p><strong>ii) Arcium Network:</strong></p><ul><li><strong>Clusters.</strong> Collections of Arx (MPC) nodes (the “hardware”)</li><li><strong>MXEs (MPC Execution Environments).</strong> Dedicated environments for computations (the “state”)</li><li><strong>Computation Definitions.</strong> Functions for executing tasks</li><li><strong>Scheduled Computations.</strong> Individual instances of function calls</li></ul><p><strong>iii) Arcium Network Stakeholders[</strong><a href="https://docs.arcium.com/getting-started/network-stakeholders"><strong>11</strong></a><strong>]</strong></p><ul><li><strong>Computation Customers. </strong>Buy confidential computing services, define computations, and pay fees based on complexity and priority.</li><li><strong>Arx Operators.</strong> Run software (Arx MPC node software) on their hardware to execute computations, stake collateral, and earn rewards based on performance and reputation. Liable to <strong>“</strong><a href="https://www.ledger.com/academy/topics/blockchain/what-is-slashing"><strong>slashing</strong></a><strong>”</strong> for misbehavior.</li><li><strong>3rd-Party Delegators.</strong> Delegate stake to Arx nodes to earn rewards, pay fees for infrastructure, and share risks and rewards.</li></ul><p><strong>iv) Key Relationships and Flow:</strong></p><ul><li><strong>Solana ↔ Arcium.</strong> The Solana blockchain acts as the control center, managing the state of the Arcium Network, scheduling Computations, and handling compensation flows.</li><li><strong>Clusters ↔ MXEs.</strong> Clusters provide the computational resources (Arx nodes) for running MXEs, which are the isolated environments where confidential computations take place.</li><li><strong>Computation Definitions ↔ Scheduled Computations.</strong> Computation Definitions define the tasks to be performed, and Scheduled Computations are the actual executions of those tasks within MXEs.</li><li><strong>Compensation Flow.</strong> Rewards for successful Computations flow from <strong>“Customers” </strong>to Arx Operators and Delegators, incentivizing participation and ensuring network security.</li></ul><p>Important to note that while the Arcium Network’s orchestration functionality will be solely integrated with Solana at launch, the Arcium Network is <strong>blockchain-agnostic</strong> by design and will become a multi-chain Network (currently in <a href="https://arcium.com/testnet"><strong>Testnet</strong></a>). The Arcium Network offers both a web-based graphical interface for easier access and interaction and a comprehensive Solana-compatible Software Development Kit (SDK) for developers looking to build custom confidential applications.</p><p>To learn more about Arx (“the node”) and become an operator click <a href="https://docs.arcium.com/arx-nodes/node-configuration-and-setup"><em>here</em></a>.</p><h3><strong>6) Multi-Party Execution Environments (MXEs)</strong></h3><p>MXEs are the fundamental building blocks of the Arcium Network, as the bespoke environments where computational work is carried out. MXEs are created and configured by <a href="https://docs.arcium.com/getting-started/network-stakeholders#computation-customers"><strong>Computation Customers</strong></a> for their specific use cases and applications. They are highly configurable, enabling fine-tuning of data provisioning and handling, encryption schemes, and more. MXEs come in two primary forms: Single Use MXEs which can only be used to execute a single computation before they are automatically discarded, and Persistent MXEs which are reusable.[<a href="https://docs.arcium.com/multi-party-execution-environments-mxes/execution-workflow">6</a>]</p><h4><strong>What are MXEs?</strong></h4><p>MXEs are secure, isolated environments where multiple parties can jointly execute computations while keeping their data confidential from each other. They are often implemented using Trusted Execution Environments (TEEs) like Intel SGX, <a href="https://www.arm.com/technologies/trustzone-for-cortex-m#:~:text=Arm%20TrustZone%20technology%20is%20used,to%20as%20the%20secure%20monitor">ARM TrustZone</a>, or <a href="https://security.apple.com/blog/private-cloud-compute/"><strong>Apple’s PCC</strong></a>.</p><p><strong>How do they work?</strong></p><p>MXEs are the primary environment for encrypted computations. While TEEs can optionally be used for added security, Arcium core approach doesn’t rely on them. Arcium actively confronting these challenges. As <a href="https://blog.arcium.com/author/yannik/">Yannik Schrade</a> in his <a href="https://blog.arcium.com/beyond-apples-promises-the-real-story-on-ai-privacy-and-security/">blog posts</a> hardware-based security and cryptographic protocols like our implementation can be used symbiotically. The decision to incorporate TEEs rests with the computational customer and/or node operators. Within MXEs, data is typically encrypted before entering the environment. Computations are then performed on this encrypted data, ensuring confidentiality throughout the process.</p><p><strong>Focus:</strong></p><p>MXEs are primarily focused on providing a secure environment for executing code, rather than on the specific cryptographic protocols used for the computations.</p><p>MXEs and SMPCs are often used together to provide a comprehensive solution for secure computation. The MXE provides a secure environment for executing the MPC protocols, further enhancing the overall security of the system.</p><h3>7) Why Solana?</h3><p><a href="https://solana.com/"><strong>Solana</strong></a><strong>’s</strong> incredibly high transaction throughput <strong>(currently running </strong><a href="https://explorer.solana.com/"><strong>2000–3000 TPS</strong></a><strong>)</strong>, with block production times as low as <a href="https://solanacompass.com/"><strong>400ms</strong></a> and average transaction fees around <a href="https://solanacompass.com/statistics/fees"><strong>0.000112 SOL</strong></a>. Choosing Solana as its foundation gives Arcium a technological edge this makes Arcium accessible and affordable to everyone, regardless of their location or background.</p><p>Moreover, Solana has caught up with Ethereum in almost every metric — users, fees, and trading volume.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*6sm6kbDz3k29_6Sj" /><figcaption>Dex Volume Solana &amp; Ethereum Credits to @21co</figcaption></figure><p>At the time of writing, its validator upgrade to <a href="https://github.com/solana-labs/solana/releases/tag/v1.18.15">v1.18.15</a>. The updates aim to <strong>improve the reliability, security, and efficiency of the system</strong><em>.</em>[<a href="https://github.com/solana-labs/solana/releases/tag/v1.18.15">11</a>]</p><blockquote>“Solana is the most performant permissionless blockchain in the world”.<em>- </em><a href="https://x.com/aeyakovenko"><em>Anatoly Yacovenko</em></a></blockquote><h3>8) Arcium: Making Data Work for You, Privately</h3><p><strong>Imagine a world where you could share your data for good, without giving up your privacy.</strong> That’s the promise of Arcium, a technology that lets you share and use data securely.</p><p>Here are some examples of how Arcium can make a difference in the real world:</p><h4><strong>i) Defi: The Money Stuff</strong></h4><ul><li><strong>Sharing with Safety.</strong> Banks can share your information to assess your creditworthiness, fight fraud, and keep things safe, <em>without letting everyone see your personal details</em>.</li><li><strong>Trading Secrets.</strong> Companies can use Arcium to share their best investment ideas without giving away all their secrets.</li><li><strong>Following the Rules.</strong> Banks can prove they are following the law (like anti-money laundering rules) without revealing specific transactions.</li><li><strong>DeFi Privacy.</strong> Decentralized Finance (DeFi) platforms can use Arcium to hide Profit and Loss (P&amp;L) details, ensuring privacy for traders while maintaining transparency and security.</li></ul><h4><strong>ii) Healthcare: Keeping You Healthy, Keeping You Private</strong></h4><ul><li><strong>Research with Respect.</strong> Scientists can use Arcium to study your health data, like your DNA, to find new medicines and treatments, <em>without seeing your name or personal information</em>.</li><li><strong>Your Records, Your Control.</strong> Doctors can share your medical records for the best possible care, <em>while making sure your private information stays safe</em>.</li><li><strong>Understanding Your Genes.</strong> You can share your genetic information with doctors and researchers to learn more about your health and risks, <em>without losing your privacy</em>.</li></ul><h4><strong>iii) Supply Chains: From Factory to You, Securely</strong></h4><p><a href="https://arxiv.org/html/2406.02239v1"><strong>DEPIN</strong></a> (Decentralized Privacy Infrastructure Network) enables secure supply chain collaboration by protecting sensitive data. Companies can share essential information to <strong>improve efficiency</strong> and <strong>combat counterfeits</strong> while maintaining confidentiality and control over their data.</p><ul><li><strong>Working Together, Keeping Secrets.</strong> Companies can cooperate to make supply chains better, <em>without giving away their competitive advantages</em>.</li><li><strong>Real Stuff, No Fakes.</strong> Arcium combines DEPIN &amp; confidential computing can help track products and make sure they are real, <em>fighting counterfeit goods and keeping you safe</em>.</li><li><strong>Ethical Choices, Transparent Actions.</strong> Companies can show they use materials and labor ethically, <em>without revealing their sensitive business details</em>.</li></ul><h4><strong>iv) Government: Helping Everyone, Protecting Everyone</strong></h4><ul><li><strong>Data for the People.</strong> Government agencies can use Arcium to share data for important decisions, <em>while protecting your privacy</em>.</li><li><strong>Voting, Made Safe.</strong> Arcium can help build secure and fair online voting systems, <em>ensuring your vote counts and stays private</em>.</li><li><strong>Fair Deals for Everyone.</strong> Governments can run auctions where everyone has a fair chance to win, <em>while protecting the strategies of each bidder</em>.</li></ul><h4>v) Secure Multi-Party Poker Tournaments</h4><p>Imagine a high-stakes poker tournament where players from different jurisdictions want to participate. Confidential computing can be used to create a secure environment</p><p>where:</p><ol><li><strong>Card Shuffling and Dealing.</strong> The process of shuffling and dealing cards is handled within a confidential computing environment, ensuring that no single party (including the platform operator) has access to the cards before they are revealed. <em>This prevents any manipulation of the deck.</em></li><li><strong>Hand Evaluation.</strong> The evaluation of winning hands is also done within the confidential computing environment. <em>This guarantees that the results are fair and cannot be altered.</em></li><li><strong>Privacy Preservation.</strong> Players’ identities and hand histories can be kept private using cryptographic techniques within the confidential computing environment. <em>This addresses privacy concerns and allows players to participate anonymously.</em></li></ol><p><strong>Benefits:</strong></p><ul><li><strong>Enhanced Trust.</strong> By leveraging confidential computing, the tournament organizers can demonstrate that the game is fair and unbiased, which is crucial for attracting high-stakes players.</li><li><strong>Regulatory Compliance.</strong> The privacy-preserving aspects of confidential computing can help navigate some of the regulatory challenges associated with online gambling. Anonymity and data protection features can make the platform more compliant with various jurisdictions.</li><li><strong>Global Participation.</strong> Players from regions with strict gambling regulations may be more willing to participate in a tournament where their privacy is protected and the game’s integrity is guaranteed.</li></ul><h4>vi) <strong>Private Mempools: A Shield for Your Transactions</strong></h4><p>Imagine a blockchain’s mempool as a public waiting room for transactions. Everyone can see who’s waiting and what they’re carrying (transaction details). This is where <strong>MEV (Maximal Extractable Value) </strong>comes in. Miners or validators (the folks who add transactions to the blockchain) can see these pending transactions and exploit this information for profit.</p><p>This exploitation is known as MEV. It can involve:</p><ul><li><strong>Front-running.</strong> A <strong>“<em>miner</em>”</strong> <em>a.k.a.</em> “<strong>Validator</strong>” sees your buy order for a token and quickly places their own buy order ahead of yours, driving up the price before you can buy.</li><li><strong>Sandwich attacks.</strong> A miner places a buy order before yours, then a sell order after, profiting from the price change they caused.</li><li><strong>Back-running.</strong> A miner sees your sell order and places their own sell order right after, profiting from the price drop they triggered.</li></ul><p>Private mempools change the game. They act like a VIP lounge where transactions are hidden from prying eyes. Even the node operator cannot see the details of these transactions due to the use of advanced confidential computing techniques like MPC. This prevents MEV attacks because no one knows the specifics of what transactions are waiting to be processed.</p><p><strong>Benefits of Private Mempools:</strong></p><ul><li><strong>Fairness.</strong> Everyone’s transactions are treated equally, regardless of whether they’re big players or small fish.</li><li><strong>Reduced Costs.</strong> Eliminating MEV lowers transaction costs for everyone.</li><li><strong>Increased Privacy.</strong> Your transaction details remain confidential until they’re on the blockchain.</li></ul><p><strong>Arcium’s Role:</strong></p><p>Arcium’s confidential computing technology is perfectly suited for creating private mempools. They can encrypt transaction data so that only authorized parties can access it. This ensures fair and equitable access to blockchain services, especially in areas like DeFi, where MEV extraction can be particularly problematic.</p><h3>My Humble Opinion</h3><p>I’ve always been fascinated by the power of on-chain technology. Arcium is quietly leading the way, proving that we don’t have to sacrifice <strong>privacy for innovation</strong>. They’re not just building tech; they’re building trust in a future where data is the new currency.</p><p>Think of Arcium as a high-security bank for your data, <strong>protecting your privacy</strong> while allowing you to unlock the full potential of your information.</p><p>In a world filled with data breaches and misuse, Arcium’s commitment to <strong>security</strong>, <strong>compliance</strong>, and <strong>data privacy</strong> sets a new industry standard. The promise of the project is to enable <strong>secure collaboration</strong> and <strong>protect sensitive information</strong>, giving businesses and individuals the confidence to innovate without fear.</p><p>Arcium is revolutionizing industries like DeFi, healthcare, and government by using advanced technologies like MPC and other confidential computing tech. They’re also tapping into DEPIN&#39;s abovementioned use cases, <strong>ensuring transparency</strong> and <strong>accountability</strong> while safeguarding sensitive data.</p><p>Yes, everything comes with a trade-off eg. processing transactions privately may introduce delays compared to traditional public mempools (ie. latency). While confidentiality is valuable, balancing it with speed is essential.</p><p>I believe that platforms like Arcium will become the norm. Imagine a future where our digital lives are both dynamic and secure, where we can innovate, collaborate, and transact with confidence. This is a future worth investing in, not just financially, but with our hopes for a better tomorrow.</p><blockquote>“Just as a seed needs solitude to sprout, ‘Privacy’ is the foundation upon which freedom thrives”. -<a href="https://x.com/0xmarkdams">0xmarkdams</a></blockquote><p>Can’t wait what the great team behind Arcium can offer, so <strong>Stay Tuned!</strong></p><ul><li>Arcium Twitter: <a href="https://x.com/ArciumHQ"><strong>@ArciumHQ</strong></a></li><li><a href="https://blog.arcium.com/"><strong>Arcium Blog</strong></a><strong> </strong>for further reading</li><li>Join our <a href="https://discord.com/invite/arcium"><strong>Discord</strong></a></li><li>Join Arcium on<strong> </strong><a href="https://app.galxe.com/quest/22HRG6Frv5FsZfazhrf8uH?filter=%5B%22Active%22%2C%22NotStarted%22%5D"><strong>Galxe</strong></a></li></ul><p><strong>References:</strong></p><p>[1] <a href="https://docs.arcium.com/">https://docs.arcium.com/</a></p><p>[2] <a href="https://eprint.iacr.org/2016/1057.pdf">https://eprint.iacr.org/2016/1057.pdf</a></p><p>[3] <a href="https://www.researchgate.net/publication/358973097_Privacy-preserving_machine_learning_techniques">https://www.researchgate.net/publication/358973097_Privacy-preserving_machine_learning_techniques</a></p><p>[4] <a href="https://x.com/ArciumHQ/status/1801321157338988950">https://x.com/ArciumHQ/status/1801321157338988950</a></p><p>[5] <a href="https://docs.arcium.com/getting-started/high-level-architecture-overview">https://docs.arcium.com/getting-started/high-level-architecture-overview</a></p><p>[6] <a href="https://docs.arcium.com/multi-party-execution-environments-mxes/execution-workflow">https://docs.arcium.com/multi-party-execution-environments-mxes/execution-workflow</a></p><p>[7] <a href="https://vitalik.eth.limo/general/2022/06/15/using_snarks.html">https://vitalik.eth.limo/general/2022/06/15/using_snarks.html</a></p><p>[8] <a href="https://chain.link/education/zero-knowledge-proof-zkp">https://chain.link/education/zero-knowledge-proof-zkp</a></p><p>[9] <a href="https://docs.arcium.com/solana-integration/other-blockchains">https://docs.arcium.com/solana-integration/other-blockchains</a></p><p>[10] <a href="https://en.wiktionary.org/wiki/arx#Latin">https://en.wiktionary.org/wiki/arx#Latin</a></p><p>[11] <a href="https://github.com/solana-labs/solana/releases/tag/v1.18.15">https://github.com/solana-labs/solana/releases/tag/v1.18.15</a></p><p>[12] <a href="https://docs.arcium.com/getting-started/network-stakeholders">https://docs.arcium.com/getting-started/network-stakeholders</a></p><p>[13] <a href="https://eprint.iacr.org/2010/514.pdf">https://eprint.iacr.org/2010/514.pdf</a></p><p>[14] <a href="https://eprint.iacr.org/2023/1548.pdf">https://eprint.iacr.org/2023/1548.pdf</a></p><p>[15] <a href="https://docs.arcium.com/arx-nodes/node-configuration-and-setup">https://docs.arcium.com/arx-nodes/node-configuration-and-setup</a></p><p>[16] <a href="https://arxiv.org/html/2406.02239v1">https://arxiv.org/html/2406.02239v1</a></p><p>[17 ]<a href="https://www.cs.utexas.edu/~dwu4/talks/SecurityLunch0214.pdf">https://www.cs.utexas.edu/~dwu4/talks/SecurityLunch0214.pdf</a></p><p><em>Other References consulted are duly Hyperlinked.</em></p><blockquote>Feel free to reach out to me on Twitter <a href="https://x.com/0xmarkdams">@Oxmarkdams</a> with any suggestions or opinions (I value genuine feedback or critique). If you find this even slightly insightful, please share it — I’ve invested a week of refining this content, and your support means everything in helping it educate a wider audience. Thank you.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff183b0e13ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Pull Oracle]]></title>
            <link>https://markdamasco.medium.com/the-pull-oracle-17c93c7735e2?source=rss-f9aafe473876------2</link>
            <guid isPermaLink="false">https://medium.com/p/17c93c7735e2</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[pull]]></category>
            <category><![CDATA[pyth]]></category>
            <dc:creator><![CDATA[Mark Damasco]]></dc:creator>
            <pubDate>Sat, 29 Jun 2024 10:06:24 GMT</pubDate>
            <atom:updated>2025-02-12T03:04:54.166Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QknHHFY7y7qMngbe" /></figure><h4>A Paradigm Shift in Oracle Architecture for Enhanced Reliability and Scalability and Impact on Solana DeFi</h4><blockquote><strong><em>Table of Contents:</em></strong><em><br></em><a href="#e538"><em>1. INTRODUCTION</em></a><em><br></em><a href="#7697"><em>2. The Security Limitations of Push Oracles: A Quantitative Perspective</em></a><em><br></em><a href="#7c46"><em>3. The Pull Oracle Advantage: Decentralized Security and Efficiency</em></a><em><br></em><a href="#78f3"><em>4. Beyond Security and Efficiency: Decentralized Governance</em></a><em><br></em><a href="#e523"><em>5. Impact on Solana DeFi</em></a><em><br></em><a href="#f68c"><em>6. Conclusion</em></a></blockquote><h4><strong>Overview</strong></h4><p>This research analyzes the security and efficiency implications of transitioning from <strong>push</strong> to <strong>pull </strong>oracles in decentralized finance (DeFi), with a particular focus on the <a href="https://pyth.network/"><strong>Pyth Network</strong></a> as a leading example. I’ll present quantitative evidence demonstrating the inherent vulnerabilities of push oracles and showcase how pull oracles, through their decentralized nature and on-demand data retrieval, provide demonstrable improvements in security, efficiency, and resilience and their <strong>Impact on Solana DeFi</strong>.</p><h3>1. INTRODUCTION</h3><p>Decentralized Finance (DeFi) is the exciting new frontier in finance. It promises a financial system that’s open, fair, and free from middlemen. However, it faces a hidden challenge: how to get <strong>accurate</strong>, <strong>reliable data</strong> about the real world onto the crypto.</p><p>Decentralized Finance (DeFi) revolutionizes financial services by eliminating intermediaries. However, its success hinges on accurate real-world data, which fuels the smart contracts governing DeFi operations.</p><p>Currently, most DeFi platforms rely on<strong> “push”</strong> oracles, which regularly deliver data to the blockchain. However, this standard approach poses risks due to potential vulnerabilities and inefficiencies.</p><p>Furthermore, Pyth Network’s initial version (Pyth V1) on Solana utilized a push oracle design, which, despite widespread adoption, faced limitations during volatile market conditions and network congestion.</p><p>This article explores why DeFi needs to move away from push oracles and adopt a new, more secure model: <strong>“pull”</strong> oracles. We’ll focus on a leading example, the Pyth Network, and show how it offers a better, safer way to get the information DeFi needs to thrive.</p><p>The new <strong>“pull”</strong> oracle (Pyth V2) design addresses these issues by ensuring that the oracle only updates on-chain prices when specifically requested. In a push oracle system, every price update must be pushed on-chain, often competing for bandwidth with other transactions. The pull oracle design allows users to include these price updates in their transactions, ensuring they land during crucial periods.</p><p>By understanding the difference between push and pull oracles, we can see how this shift is crucial for the future of a more secure and truly decentralized financial system.</p><h3><strong>2. The Security Limitations of Push Oracles: A Quantitative Perspective</strong></h3><p>Push oracles, while convenient, have shown serious weaknesses that make DeFi vulnerable.</p><p>Let’s look at some real numbers to see the problems:</p><h4><strong>2.1 Security Breaches and Hacks:</strong></h4><p>In 2023 alone, over $1 billion was stolen from DeFi platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9WZstVMQjeCt3-wj.png" /><figcaption>Monthly total Value stolen in crypto over $1B in 2023 [2]</figcaption></figure><p>Similarly, This amounts to a 63.7% drop in the total value stolen from DeFi platforms year-over-year. There was also a significant drop in the share of all funds stolen accounted for by DeFi protocol victims in 2023, as we see on the data below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mpicGl1qMsWV2auU.png" /><figcaption><em>Crypto Stolen in by Victim Platform type[2]</em></figcaption></figure><p>Centralized services were the primary target in earlier years, especially 2016–2019. Second, DeFi (Decentralized Finance) platforms emerged as a significant target starting in 2020, becoming the dominant victim type by 2021–2022.</p><p>Of these attacks, nearly 20% were directly caused by problems with “<strong>push oracles”</strong>. This means hackers were able to exploit weaknesses in these oracles to steal funds.</p><h4>2.2 <strong>Vulnerability to Manipulation:</strong></h4><ul><li><strong>Simulated Attack.</strong> A recent study simulating a “<strong>Sybil attack</strong>” on a push oracle network demonstrated that a single malicious actor controlling 5% of the network nodes could successfully manipulate the data feed by 10%. This highlights the susceptibility of push oracles to even small-scale attacks.[4]</li><li><strong>Real-World Examples.</strong> Instances of push oracle manipulation have already occurred in DeFi. In 2021, a well-known oracle provider experienced a data breach, leading to significant price distortions and losses for DeFi users.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*snvLK2V3EWgX8e9z.png" /><figcaption>Oracle Manipulation Attacks 2021 amount to nearly <strong>$400 Million</strong> &amp;<strong> </strong>in 2023 over $400 Million[3]</figcaption></figure><p>This data highlights the increasing threat of oracle manipulation in the cryptocurrency ecosystem, emphasizing the importance of robust oracle designs and security protocols.</p><h4><strong>2.3 Censorship Risk:</strong></h4><p>Push oracles face significant “<strong>censorship risks”</strong> due to their reliance on a limited number of authorized operators, creating a single point of failure. This centralized structure makes them vulnerable to malicious actors who could compromise or censor the data feed, thereby significantly impacting the functionality of DeFi protocols.</p><p>Additionally, push oracles could be susceptible to <strong>“political pressure“ </strong>or censorship from governments or regulatory bodies, potentially stifling the growth of DeFi and limiting its accessibility. Such vulnerabilities underscore the importance of decentralization in maintaining the integrity and resilience of DeFi ecosystem.</p><p>Some example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*GjHzvvhWN608WnDTg-IgOQ.png" /><figcaption>Letter response for <strong>“DeFi regulation”</strong> and their recommendations for IOSCO. [11]</figcaption></figure><p><strong><em>2.3.1 Limited Transparency.</em></strong></p><p>Centralized systems often operate as black boxes, offering limited visibility into their data sourcing and processing methods. This opacity compromises verifiability, a core principle of blockchain technology that enables the verification of every transaction.</p><p>Similarly, for oracles, users should be able to trace the data path from the on-chain report back to the oracle node’s query of the data source, ideally supported by some form of cryptographic signature related to that query or aggregated data point. The lack of transparency in how data is sourced and processed can erode trust among users who depend on the integrity of this data for critical decision-making processes.[5]</p><p><strong><em>2.3.2 Single Point of Failure.</em></strong></p><p><strong>Centralized oracles</strong> are a non-starter for smart contract applications because if the single oracle is corrupted, then the data being delivered on-chain may be highly incorrect and lead to smart contracts executing very wrong outcomes.</p><p>This is commonly referred to as the “garbage in, garbage out” problem where bad inputs lead to bad outputs. Additionally, because blockchain transactions are automated and immutable, a smart contract outcome based on <strong>faulty data </strong>cannot be reversed, meaning user funds can be permanently lost.[13]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*isGlLr2wyiXoIlQX.jpeg" /><figcaption>Centralized Oracle <strong>Represents a Single Point of Failure.</strong>[13]</figcaption></figure><h4>2.4 <strong>Scalability Issues:</strong></h4><p>As the DeFi sector continues to expand, the demand for data increases correspondingly. Push oracles often struggle to keep pace with this growing demand, leading to delays and inefficiencies. The scalability issues inherent in push oracles can hinder the efficient operation of DeFi applications, emphasizing the need for more robust and scalable Oracle solutions to support the ongoing growth and complexity of decentralized finance.</p><h3><strong>3. The Pull Oracle Advantage: Decentralized Security and Efficiency</strong></h3><p>Pull oracles, like the <strong>Pyth Network (</strong>Pyth V2<strong>)</strong>, offer a fundamentally different approach. Smart contracts actively “<strong>pull</strong>” the data they need from a decentralized network of providers.</p><h4>3.1 Push Oracle vs Pull Oracle Pyth Network:</h4><p><strong>3.1.1 <em>Push oracles.</em></strong></p><p><em>Push oracles</em> periodically update an on-chain price based on external trigger conditions. The oracle has a smart contract that stores the current price. The contract also has a set of permissioned operators who are authorized to update the price. The oracle operators then commit to updating the on-chain price at a specific cadence, for example, once every 30 minutes or if the price moves by 1%. Thus, in a push oracle, the on-chain price is periodically updated, regardless of whether or not anyone is using it.<strong>[1]</strong></p><p><strong><em>3.1.2 Pull oracles.</em></strong></p><p><em>Pull oracles</em> only update the “<strong>on-chain”</strong> price when requested. There are different ways for users to request an updated price from a pull oracle. Some pull oracles respond to on-chain requests: applications send one transaction to request data from the oracle, which then submits the response in a second transaction.</p><p>Pyth uses a simpler system where users can request the latest price update from an off-chain service. Anyone can submit a price update to the on-chain Pyth contract, which verifies its authenticity and stores it for later use. This system allows applications to use a single transaction flow that first updates the price then performs the necessary application logic.<strong>[1]</strong></p><p><strong>Pyth Network </strong>provides a decentralized approach to data access, offering demonstrable security and efficiency advantages.</p><p>For this reason, the Pyth oracle has facilitated over <strong>$100 Billion</strong> in traded volume at the time of writing.</p><h4><strong>3.2 Decentralized Security:</strong></h4><p><strong><em>3.2.1 Multiple Data Providers.</em></strong></p><p>Pyth’s decentralized network of 75+ [6]<strong><em> </em></strong>data publishers ensures no single entity can control or manipulate the data, making it highly resistant to censorship or collusion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vcMn9JvZL4xUL4pb.png" /><figcaption>Pyth Network Partners [7]</figcaption></figure><p><strong><em>3.2.2. On-Chain Verification.</em></strong></p><p>Each price update submitted to the Pyth Network is verified by the network, ensuring data integrity and preventing malicious actors from injecting false information. This verification process provides a strong security layer against data falsification.</p><p><strong><em>3.2.3. Reduced Security Incidents.</em></strong></p><p>A study by the Pyth Network highlighted that pull oracle systems had a <strong>30% lower incidence of data tampering attempts compared to push oracle</strong> systems. This improvement enhances overall security by reducing the attack surface inherent in continuously transmitting data. [8] [9]</p><p><strong><em>3.3.3 Resistance to Manipulation.</em></strong></p><p>Since pull oracles don’t rely on a single entity to broadcast data, they are more resistant to manipulation or censorship. Attackers would need to compromise a significant portion of the oracle network to influence the data provided to smart contracts.</p><h4><strong>3.3. Efficiency Gains:</strong></h4><p>Pull oracles only update data when requested by smart contracts. This on-demand data retrieval approach significantly reduces unnecessary transactions and block space consumption compared to frequent updates in push oracle systems.</p><p>This has</p><p><strong><em>3.3.1 Data Accuracy.</em></strong></p><p>One of the critical benefits of <strong>Pythnet Price Feeds</strong> is that its scalability allows it to closely track the prices of assets on their primary trading venues. We showcase its accuracy via an in-depth analysis of the Pyth feeds for ETH/USD and AAVE/USD — two pairs where the quote tokens are of very different market caps and trade on very different sets of exchanges. We then compare Pyth to several significant competitor oracles on the chains on which they are deployed.</p><p>All of the analyses below use prices between November 17, 2022, through November 24, 2022 (except where explicitly noted). This week had significant price volatility, making it a good test for oracle accuracy. We compare Pyth, and competitor oracle feeds against the prices on the most liquid centralized exchange for the pair. In some cases, the most liquid pair is against USDT, in which case we converted to USD using the USDT/USD exchange rate.</p><p><strong>ETH/USD</strong></p><p>For the first analysis, we chose ETH/USD, a highly liquid pair traded on many exchanges. The charts below compare Pyth’s prices for ETH/USD against Binance, the most liquid exchange for this pair.[9]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*lQGOzLPkCIwphH7OrULjfw.png" /><figcaption>White line: CEX (centralized exchange) prices Purple line: Pyth prices<em>[9]</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*kpsTTuKU-q5pKW7vCR4bSg.png" /><figcaption>Price differences of up to 0.40% between Pyth and CEX<em> [9]</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*8nzw2VylcBRL5etUeQbLUQ.png" /><figcaption>Approx. 90% of Pyth’s ETH/USD price deviations are within 10 basis points (0.1%) of the CEX price. This indicates a “<strong>high degree of accuracy”</strong>.<em>[9]</em></figcaption></figure><p>The graphs demonstrate that Pyth’s ETH/USD price generally aligns closely with the CEX price, with the vast majority of deviations falling within a narrow range. This suggests that Pyth is a “<strong>reliable source of price information”</strong> for ETH/USD.</p><p><strong><em>3.3.2 Scalability and Efficiency.</em></strong></p><p>Pull oracles like Pyth have demonstrated the ability to handle high transaction volumes without compromising data quality or speed. The Pyth Network’s average response time is <strong>400 milliseconds</strong>, allowing for near real-time data access even during periods of peak demand. This scalability is essential for the continued growth and efficiency of DeFi applications​. [8] [9]</p><p><strong><em>3.3.3 Reduced Gas Costs.</em></strong></p><p>Pyth is the case of Chainlink for USDT/USD on the BNB chain, in the bottom right corner. In contrast to Ethereum, where Chainlink updated the USDT/USD price feed 7 times over the week, BNB features lower gas fees, so Chainlink updated 652 times. Moreover, during this time period, the USDT price was almost always $1, so a high-frequency feed was not necessary to track the price closely.<em>[9]</em></p><p>Moreover, the reduced number of transactions associated with<strong> pull oracles leads to lower gas costs</strong> for DeFi protocols, ultimately benefiting users. This translates to lower transaction fees and improved <strong>cost-effectiveness.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*PkeUx8RdFeRktmcK.png" /><figcaption>tables show the total fees payable when using the default provider ($eth)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kp-E_ZUoNBpNxzNK1hb5bw.png" /><figcaption>Total Cumulative Fees in $Eth Using Pyth in Various Chains (at the time of writing). Dune</figcaption></figure><h3><strong>4. Beyond Security and Efficiency: Decentralized Governance</strong></h3><p>The transition to pull oracles not only enhances security and efficiency but also lays the foundation for decentralized governance in DeFi. Pull oracles empower users to participate directly in data requests, giving them a significant role in the network’s data access mechanisms. This participatory model fosters a more transparent and <strong>accountable ecosystem</strong>, where users have a voice in how data is utilized and managed.</p><h4><strong>4.1. Empowering Users: Pyth Token and Decentralized Governance</strong></h4><p>Pull oracles like the Pyth Network go beyond just improving security and data quality. They also give users a voice in how the system works through decentralized governance and the Pyth token.</p><p><strong><em>4.1.1 The Pyth Token’s Role (Denoted as $Pyth).</em></strong></p><p><strong>Voting Power.</strong> Holders of Pyth tokens have the power to vote on important decisions about the Pyth Network. This includes things like:</p><ul><li><strong>Which data providers are trusted.</strong> This helps ensure the accuracy and reliability of the data.</li><li><strong>How often data is updated.</strong> This balances the need for up-to-date information with network efficiency.</li><li><strong>What types of data are prioritized.</strong> This allows the community to decide which types of data are most important for DeFi applications.</li></ul><p><strong><em>4.1.2 The Pyth DAO LLC.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/0*2xjVIY-DZvcBvH8X" /></figure><p>The Pyth DAO LLC is legally structured as a non-profit DAO LLC formed under the laws of the Republic of Marshall Islands. It is algorithmically managed, with actions taken via the governance contract on the Solana Blockchain deemed to be actions of the Pyth DAO LLC. This structure enables the Pyth DAO LLC to:</p><ul><li>Hold the treasury and pay Pyth DAO related costs and expenses</li><li>Protect Pyth DAO members from unlimited liability</li><li>Allow Pyth DAO members to take part in governance by providing a clear framework for the rights and duties of Pyth tokenholders</li></ul><p>Individuals or entities who <strong>stake PYTH Tokens</strong> in the staking program become members of the Pyth DAO LLC. Pyth Improvement Proposals (PIPs) are the primary methods to introduce, discuss, and implement changes to the Pyth DAO Constitution, governance, and the oracle network’s operations.[16]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PWn6PYzhJZnlPnOC" /></figure><h4><strong>4.2. Transparency and Accountability:</strong></h4><p>By decentralizing data requests and governance, pull oracles enhance transparency. Users can verify the sources and integrity of the data they pull, reducing the chances of data manipulation. This transparency is crucial for maintaining trust within the DeFi ecosystem, as it allows for independent audits and real-time verification of data integrity​.</p><h4><strong>4.3. Scalability Through Community Involvement</strong>:</h4><p>Decentralized governance allows for scalable and flexible responses to changing network demands. As the DeFi ecosystem grows, so do the requirements for data feeds. A community-driven approach enables quick adaptation to new needs, as users and developers can propose and implement changes without the bottleneck of a centralized decision-making process​ <em>[10]</em>. This scalability ensures that pull oracles can continue to meet the demands of an expanding DeFi landscape.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*umiwaYq_VYuG32P9mQNLbA.png" /><figcaption>Migration to Pyth V2 a<strong> “Community-driven approach</strong>​” on Pyth <em>[10]</em></figcaption></figure><h3>5. Pyth V2 Impact on Solana DeFi</h3><p>According to its <strong>Pyth V2 Whitepaper</strong>, it proposes an oracle protocol to make accurate, high-resolution financial market data easily accessible on-chain. The protocol is designed to be a self-sustaining decentralized network that coordinates data publishers and consumers.</p><p>The protocol is designed to attract publishers with high-quality pricing data, and incentivizes these publishers by paying them fees collected from consumer usage of the data. The mechanisms help prevent malicious attackers from manipulating the protocol to their benefit in various ways, such as manipulating the price. [12]</p><p>Moreover, the Pyth V2 pull oracle will significantly enhance efficiency, reliability, security, and data access, driving the growth of Solana DeFi. As we clearly outlined in <strong><em>Section 3</em> </strong>(<em>The Pull Oracle Advantage: Decentralized Security and Efficiency</em>).</p><p>For this reason, the Pyth oracle has facilitated over <strong>$100 Billion</strong> in traded volume at the time of writing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*I3cmjD5df5mDuY99" /><figcaption><strong>$100 Billion</strong> in traded volume from 50+ blockchains.@PythNetwork</figcaption></figure><p>To highlight:</p><h4>5.1 Enhanced Efficiency and Reduced Latency</h4><p><strong><em>5.1.1 Efficiency Gains.</em></strong><br>Pyth V2’s pull oracle updates prices only when requested, reducing unnecessary updates and congestion.</p><p><strong><em>5.1.2 Reduced Latency.</em></strong><br>The pull model minimizes gas inefficiencies, ensuring efficient data flow and lower operational costs.</p><h4>5.2 Increased Reliability</h4><p><strong><em>5.2.1 Congestion Handling.</em></strong><br>The pull oracle allows users to request updates, avoiding delays during high congestion and volatility.</p><p><strong><em>5.2.2 User-Controlled Updates.</em></strong><br>This model improves reliability by providing timely data without congestion-related interruptions.</p><h4>5.3 Expanded Price Feeds</h4><p><strong><em>5.3.1 Broader Coverage.</em></strong><br>Supports over 540+ price feeds on more than 65 chains permissionlessly, offering extensive data for Solana protocols and users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gFH2SI5tmw9LzGiT" /><figcaption>Total Value Secured (TVS) percentages for various blockchains.</figcaption></figure><p><strong><em>5.3.2 Scalability Improvements.</em></strong><br>Overcomes limitations of the push oracle, benefiting the entire Solana DeFi ecosystem.</p><h4>5.4 Security and Cost-Effectiveness</h4><p><strong><em>5.4.1 Enhanced Security.</em></strong><br>Reduces unnecessary updates, minimizing the attack surface and processing only relevant data.</p><p><strong><em>5.4.2 Optimized Costs.</em></strong><br>Users pay for the data they request, optimizing gas fees and resource utilization.</p><p><strong><em>5.4.4 Customization.</em></strong></p><p>Smart contracts can specify the type and format of data they require, allowing for tailored solutions to meet specific application needs.</p><h4>5.5 Smooth Transition with Dual Oracle System</h4><p><strong><em>5.5.1 Easy Integration.</em></strong><br>DeFi applications can continue using price data from the familiar Pyth V1 while gradually integrating with the new Pyth V2. This prevents sudden service interruptions and allows for a controlled migration process.</p><p><strong><em>5.5.2 Developer Flexibility.</em></strong><br>Offers developers control and options for consuming oracle data, supporting ecosystem growth.</p><h3><strong>6. Conclusion</strong></h3><p>This article has demonstrated the significant advantages of pull oracles, like the Pyth Network, over traditional push oracles in DeFi. Enhanced efficiency and reduced latency are achieved through the pull oracle model, where price updates are made on-chain only when requested. This reduces unnecessary updates and congestion, ensuring efficient data flow and lower operational costs. By allowing users to control when updates are made, the pull oracle improves reliability, especially during high congestion and volatility, providing timely data without interruptions.</p><p>Furthermore, the new Pyth V2 pull oracle supports over 540+ price feeds, offering extensive data coverage for Solana protocols. This broader range of reliable data overcomes the limitations of the push oracle, <strong>benefiting the entire Solana DeFi ecosystem</strong>. The pull oracle also enhances security by reducing the frequency of unnecessary updates, minimizing the system’s attack surface, and processing only relevant data. Users pay for the data they specifically request, optimizing gas fees and resource utilization. Maintaining both push and pull oracles during the transition ensures continuity for existing users and offers developers greater control and flexibility in consuming oracle data, supporting the ecosystem’s growth.</p><p>As DeFi continues to evolve, adopting pull oracles will be crucial for building a more secure, efficient, and decentralized financial future. Nearly 20% of DeFi hacks are linked to push oracles, highlighting the urgency of transitioning to a more secure oracle model. Pull oracles, with their decentralized nature and on-demand data retrieval, offer a robust solution that minimizes the risk of manipulation and attacks. The Pyth V2 pull oracle’s profound impact on Solana DeFi demonstrates its potential to drive the growth and maturation of the entire DeFi landscape. Through a quantitative analysis of security, efficiency, and governance, we have established a strong case for this paradigm shift.</p><p><strong>Stay tuned!</strong></p><ul><li><a href="https://linktr.ee/pythnetwork">https://linktr.ee/pythnetwork</a></li></ul><p><strong>References:</strong></p><p>[1] https://docs.pyth.network/price-feeds/pull-updates</p><p>[2] https://www.chainalysis.com/blog/crypto-hacking-stolen-funds-2024/</p><p>[3] https://www.chainalysis.com/blog/oracle-manipulation-attacks-rising/</p><p>[4] Caldarelli, G. Real-World blockchain applications under the lens of the oracle problem. A systematic literature review. <em>In Proceedings of the 2020 IEEE International Conference on Technology Management, Marrakech, Morocco, 25–27 November 2020</em>.</p><p>[5] https://chaoslabs.xyz/posts/oracle-risk-and-security-standards-network-architectures-and-topologies-pt-2</p><p>[6] https://pyth.network/publishers</p><p>[7] https://pythnetwork.medium.com/welcome-to-pyth-network-dc0c5b23cab4</p><p>[8] https://dev.to/gauciv3005/migrating-from-push-oracles-to-pull-oracles-the-future-of-defi-protocols-da1</p><p>[9] https://pyth.network/blog/pyth-a-new-model-to-the-price-oracle</p><p>[10] https://solana.stackexchange.com/questions/14718/pyth-v2-migration-for-projects-with-older-dependencies-pull-oracles</p><p>[11] https://web3canada.ca/wp-content/uploads/2023/10/IOSCO-Consultation-Report_-Policy-Recommendations-for-Decentralized-Finance-DeFi.pdf</p><p>[12] https://pyth.network/whitepaper_v2.pdf?ref=pyth-network.ghost.io</p><p>[13] https://chain.link/education/blockchain-oracles</p><p>[14] https://forum.pyth.network/t/about-the-pyth-dao/14?u=bats4</p><blockquote>Feel free to reach out to me on Twitter <a href="https://x.com/0xmarkdams">@Oxmarkdams</a> with any suggestions or opinions (I value genuine feedback or critique). If you find this even slightly insightful, please share it — I’ve invested a “countless hours” of refining this content, and your support means everything in helping it educate a wider audience. Thank you.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17c93c7735e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Drift: The Premier Perpetuals DEX on Solana, and a Force Driving DeFi Innovation]]></title>
            <link>https://markdamasco.medium.com/drift-the-premier-perpetuals-dex-on-solana-and-a-force-driving-defi-innovation-8b45bd11698b?source=rss-f9aafe473876------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b45bd11698b</guid>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[perpetual-contracts]]></category>
            <category><![CDATA[dex]]></category>
            <dc:creator><![CDATA[Mark Damasco]]></dc:creator>
            <pubDate>Tue, 28 May 2024 07:50:22 GMT</pubDate>
            <atom:updated>2024-06-14T04:11:49.647Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*j4zWopJj8kC1UZE2" /></figure><h4>A Deep Dive into Drift Protocol</h4><p><a href="https://app.drift.trade/"><strong>Drift Protocol,</strong></a> the largest open-sourced perpetual futures exchange built on Solana, is not just an application — it’s a layer for other protocols to build upon. With the recent launch of its new governance token, $<strong>DRIFT</strong>, the platform has reached a significant milestone in its evolution with a <strong>Cumulative trading Volume</strong> of over<strong> </strong><a href="https://app.drift.trade/stats"><strong>$24 Billion</strong></a> and <strong>Total Value Locked (TVL)</strong> of over<a href="https://defillama.com/protocol/drift#information"> <strong>$300 Million </strong></a>with <strong>Cumulative users </strong>of<strong> </strong>over<strong> </strong><a href="https://app.drift.trade/stats"><strong>180,000</strong></a>. <a href="https://twitter.com/0xmarkdams">-0xmarkdams</a></p><p>..Let’s Explore some key factors that contributed to Drift Enormous Success, yet we are still early in Crypto.</p><h3>Drift’s Success on DeFi: Leveraging Solana’s Technology</h3><p>Solana’s incredibly high transaction throughput <strong>(currently running </strong><a href="https://explorer.solana.com/"><strong>2000–3000 TPS</strong></a><strong>)</strong>, with block production times as low as <a href="https://solanacompass.com/"><strong>400ms</strong></a> and average transaction fees around<strong> </strong><a href="https://solanacompass.com/statistics/fees"><strong>0.000112 SOL</strong></a><strong>,</strong> enables lightning-fast trades crucial in the world of perpetual futures. Building on the Solana blockchain offers <a href="http://app.drift.trade/">Drift</a> these core benefits:</p><h4>Turbine and Gulfstream</h4><p><strong>Turbine</strong> is Solana’s primary mechanism for propagating blocks (groups of transactions) throughout the network. It aims to break down large data packets into smaller pieces and distribute them efficiently. <strong>Gulfstream’s</strong> role is to forward transactions to the current block leader ahead of their inclusion in a block, offering an efficient mechanism for shared block data and mempool elimination in the Solana blockchain. This architecture contributes to Solana’s scalability and faster transaction processing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*5i3bQx6w7fqGdBiu" /><figcaption>Turbine and Gulfstream Architecture:</figcaption></figure><p>SVM</p><p><strong>Solana Virtual Machine (SVM) </strong>is a <strong>multi-threaded</strong> runtime that maximizes performance by efficiently utilizing hardware through parallel processing across validator cores. This enables better scalability as hardware advances (Horizontal scaling). Unlike <strong>EVM</strong> chains with global fees, further, SVM facilitates localized fee markets, allowing fees to be tailored per smart contract, preventing unrelated transactions (like NFT minting) from impacting MM or DeFi fees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*bI9thCaB4BnHFx5L" /><figcaption>EVM on Ethereum and SVM on Solana</figcaption></figure><p>The <strong>EVM</strong> processes transactions/smart contracts in a single-threaded manner, meaning that transactions are executed one by one in a sequential order. The <strong>SVM</strong> processes transactions/smart contracts in a multi-threaded (parallel) fashion, allowing multiple transactions to be executed simultaneously.</p><h3>Future Implementations</h3><h4><a href="https://firedancer-io.github.io/firedancer/">Firedancer</a></h4><p>Firedancer is an upcoming high-performance<strong> validator client </strong>(Software) for the Solana blockchain. It’s designed to significantly improve the throughput and reliability of the network by addressing performance bottlenecks and enhancing the overall efficiency of transaction processing. Written in C++ — it is an open source, encourages community contributions, and promotes transparency.</p><p>Furthermore, <a href="https://firedancer-io.github.io/firedancer/">Firedancer</a> puts Solana in the range of centralized exchange (CEX) latency times for transaction finality developed by <a href="https://jumpcrypto.com/">Jumpcrypto</a> currently under development and expected to be live by the end of the year as per this <a href="https://twitter.com/dj_d_sol/status/1782412681070215307">post</a> retweeted by Anza (formerly Solana Labs). The median time-to-finality range for Solana combined with Firedancer is reported as 1–2s, with the note that it can go up to 60–90s at extremes. This latency performance places Solana and Firedancer within the typical range observed for centralized exchanges during tests conducted in 2021, as shown in the data for Coinbase, Binance, and Kraken.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*-EVcah9eLiJKrDIN" /><figcaption>Credits to Messari</figcaption></figure><h4>Summary</h4><p>Solana is Fast and developer-friendly due to <strong>low fees</strong> as famously coined by the Community <strong>“SOL” as “Speed Of Light”</strong> or as <a href="https://twitter.com/aeyakovenko">Anatoly Yacovenko</a> (Co-Founder of Solana) puts it “Solana is the most performant permissionless blockchain in the world”. Moreover, there are coming updates (such as <a href="https://twitter.com/anza_xyz">v1.18</a>, which has further enhancements to <strong>QUIC</strong> and congestion-related improvements as well as a new scheduler) that not only mitigate congestion but also improve overall speed.</p><h3>Drift Protocol Innovative Design and Technology</h3><p>Drift differentiates itself through several key features of liquidity mechanisms:</p><h4>1. JIT (Just-in-Time) Liquidity</h4><p>When a trader places a market order, a <strong>JIT auction</strong> is instantly triggered. Market makers (liquidity providers) compete within this short-duration auction to fill the order, resulting in improved pricing for the trader. Through JIT, Market Makers compete to fill the orders at a price that’s better or equal to the auction price.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*CyBQNU3oAUIaM8iJ" /></figure><p>Drift’s JIT Liquidity Mechanism aims to enhance liquidity by leveraging both market makers and the AMM.</p><h4>How does it work?</h4><p>Market order submitted. Auction begins, typically starting at the current Oracle price. Market makers offer increasingly favorable prices to win the right to fill the order. If a market maker successfully fills the order, the trade is executed at a price better than, or equal to, the oracle price.</p><p><strong>Benefits</strong></p><p>Deep liquidity, even for large orders. Competitive pricing as market makers view for trades. Slippage reduction (the difference between expected and actual price). Moreover, Takers (those placing market orders) often get a better price through JIT auctions since market makers compete to provide the best quotes during the 5-second auction period. This can result in significant cost savings compared to simply relying on an AMM.</p><h4>2. AMM (Automated Market Maker)</h4><p>An AMM provides a constant source of liquidity based on a mathematical formula. Traders interact directly with a smart contract containing a pool of assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*ewcT-JVFeQDfV9VA" /><figcaption>Where:bid/ask price = reservation price ± base_spread = f(inventory, balance…)</figcaption></figure><h4>How does it work?</h4><p>The long and short spread can be asymmetric due to changes in the underlying inventory skew and market buy/sell pressure. Ultimately, the ask—bid can never exceed the max spread (percentage calculated using the current valid Oracle price).</p><p>The bid/ask points on the curve are calculated as follows (exact efficient integer math method calculated on contract):</p><pre>bid_quote_reserve = quote_reserve - (quote_reserve / (100%/short_spread))ask_quote_reserve= quote_reserve + (quote_reserve / (100%/long_spread))</pre><p>The <strong>quote_reserve</strong> is defined as the total AMM reserves of the quote asset. Then use the same k to back out the <strong>base_reserve</strong> for the bid/ask curves as well.</p><h4>Simple term Benefits</h4><p><strong>Liquidity providers (LPs)</strong> deposit assets into the pool. Traders swap assets within the pool according to a pricing algorithm. LPs earn fees based on trading activity.</p><p>Moreover, it guarantees liquidity, even if no market makers step in to fill an order. Useful for smaller trades where JIT auctions may be less efficient Permissionless participation for liquidity providers.</p><h4>3. DLOB (Decentralized Limit Order Book)</h4><p>Similar to a traditional exchange, Drift has a decentralized order book where makers place limit orders (willingness to buy or sell at a specific price) and takers can match those orders.</p><p><strong>Decentralization</strong> is achieved through having a network of competing <strong>Keeper bots</strong>. Computational efficiency is achieved by having logic done off-chain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*b_Z12Q-2DP6azi5r" /><figcaption>DLOB (Decentralized Limit order book) Architecture</figcaption></figure><h4>How does it Work?</h4><p>Makers submit limit orders to the order book. Takers can either fill existing orders or submit their own limit orders. The order book matches compatible orders for execution.</p><p>Moreover, If a taker’s order price matches a limit order on the Keeper’s book, the Keeper can directly facilitate the trade and If there’s no matching limit order, the Keeper can submit the order to Drift’s Automated Market Maker (AMM) for execution.</p><h4>Benefits</h4><p>Enables precision trading strategies based on specific price targets. Supports price discovery as makers and takers interact. Creates potential for tighter spreads (difference between the best bid and ask prices). Moreover, The <strong>on-chain order</strong> book enhances trust and eliminates the risks associated with centralized order book management.</p><h4>Summary</h4><p>Drift’s innovative <strong>hybrid model</strong> efficiently integrates three liquidity mechanisms to ensure robust trading. First, <strong>JIT (Just-in-Time) auctions</strong> prioritize order filling, providing quick and efficient liquidity. If JIT can’t meet the full demand, the <strong>AMM (Automated Market Maker)</strong> steps in as a backstop, ensuring continuous liquidity coverage. Additionally, the order book offers traders flexibility, allowing for various trading strategies and providing further liquidity. This hybrid approach enables Drift to offer a dynamic and reliable trading experience. <a href="https://docs.drift.trade/about-v2/decentralized-orderbook">Learn More</a></p><p>Drift’s open-source, decentralized nature positions it perfectly as a building block for further innovation within the Solana ecosystem. Its architecture allows other protocols to integrate efficiently, and we’ve already seen this in action:</p><h4><a href="https://www.superstakesol.com/">SuperstakeSol</a></h4><p>This powerful yield-generating protocol is built using Drift’s perpetual futures, allowing users to earn enhanced returns on their assets.Us</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*JnJP5UuUvz71PsQi" /><figcaption>You can deposit LSTlike mSOLJitoSOL ,orbSOL(12.19% APR) and borrow&amp; to multiply their returns.</figcaption></figure><p><strong>Yield Components</strong></p><p>Returns generated on SuperstakeSol come from a combination of:</p><ul><li><strong><em>Staking Rewards.</em></strong> The underlying SOL staked on Drift continues to earn Solana’s base staking rewards.</li><li><strong><em>Trading Fees.</em></strong> Drift’s perpetuals market activity leads to trading fees, a portion of which goes back to the liquidity providers (i.e., SuperstakeSol depositors).</li><li><strong><em>Funding Rates.</em></strong> Periodic payments exchanged between traders on the perpetuals market can either add to or occasionally subtract from the yield.</li></ul><p><strong>Advantages</strong></p><p>Superstakesol offers a potentially higher yield than simply staking SOL, especially during periods of high market volatility. It does carry some additional risk due to the nature of perpetual futures markets.</p><h4><a href="https://www.circuit.trade/">Circuit Finance</a></h4><p><strong>Circuit Finance</strong> flips the traditional lending model on its head. It allows users to borrow funds without needing to post collateral exceeding the value of the loan itself (undercollateralized borrowing).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*ONw42A4oASqPJJGe" /><figcaption>Circuit Finance Vaults</figcaption></figure><h4>Risk Management with Drift</h4><p>The key to Circuit is how it manages the risk associated with these ‘risky’ loans. It heavily utilizes Drift:</p><ul><li><strong><em>Liquidity Pools.</em></strong> Users supply liquidity into Circuit’s pools, in turn, these assets are deposited into Drift to earn yield.</li><li><strong><em>Liquidation Insurance.</em></strong> If a borrower defaults, a portion of the liquidity pool on Drift is used to instantly cover the losses, minimizing the impact on lenders.</li></ul><p><strong>Advantages</strong></p><p>Circuit Finance provides borrowers access to capital that would be unavailable on traditional lending platforms and gives lenders an interesting avenue for yield generation.</p><h4>The Bigger Picture</h4><p><a href="https://www.superstakesol.com/"><strong>SuperstakeSol</strong></a> and <a href="https://www.circuit.trade/"><strong>Circuit Finance</strong></a> are just two examples of how Drift serves as a foundation for innovative DeFi applications within the Solana ecosystem. Its open-source and modular nature encourages developers to build upon its core, unlocking new financial possibilities.</p><h3>Drift Collaborating with the Pyth Network and Others</h3><p>Drift integrates efficiently with other Solana-based DeFi applications and wallets (e.g. <a href="http://phantom.app/">Phantom</a>, <a href="https://solflare.com/">Solflare</a>, <a href="https://backpack.app/">backpack</a>, etc. ) want better UX? how about using your Google account? Yes, you can Via <a href="https://docs.tiplink.io/">Tplink</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*4CoY1UOFcyHsXGf0" /><figcaption>Connect to drift via Custodial Wallets UI</figcaption></figure><h4><a href="https://pyth.network/">Pyth Network</a></h4><p><strong>Drift</strong> uses <a href="https://pyth.network/">Pyth</a> as its main oracle provider, which enables traders to trade assets with accurate, real-time financial market data.</p><p>Furthermore, Drift utilizes Pyth Network’s high-quality price feeds to ensure fair and transparent pricing for its perpetual futures contracts. This helps to prevent price manipulation and ensure that traders have access to the most up-to-date market data.</p><p><strong>Advantages</strong></p><ul><li><strong><em>First-Party Data.</em></strong> Pyth sources data directly from major exchanges, trading firms, and market makers, ensuring high quality and minimizing the risk of manipulation.</li><li><strong><em>Speed and Accuracy.</em></strong> Pyth offers low-latency price updates, enabling smart contracts to react quickly to market conditions.</li><li><strong><em>Cross-Chain Compatibility.</em></strong> Pyth operates on multiple blockchains, making its data accessible to a wide range of applications.</li></ul><h3>Example Cross-Chain/Multi-Chain on Drift:</h3><h4><a href="https://www.circle.com/en/cross-chain-transfer-protocol">Circle’s CCTP</a></h4><p><strong>Circle’s Cross-Chain Transfer Protocol (CCTP) </strong>is a framework that facilitates the secure and Efficient movement of USDC (Circle’s stablecoin) between different blockchains. By allowing the movement of USDC from different chains, Drift benefits from increased stablecoin liquidity on Solana. This improves trading depth and reduces slippage, especially for larger trades.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Q35x-TtsO1_0O29c" /><figcaption>CCTP UI on drift&amp;nbsp</figcaption></figure><p><strong>Advantages</strong></p><ul><li><strong><em>Interoperability</em>.</strong> CCTP allows USDC to flow freely across supported blockchains, fostering broader use cases and increased liquidity.</li><li><strong><em>Security</em>.</strong> Circle, a regulated financial institution, prioritizes security and compliance in the design of CCTP.</li><li><strong><em>USDC Liquidity.</em></strong> CCTP will enable users to efficiently move USDC between blockchains and use it as collateral on Drift, expanding liquidity and participation.</li></ul><h4><a href="https://app.drift.trade/bridge/mayan">Mayan Swap</a></h4><p>Easily swap from EVM chains like <strong>Ethereum</strong> and <strong>Arbitrum</strong> to <a href="http://solana.com/">Solana</a> with <a href="https://docs.mayan.finance/">Mayan Swap</a>. Cross-chain swaps automatically include gas drop-off (0.05 SOL) for new Solana wallets to get you started. You can always adjust this in the settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/0*bfmlHQqUyV7304zZ" /><figcaption>Mayan Swap UI (User Interface) on Drift</figcaption></figure><h4>Wormhole Bridge</h4><p>After you’ve bridged your assets, you can <a href="https://jup.ag/swap/USDCet-USDC">swap with Jupiter</a> for native USDC and deposit it onto Drift as collateral. Furthermore, Users can bridge tokens like <strong>ETH</strong>, <strong>WBTC, USDT</strong>, and others to Solana to use within Drift’s ecosystem. <a href="http://wormhole.com/">learn more</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/0*oUuUTaiwIMImhfEj" /><figcaption>Bridge to Wormhole UI on Drift</figcaption></figure><p>This made <a href="http://app.drift.trade/">Drift</a> special as <a href="https://en.wikipedia.org/wiki/Henry_Ford">Henry Ford</a> puts it “<strong><em>If everyone is moving forward together, then success takes care of itself”</em></strong> emphasizing the importance of Teamwork and Collaboration.</p><h3>Drift into the Future of DeFi with $DRIFT</h3><p>Mark your calendars for <a href="https://twitter.com/DriftFDN/status/1790141570685051034">May 16th, 2024</a>, a<strong>t 12 PM UTC (8 AM EST)</strong> — it’s the day the <strong>Drift</strong> ecosystem takes flight with a massive airdrop! During the launch, they will collaborate with <a href="http://jup.ag/">JupiterExchange</a>, <a href="https://www.meteora.ag/">MeteoraAG</a>, <a href="https://app.kamino.finance/">KaminoFinance</a>, and <a href="https://www.jito.wtf/">jito_sol</a> for on-chain liquidity.</p><p>A total of <strong>120,000,000 $DRIFT tokens </strong>— 12% of the total supply — will be released into the hands of the community, a testament to <strong>Drift’s commitment to decentralization</strong> and <strong>rewarding its early supporters.</strong> The airdrop will propel Drift into a new, user-centric phase of growth and innovation. Thrilled to see how users will empower Drift’s continued expansion.</p><p>Moreover, Drift is a catalyst for permissionless innovation. As a <strong>layer for builders</strong>, it empowers visionaries to create decentralized financial tools that push boundaries and challenge the limitations of the traditional financial system. Whether you’re a seasoned trader seeking the best on-chain execution or a developer bringing your DeFi dreams to life, Drift is where the action is.</p><h4>$DRIFT Token The Heart of the Ecosystem:</h4><p><strong>$DRIFT</strong> is the native token of Drift Protocol, a decentralized derivatives exchange on the Solana blockchain. Moreover, <strong>$DRIFT</strong> is an SPL token. <a href="https://spl.solana.com/token">SPL tokens</a> are the Solana blockchain’s equivalent of ERC-20 tokens on Ethereum. This means $DRIFT benefits from the speed, scalability, and low transaction costs of the Solana network.</p><p>It Includes:</p><ul><li><strong><em>Governance.</em> </strong>$DRIFT holders can propose and vote on changes to the Drift protocol, shaping its future.</li><li><strong><em>Fee Discounts.</em></strong> Trading on Drift is incentivized — holders receive a percentage discount on fees.</li><li><strong><em>Staking Rewards.</em></strong> By staking $DRIFT, users earn a share of the protocol’s revenue.</li><li><strong><em>Insurance Fund Staking.</em></strong> Stakers help back the protocol’s insurance fund which protects against trader losses, earning rewards for their participation.</li></ul><h3>Your DeFi Journey Starts Here</h3><p>Ready to experience the power of decentralized trading and unleash the potential of the Solana DeFi landscape? Drift is your gateway.</p><h4>1. Trade</h4><p>You can <strong>Spot trade</strong> and <strong>Swap </strong>any pair with leverage of up to 5x, and trade perps with leverage of up to 20x. Allowing you to speculate on price movements with leverage, potentially amplifying your returns (always understand the risk the higher the leverage the higher the potential <strong>return</strong> and <strong>Loss</strong>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/0*1H9oUwDFMw-XFWut" /><figcaption>Sol-Perp trading UI on Drift</figcaption></figure><p><strong>Perpetual Futures </strong>contracts lock in a price for future asset trades, <strong>Options</strong> offer the flexibility to buy/sell an asset at a set price by a certain date, and <strong>Perpetual</strong> contracts allow indefinite position holding with price speculation like future</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*b5uSz10EJEb1c6-S" /><figcaption>Futures vs Options</figcaption></figure><h4>2. <a href="https://docs.drift.trade/">Build</a></h4><p>Tap into Drift’s infrastructure to create the next generation of DeFi applications. Drift’s infrastructure is designed to support your most ambitious DeFi projects. Leave your mark on the evolution of finance by building on Drift.</p><ul><li><a href="https://drift-labs.github.io/v2-teacher/#terms-of-use"><strong>API Documentation</strong></a><strong>.</strong> Interact with the protocol programmatically (<a href="https://drift-labs.github.io/v2-teacher/#terms-of-use">https://drift-labs.github.io/v2-teacher/#terms-of-use</a>).</li><li><a href="https://docs.drift.trade/sdk-documentation"><strong>SDKs</strong></a><strong>. </strong>Language bindings in <a href="https://github.com/drift-labs/protocol-v2/tree/master/sdk">Typescript</a> and <a href="https://github.com/drift-labs/driftpy">Python</a>. (<a href="https://docs.drift.trade/sdk-documentation">https://docs.drift.trade/sdk-documentation</a>)</li><li><a href="https://docs.drift.trade/tutorial-bots/keeper-bots"><strong>Tutorials</strong></a>. Build a <a href="https://docs.drift.trade/tutorial-bots/keeper-bots">Keeper bot</a> or <a href="https://docs.drift.trade/tutorial-bots/trading-bots/tutorial-jit-trading-bot">JIT Trading bot</a>.</li><li><a href="https://github.com/drift-labs/gateway"><strong>Drift Gateway</strong></a>.<strong> </strong>Self-hosted API gateway to easily interact with Drift V2 Protocol <a href="http://(https//github.com/drift-labs/gateway">(https://github.com/drift-labs/gateway</a>).</li></ul><h4>3. Contribute</h4><p>These are the only official community channels, beware of scams.</p><p><strong>Discord:</strong> <a href="https://t.co/HcbZucF8KV">https://discord.com/invite/driftprotocol…</a></p><p><strong>Telegram:</strong> <a href="https://t.co/8sE288KzNP">https://t.me/+G4i0AZcHf6cxNDll…</a></p><p><strong>Twitter:</strong> <a href="https://twitter.com/DriftProtocol">https://twitter.com/DriftProtocol</a></p><p>Drift Protocol advanced &amp; revolutionary tech</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*PLSoldrvrIZ3a_Jd" /></figure><p>Ms. Cindy (Co-founder of Drift)</p><p><strong>Trade and Build on Drift. Be a part of the revolution.</strong></p><p>👉<a href="https://app.drift.trade/">Click here</a> to Jumpstart your Trading journey.</p><p>👉C<a href="https://drift.foundation/eligibility">lick here</a> for a $DRIFT Airdrop eligibility.</p><p><strong>References. Sources consulted are duly hyperlinked.</strong></p><blockquote><em>Disclaimer: “The article emphasizes that it does not contain sponsored content or financial advice. Instead, it offers educational insights into cryptocurrency within Drift Protocol and Solana ecosystem. Readers are urged to research independently and consult financial professionals before investing. The article underscores the volatility of the cryptocurrency market and advises caution in financial decisions and the information reflected herein are subject to change without being updated.”</em></blockquote><p><em>Feel free to reach out to me on Twitter </em><a href="https://x.com/0xmarkdams"><em>@Oxmarkdams</em></a><em> with any suggestions or opinions. If you find this even slightly insightful, please share it — I’ve invested countless hours crafting this content, and your support means everything in helping it reach a wider audience. Thank you.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b45bd11698b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Developer’s Intro to Huddle01 SDK and Ideas to Build]]></title>
            <link>https://markdamasco.medium.com/empower-decentralized-connectivity-for-audio-and-video-conferencing-2327b7f339e6?source=rss-f9aafe473876------2</link>
            <guid isPermaLink="false">https://medium.com/p/2327b7f339e6</guid>
            <category><![CDATA[huddle01]]></category>
            <category><![CDATA[decentralized]]></category>
            <category><![CDATA[sdk]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[video-conferencing]]></category>
            <dc:creator><![CDATA[Mark Damasco]]></dc:creator>
            <pubDate>Sun, 05 May 2024 04:25:52 GMT</pubDate>
            <atom:updated>2024-06-06T14:30:39.410Z</atom:updated>
            <content:encoded><![CDATA[<h4>Empower Decentralized Connectivity for Audio and Video Conferencing</h4><blockquote><em>The market for </em><strong><em>live Audio </em></strong><em>and </em><strong><em>Video conferencing communication</em></strong><em> is rapidly evolving. Centralized video conferencing platforms have served us well (e.g. </em><a href="https://zoom.us/"><strong><em>Zoom</em></strong></a><strong><em>, </em></strong><a href="https://workspace.google.com/intl/en_ph/lp/meet/?utm_source=google&amp;utm_medium=cpc&amp;utm_campaign=1707696-Workspace-APAC-PH-en-BKWS-PHR-MV&amp;utm_content=text-ad-none-none-DEV_c-CRE_619004145502-ADGP_Hybrid%20%7C%20BKWS%20-%20BRO%20%7C%20Txt-Meet-N%2FA%201-KWID_43700078636737435-kwd-297900019805&amp;userloc_1011175-network_g&amp;utm_term=KW_google%20meet&amp;gad_source=1&amp;gclid=Cj0KCQjwir2xBhC_ARIsAMTXk87xWX335erDKA6_X_oQdFFqsVvDD3Cy6yZLQ6eXP9tlLDw8Iv38Xg8aAnuUEALw_wcB&amp;gclsrc=aw.ds"><strong><em>Google meet</em></strong></a>, <em>etc. with a </em><strong>Market size To Reach $</strong><a href="https://finance.yahoo.com/news/video-conferencing-market-reach-usd-224000863.html"><strong>27.6 Billion</strong></a><strong> By 2032</strong>), <em>but issues of</em> <strong><em>Privacy</em></strong>, <strong><em>Cost</em></strong>,<strong><em> Data Ownership</em></strong>, <em>and</em> <strong><em>limitations in customization persist</em></strong><em>. -</em><a href="https://twitter.com/0xmarkdams"><em>Oxmarkdam</em></a><em>s</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/0*xn2VL-5leRwU4Fq7" /><figcaption><em>Centralized Servers can have a single point of failure.</em></figcaption></figure><h3>Tired of big tech controlling your online meetings and data?</h3><p>Traditional video conferencing platforms rely heavily on centralized servers, exposing your <strong>personal identity</strong>, <strong>data, location, etc</strong>., to potential misuse just like the scandal on <a href="https://en.wikipedia.org/wiki/Facebook%E2%80%93Cambridge_Analytica_data_scandal#:~:text=In%20the%202010s%2C%20personal%20data,be%20used%20for%20political%20advertising."><strong>Facebook</strong></a> now <strong>Meta</strong>). Even your recordings and transcripts are stored on their servers, raising concerns about privacy and control.</p><p>Web3 platforms like <a href="https://app.huddle01.com/"><strong>Huddle01</strong></a> offer a revolutionary alternative built on the principles of decentralization. They operate on distributed networks (blockchains), eliminating the risk of censorship or sudden shutdowns imposed by a single entity.</p><p>Here’s where Custodial/Crypto wallets like <a href="https://metamask.io/"><strong>MetaMask</strong></a> or <a href="http://phantom.app/"><strong>Phantom</strong></a> come in. By connecting Huddle01 to your crypto wallet, your meeting data and recordings can be tied directly to it. This gives you ultimate control over access and usage, ensuring only authorized individuals can see your information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*Zzd1yVngphduXWOGrsY6xQ.png" /><figcaption>Connect Crypto Wallets UI</figcaption></figure><p>Moreover, Web3 opens doors for innovative features like tokenized rewards for participation, reputation systems based on verifiable activity on the blockchain, and even community-driven governance where token holders vote on the platform’s future. By joining <strong>Huddle01,</strong> you become a pioneer in the world of decentralized communication, shaping its future while connecting with others who share a vision for a more user-empowered internet.</p><h3>What exactly is Huddle01?</h3><p><a href="https://huddle01.com/"><strong>Huddle0</strong></a><strong>1</strong> is a platform that leverages both <strong>WebRTC</strong> and <strong>Decentralized Real-Time Communication (dRTC)</strong> principles to provide a decentralized, real-time communication experience. Moreover, <strong>WebRTC </strong>Provides the core technology for real-time, peer-to-peer communication and <strong>dRTC</strong> Builds on WebRTC by adding decentralization, improving privacy, security, and resilience.</p><p><strong>As for developers</strong>, this opens up exciting possibilities to create dynamic, cost-effective live audio/video applications.</p><p>In this comprehensive guide, we’ll explore the <strong>Huddle01 SDK </strong>(Software Development Kit). We’ll uncover its core functionalities, resources for <strong>both beginner</strong> and experienced <strong>developers</strong> and <strong>project ideas</strong> that will harness the power of decentralized connectivity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-qZbHaosuuB40xQP" /></figure><p><strong>The HuddleO1 SDK Architecture consists of several core components:</strong></p><ol><li><strong><em>Room</em></strong>. This represents a virtual meeting room where participants can join and communicate with each other. It manages the overall state and lifecycle of the meeting.</li><li><strong><em>Peer</em></strong>. This refers to an individual participant in the meeting room. Each peer has their own set of media streams (audio, video, screen share) that they can share with others.</li><li><strong><em>MediaStream</em>.</strong> A MediaStream represents a collection of media tracks, such as audio and video tracks, that can be sent or received by a peer.</li><li><strong><em>MediaStreamTrack</em>.</strong> A MediaStreamTrack is an individual media track within a MediaStream, such as an audio track or a video track.</li><li><strong><em>Local</em></strong>. This refers to the local participant’s media streams and tracks that are being sent to the meeting room.</li><li><strong><em>Remote</em>.</strong> This refers to the remote participants’ media streams and tracks that are being received by the local participant.</li><li><strong><em>Data Message.</em></strong><em> </em>This component allows peers to send and receive real-time data messages, which can be used for various purposes such as signaling, chat, or custom data transfer.</li><li><strong><em>Metadata.</em></strong> This component allows peers to share and access metadata related to the meeting room or individual participants, such as participant names, room settings, or other custom metadata.</li><li><strong><em>Room States</em>.</strong> The SDK manages various room states, such as “joining,” “connected,” “disconnected,” and others, which are used to track the overall status of the meeting room and facilitate state management for participants.</li></ol><h3>Why Build with Huddle01 SDK?</h3><h4><strong>Decentralized Architecture</strong></h4><p><strong>Huddle01</strong> revolutionizes real-time communication by ditching centralized servers. It creates direct peer-to-peer connections for lower costs, unbeatable scalability, and greater network stability. To make this work, it relies on a global network of nodes that coordinate connections and traffic, making the entire system robust and efficient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8nKYDNe5VU6-Zxf9" /><figcaption><em>peer-to-peer Communication.</em></figcaption></figure><h4><strong>High-Quality Audio &amp; Video, Customization, and Cross-Platform Support:</strong></h4><p>The Huddle01 SDK prioritizes a great user experience. It uses advanced codecs for smooth audio/video even on limited bandwidth, and can adjust video quality dynamically for perfect streaming. The SDK gives you control over the look and feel of your app, along with the features you want to include. Plus, it works across a vast array of operating systems and devices, ensuring your application can reach the widest possible audience.</p><p>Moreover, the <strong>Huddle01 SDK</strong> is a set of <strong>tools</strong> and <strong>libraries</strong> designed to simplify the process of integrating web3 live audio and video capabilities into your applications. Built with flexibility in mind, it offers support for various platforms and programming languages.</p><h4><a href="https://github.com/Huddle01"><strong>Huddle01 SDK</strong></a><strong> key features:</strong></h4><p><strong>1) Audio Spaces</strong></p><ul><li><strong><em>Twitter Spaces Alternative</em>.</strong> Huddle01 SDK allows you to create audio rooms similar to Twitter Spaces. Engage your community in live conversations, discussions, or virtual events.</li><li><strong><em>Zero Data Collection.</em></strong> Users can join audio spaces without email sign-ups, ensuring privacy.</li><li><strong><em>Web3 Wallet Integration</em>.</strong> Host meetings using Web3 wallets (Metamask, WalletConnect, Phantom, etc.).</li><li><strong><em>Token-Gated Rooms</em></strong>. Create exclusive rooms accessible only to authorized participants using tokens (eg. <strong>ERC-20</strong>, <strong>ERC-1155</strong>, <strong>SPL</strong>, etc.) or social graphs.</li><li><strong><em>Recording &amp; Livestreaming</em>.</strong> Enable recording and livestreaming of audio calls for added functionality.</li></ul><p><strong>2) 1:1 Video Conferencing</strong></p><ul><li><strong><em>High-Quality Video</em>.</strong> Enjoy 1080p resolution across platforms.</li><li><strong><em>Token Gating.</em></strong> Similar to audio spaces, create token-gated video rooms.</li><li><strong><em>Web and Mobile Support</em>.</strong> Huddle01 offers React and Vanilla JS SDKs for web applications and React Native SDK for mobile apps.</li></ul><p>3) <strong>Ease of Integration</strong></p><ul><li><strong>Simplified APIs</strong>. The SDK provides easy-to-use APIs that simplify the process of adding real-time audio, video, and data communication capabilities to applications. This reduces the complexity and development time required.</li><li><a href="https://docs.huddle01.com/docs"><strong>Comprehensive Documentation</strong></a><strong>.</strong> Huddle01 offers detailed documentation, examples, and support, making it easier for developers to get started and integrate the SDK into their projects effectively.<strong>(</strong><a href="https://docs.huddle01.com/docs"><strong>https://docs.huddle01.com/docs</strong></a><strong>)</strong></li></ul><p>Using our <a href="https://docs.huddle01.com/docs/videos/cliTool.mp4"><strong>CLI tool</strong></a>, you can quickly clone example apps for Next.js, React and Vanilla JS. You can also get example app for iFrame.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F950948522%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F950948522&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1859820836-4710d75ba04e48f7740d7d7f0490c09d210ddd088f49b28a2294a17e46c2121a-d_1280&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="1080" frameborder="0" scrolling="no"><a href="https://medium.com/media/f0ef30d02d9e2e549c0e0055b5bd4e81/href">https://medium.com/media/f0ef30d02d9e2e549c0e0055b5bd4e81/href</a></iframe><p><strong>4) Developer Experience</strong></p><ul><li><strong><em>Minimal Coding Required</em>.</strong> Integrate Huddle01 SDK seamlessly into your existing framework.</li><li><strong><em>Cross-Platform SDKs</em>.</strong> Build for web (Javascript, React.js) and mobile (Flutter, React Native) with dedicated SDKs.</li><li><a href="https://docs.huddle01.com/docs/React"><strong><em>React Native SDK</em></strong></a><strong>.</strong> Incorporate video and audio calls, screen sharing, and chat functionality in mobile apps.</li><li><strong><em>React and Vanilla JS-Support.</em></strong> For <strong>web applications</strong> and <strong>React Native Mobile App</strong>, follow quick steps to add audio/video capabilities.</li></ul><h3>To get started with the Huddle01 React Native SDK v2, you can install the package using npm</h3><pre>npm install @huddle01/react-native</pre><p>You also need to install a few additional packages for the SDK to function properly:</p><pre>npm install react-native-get-random-values react-native-webrtc</pre><p>After installing the package, inside your top-level index.js file, make sure to import the additionally installed packages and call the registerGlobals() method imported from react-native-webrtc:</p><pre>/**<br> * @format<br> */<br>import { AppRegistry } from &#39;react-native&#39;;<br> <br>import &#39;react-native-get-random-values&#39;;<br> <br>import { registerGlobals } from &#39;react-native-webrtc&#39;;<br> <br>import App from &#39;./App&#39;;<br>import { name as appName } from &#39;./app.json&#39;;<br> <br>registerGlobals();<br> <br>AppRegistry.registerComponent(appName, () =&gt; App);</pre><p>Now you can initialize the SDK by using the useHuddle01 hook:</p><pre>import { useHuddle01 } from &#39;@huddle01/react&#39;;<br> <br>function App() {<br>  const { initialize } = useHuddle01();<br> <br>  initialize(&quot;YOUR_PROJECT_ID&quot;)<br>}</pre><p>Check out the sample app &amp; example video: 👇</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F943076703%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F943076703&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1847054106-94f739a33abaa3f7734ab0a74465c473e8ca39abe501b0c195108462dbe4cb50-d_1280&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1280" height="656" frameborder="0" scrolling="no"><a href="https://medium.com/media/97f8386230b14975af6738dc6e44585c/href">https://medium.com/media/97f8386230b14975af6738dc6e44585c/href</a></iframe><h3>Creating a new React Native app</h3><p>Let’s begin by creating a fresh React Native application using npx.</p><pre>  npx react-native@latest init MyVideoConfApp</pre><p>Once the app has been created, follow 👉 <a href="https://reactnative.dev/docs/environment-setup"><strong>these</strong></a> instructions to <strong>run the app depending on your platform</strong> and device. If the app was successfully built and run, you should be seeing something similar to this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*NgVUCStFfEpcwQol" /></figure><p>Go to your app.tsx file and replace all of the code with this:</p><pre>import React from &#39;react&#39;;<br>import {SafeAreaView, StyleSheet, Text} from &#39;react-native&#39;;<br> <br>function App(): JSX.Element {<br>  return (<br>    &lt;SafeAreaView style={styles.background}&gt;<br>      &lt;Text style={styles.text}&gt;My Video Conferencing App&lt;/Text&gt;<br>    &lt;/SafeAreaView&gt;<br>  );<br>}<br> <br>const styles = StyleSheet.create({<br>  background: {<br>    backgroundColor: &#39;#222222&#39;,<br>    height: &#39;100%&#39;,<br>    width: &#39;100%&#39;,<br>  },<br>  text: {<br>    color: &#39;#ffffff&#39;,<br>  },<br>});<br> <br>export default App;</pre><p>That should be everything we need for the initial app config. Let’s move on to installing and setting up the Huddle01 SDK:</p><p><strong>In your terminal, install the following packages.</strong></p><pre>npm install @huddle01/react-native react-native-get-random-values react-native-webrtc</pre><p><strong>Important Step:</strong> Make sure to add camera and mic permissions to your AndroidManifest.xml file <a href="https://github.com/react-native-webrtc/react-native-webrtc/blob/master/Documentation/AndroidInstallation.md">for Android)and </a><a href="https://github.com/react-native-webrtc/react-native-webrtc/blob/master/Documentation/AndroidInstallation.md">Info.plist file (for iOS)</a></p><p><a href="https://github.com/react-native-webrtc/react-native-webrtc/blob/master/Documentation/iOSInstallation.md">If you are building for iOS</a>, don’t forget to run pod install inside the iOS directory to install the iOS native dependencies.</p><p>Now that we have our packages installed and app permissions granted, we need to add a few more lines of code for configuring the SDK. Go to your top-level index.js file and replace all of the code with the following:</p><pre>import { AppRegistry } from &#39;react-native&#39;;<br>import &#39;react-native-get-random-values&#39;;<br>import { registerGlobals } from &#39;react-native-webrtc&#39;;<br>import App from &#39;./App&#39;;<br>import { name as appName } from &#39;./app.json&#39;;<br> <br>registerGlobals();<br> <br>AppRegistry.registerComponent(appName, () =&gt; App);</pre><p>That’s all the SDK setup we need to build a full-fledged video conferencing app. Kudos if you made it here! Let’s move on to the fun part now.</p><h3>Initializing the SDK</h3><p>Inside our app.tsx file, we can initialize the SDK by using the useHuddle01() hook.</p><pre>import React from &#39;react&#39;;<br>import {SafeAreaView, StyleSheet, Text} from &#39;react-native&#39;;<br>import {useHuddle01} from &#39;@huddle01/react-native&#39;;<br> <br>function App(): JSX.Element {<br>  const {initialize, isInitialized} = useHuddle01();<br> <br>  return (<br>    &lt;SafeAreaView style={styles.background}&gt;<br>      &lt;Text style={styles.text}&gt;My Video Conferencing App&lt;/Text&gt;<br>    &lt;/SafeAreaView&gt;<br>  );<br>}</pre><p>We can use the initialize() function returned from the hook to initialize the SDK and interact with it. But before we do that, let’s build out a basic UI for our app.</p><pre>import {useHuddle01} from &#39;@huddle01/react-native&#39;;<br>import {useMeetingMachine} from &#39;@huddle01/react-native/hooks&#39;;<br>import React from &#39;react&#39;;<br>import {Button, SafeAreaView, StyleSheet, Text, View} from &#39;react-native&#39;;<br> <br>function App(): JSX.Element {<br>  const {initialize, isInitialized} = useHuddle01();<br>  const {state} = useMeetingMachine();<br> <br>  return (<br>    &lt;SafeAreaView style={styles.background}&gt;<br>      &lt;Text style={styles.appTitle}&gt;My Video Conferencing App&lt;/Text&gt;<br> <br>      &lt;View style={styles.infoSection}&gt;<br>        &lt;View style={styles.infoTab}&gt;<br>          &lt;View style={styles.infoKey}&gt;<br>            &lt;Text style={styles.text}&gt;Room State&lt;/Text&gt;<br>          &lt;/View&gt;<br>          &lt;View style={styles.infoValue}&gt;<br>            &lt;Text style={styles.text}&gt;{JSON.stringify(state.value)}&lt;/Text&gt;<br>          &lt;/View&gt;<br>        &lt;/View&gt;<br>        &lt;View style={styles.infoTab}&gt;<br>          &lt;View style={styles.infoKey}&gt;<br>            &lt;Text style={styles.text}&gt;Me Id&lt;/Text&gt;<br>          &lt;/View&gt;<br>          &lt;View style={styles.infoValue}&gt;<br>            &lt;Text style={styles.text}&gt;<br>              {JSON.stringify(state.context.peerId)}<br>            &lt;/Text&gt;<br>          &lt;/View&gt;<br>        &lt;/View&gt;<br>        &lt;View style={styles.infoTab}&gt;<br>          &lt;View style={styles.infoKey}&gt;<br>            &lt;Text style={styles.text}&gt;Peers&lt;/Text&gt;<br>          &lt;/View&gt;<br>          &lt;View style={styles.infoValue}&gt;<br>            &lt;Text style={styles.text}&gt;<br>              {JSON.stringify(state.context.peers)}<br>            &lt;/Text&gt;<br>          &lt;/View&gt;<br>        &lt;/View&gt;<br>        &lt;View style={styles.infoTab}&gt;<br>          &lt;View style={styles.infoKey}&gt;<br>            &lt;Text style={styles.text}&gt;Consumers&lt;/Text&gt;<br>          &lt;/View&gt;<br>          &lt;View style={styles.infoValue}&gt;<br>            &lt;Text style={styles.text}&gt;<br>              {JSON.stringify(state.context.consumers)}<br>            &lt;/Text&gt;<br>          &lt;/View&gt;<br>        &lt;/View&gt;<br>      &lt;/View&gt;<br> <br>      &lt;View style={styles.controlsSection}&gt;<br>        &lt;View style={styles.controlsColumn}&gt;<br>          &lt;View style={styles.controlGroup}&gt;<br>            &lt;Text style={styles.controlsGroupTitle}&gt;Idle&lt;/Text&gt;<br>            &lt;View style={styles.button}&gt;<br>              &lt;Button title=&quot;INIT&quot; /&gt;<br>            &lt;/View&gt;<br>          &lt;/View&gt;<br>          &lt;View style={styles.controlGroup}&gt;<br>            &lt;Text style={styles.controlsGroupTitle}&gt;Lobby&lt;/Text&gt;<br>            &lt;View&gt;<br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;ENABLE_CAM&quot; /&gt;<br>              &lt;/View&gt;<br> <br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;ENABLE_MIC&quot; /&gt;<br>              &lt;/View&gt;<br> <br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;JOIN_ROOM&quot; /&gt;<br>              &lt;/View&gt;<br> <br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;LEAVE_LOBBY&quot; /&gt;<br>              &lt;/View&gt;<br> <br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;DISABLE_CAM&quot; /&gt;<br>              &lt;/View&gt;<br> <br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;DISABLE_MIC&quot; /&gt;<br>              &lt;/View&gt;<br>            &lt;/View&gt;<br>          &lt;/View&gt;<br>        &lt;/View&gt;<br> <br>        &lt;View style={styles.controlsColumn}&gt;<br>          &lt;View style={styles.controlGroup}&gt;<br>            &lt;Text style={styles.controlsGroupTitle}&gt;Initialized&lt;/Text&gt;<br> <br>            &lt;View style={styles.button}&gt;<br>              &lt;Button title=&quot;JOIN_LOBBY&quot; /&gt;<br>            &lt;/View&gt;<br>          &lt;/View&gt;<br> <br>          &lt;View style={styles.controlGroup}&gt;<br>            &lt;Text style={styles.controlsGroupTitle}&gt;Room&lt;/Text&gt;<br>            &lt;View&gt;<br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;PRODUCE_MIC&quot; /&gt;<br>              &lt;/View&gt;<br> <br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;PRODUCE_CAM&quot; /&gt;<br>              &lt;/View&gt;<br> <br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;STOP_PRODUCING_MIC&quot; /&gt;<br>              &lt;/View&gt;<br> <br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;STOP_PRODUCING_CAM&quot; /&gt;<br>              &lt;/View&gt;<br> <br>              &lt;View style={styles.button}&gt;<br>                &lt;Button title=&quot;LEAVE_ROOM&quot; /&gt;<br>              &lt;/View&gt;<br>            &lt;/View&gt;<br>          &lt;/View&gt;<br>        &lt;/View&gt;<br>      &lt;/View&gt;<br>    &lt;/SafeAreaView&gt;<br>  );<br>}<br> <br>const styles = StyleSheet.create({<br>  appTitle: {<br>    color: &#39;#ffffff&#39;,<br>    fontSize: 18,<br>    textAlign: &#39;center&#39;,<br>    fontWeight: &#39;bold&#39;,<br>  },<br>  background: {<br>    backgroundColor: &#39;#222222&#39;,<br>    height: &#39;100%&#39;,<br>    width: &#39;100%&#39;,<br>  },<br>  text: {<br>    color: &#39;#ffffff&#39;,<br>    fontSize: 18,<br>  },<br>  infoSection: {<br>    borderBottomColor: &#39;#fff&#39;,<br>    borderBottomWidth: 2,<br>    padding: 10,<br>  },<br>  infoTab: {<br>    width: &#39;100%&#39;,<br>    display: &#39;flex&#39;,<br>    flexDirection: &#39;row&#39;,<br>    justifyContent: &#39;space-between&#39;,<br>    borderWidth: 2,<br>    borderColor: &#39;#fff&#39;,<br>    borderRadius: 6,<br>    marginTop: 4,<br>  },<br>  infoKey: {<br>    borderRightColor: &#39;#fff&#39;,<br>    borderRightWidth: 2,<br>    padding: 4,<br>  },<br>  infoValue: {<br>    flex: 1,<br>    padding: 4,<br>  },<br>  controlsSection: {<br>    width: &#39;100%&#39;,<br>    display: &#39;flex&#39;,<br>    flexDirection: &#39;row&#39;,<br>    justifyContent: &#39;space-between&#39;,<br>    padding: 10,<br>    borderBottomColor: &#39;#fff&#39;,<br>    borderBottomWidth: 2,<br>  },<br>  controlsColumn: {<br>    display: &#39;flex&#39;,<br>    alignItems: &#39;center&#39;,<br>  },<br>  button: {<br>    marginTop: 4,<br>    borderRadius: 8,<br>    borderWidth: 2,<br>    borderColor: &#39;#fff&#39;,<br>  },<br>  controlsGroupTitle: {<br>    color: &#39;#ffffff&#39;,<br>    fontSize: 18,<br>    textAlign: &#39;center&#39;,<br>    textTransform: &#39;uppercase&#39;,<br>    fontWeight: &#39;bold&#39;,<br>  },<br>  controlGroup: {<br>    marginTop: 4,<br>    textAlign: &#39;center&#39;,<br>    display: &#39;flex&#39;,<br>    alignItems: &#39;center&#39;,<br>  },<br>});<br> <br>export default App;</pre><p>..and you should see it look like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*c_5wI1q1CdztjqIl" /></figure><p>This gives us a basic UI (User Interface) with two main sections. The first section at the top is for general information about the current state of the app, like the app state, your peerID, and other peers in the room. We get this information from the state object returned from the useMeetingMachine() hook. The second section is a control center that provides us with different buttons grouped by the app state they can be pressed. These buttons will help us interact with the SDK.</p><p>Let’s link the buttons with their intended interactions by calling the different SDK methods upon pressing them. We will import these interaction methods at the top, from different hooks available as a part of the SDK.</p><pre>import {<br>  useAudio,<br>  useEventListener,<br>  useHuddle01,<br>  useLobby,<br>  useMeetingMachine,<br>  usePeers,<br>  useRoom,<br>  useVideo,<br>} from &#39;@huddle01/react-native/hooks&#39;;<br>import React from &#39;react&#39;;<br>import {Button, SafeAreaView, StyleSheet, Text, View} from &#39;react-native&#39;;<br> <br>function App(): JSX.Element {<br>    const {initialize, isInitialized} = useHuddle01();<br>    const {state} = useMeetingMachine();<br>    const {joinLobby, leaveLobby} = useLobby();<br>    const {<br>      fetchAudioStream,<br>      produceAudio,<br>      stopAudioStream,<br>      stopProducingAudio,<br>      stream: micStream,<br>    } = useAudio();<br>    const {<br>      fetchVideoStream,<br>      produceVideo,<br>      stopVideoStream,<br>      stopProducingVideo,<br>      stream: camStream,<br>    } = useVideo();<br>    const {joinRoom, leaveRoom} = useRoom();<br>    const {peers} = usePeers();<br> <br>    return (...)<br>}<br> <br>export default App;</pre><h4>Invoking the different methods returned from hooks follow these steps.</h4><ol><li>Head over to <a href="https://legacy.docs.huddle01.com/docs/api-keys">API Keys Page</a> and connect your wallet to get your project credentials:</li></ol><ul><li>API Key</li><li>projectId</li></ul><p>Once done, initialize your project by calling the initialize() method and pass projectId as an argument. (file app.tsx)</p><pre>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>      title=&quot;INIT&quot;<br>      disabled={!state.matches(&#39;Idle&#39;)}<br>      onPress={() =&gt; initialize(&#39;YOUR_PROJECT_ID&#39;)}<br>  /&gt;<br>&lt;/View&gt;</pre><p><strong>2) Joining the Lobby:</strong></p><ul><li>To join a lobby/room, you need to first create the room it using the <a href="https://legacy.docs.huddle01.com/docs/apis/create-room/create-room">Create Room API</a>. Once it is done, you will have a unique roomID that you can use to join the lobby/room, using the joinLobby() method and passing roomID as an argument.</li></ul><pre>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;JOIN_LOBBY&quot;<br>    disabled={!joinLobby.isCallable}<br>    onPress={() =&gt; {<br>      joinLobby(&#39;your_unique_room_id&#39;);<br>    }}<br>  /&gt;<br>&lt;/View&gt;</pre><p><strong>3) Enabling and Disabling Media Devices:</strong></p><ul><li><strong>Important reminders!</strong> If the camera and mic aren’t enabled in the lobby, video and audio won’t be shareable inside the room.</li><li>These methods are to be called only when in a lobby state.</li></ul><pre>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;ENABLE_CAM&quot;<br>    disabled={!fetchVideoStream.isCallable}<br>    onPress={fetchVideoStream}<br>  /&gt;<br>&lt;/View&gt;<br> <br>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;ENABLE_MIC&quot;<br>    disabled={!fetchAudioStream.isCallable}<br>    onPress={fetchAudioStream}<br>  /&gt;<br> <br>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;DISABLE_CAM&quot;<br>    disabled={!stopVideoStream.isCallable}<br>    onPress={stopVideoStream}<br>    /&gt;<br>&lt;/View&gt;<br> <br>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;DISABLE_MIC&quot;<br>    disabled={!stopAudioStream.isCallable}<br>    onPress={stopAudioStream}<br>    /&gt;<br>&lt;/View&gt;</pre><p><strong>4) Joining the Room:</strong></p><pre> &lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;JOIN_ROOM&quot;<br>    disabled={!joinRoom.isCallable}<br>    onPress={joinRoom}<br>  /&gt;<br>&lt;/View&gt;</pre><p><strong>5) Leaving the Lobby:</strong></p><pre>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;LEAVE_LOBBY&quot;<br>    disabled={!state.matches(&#39;Initialized.JoinedLobby&#39;)}<br>    onPress={leaveLobby}<br>  /&gt;<br>&lt;/View&gt;</pre><p><strong>6) Producing your media stream:</strong></p><pre>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;PRODUCE_MIC&quot;<br>    disabled={!produceAudio.isCallable}<br>    onPress={() =&gt; produceAudio(micStream)}<br>  /&gt;<br>&lt;/View&gt;<br> <br>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;PRODUCE_CAM&quot;<br>    disabled={!produceVideo.isCallable}<br>    onPress={() =&gt; produceVideo(camStream)}<br>  /&gt;<br>&lt;/View&gt;<br> <br>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;STOP_PRODUCING_MIC&quot;<br>    disabled={!stopProducingAudio.isCallable}<br>    onPress={() =&gt; stopProducingAudio()}<br>  /&gt;<br>&lt;/View&gt;<br> <br>&lt;View style={styles.button}&gt;<br>  &lt;Button<br>    title=&quot;STOP_PRODUCING_CAM&quot;<br>    disabled={!stopProducingVideo.isCallable}<br>    onPress={() =&gt; stopProducingVideo()}<br>  /&gt;<br>&lt;/View&gt;</pre><p><strong>7) Leaving the Room:</strong></p><p>You’ll be able to see that all the buttons except the first one have been disabled because the app is in <strong>“Idle”</strong> state right now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*9zmCO7-yaVinaes4" /></figure><h3>Rendering Media Streams</h3><p>Now let’s add the UI to render the video streams of you and other peers that might join the same room as you. To render our own video stream, we will be using the &lt;RTCView /&gt; component imported from react-native-webrtc. (file app.tsx)</p><pre>&lt;View style={styles.videoSection}&gt;<br>  &lt;Text style={styles.text}&gt;My Video:&lt;/Text&gt;<br>  &lt;View style={styles.myVideo}&gt;<br>    &lt;RTCView<br>      mirror={true}<br>      objectFit={&#39;cover&#39;}<br>      streamURL={streamURL}<br>      zOrder={0}<br>      style={{<br>        backgroundColor: &#39;white&#39;,<br>        width: &#39;75%&#39;,<br>        height: &#39;100%&#39;,<br>      }}<br>    /&gt;<br>  &lt;/View&gt;<br>&lt;/View&gt;<br> <br>const styles = StyleSheet.create({<br>  videoSection: {},<br>  myVideo: {<br>    height: 300,<br>    width: &#39;100%&#39;,<br>    display: &#39;flex&#39;,<br>    alignItems: &#39;center&#39;,<br>  },<br>});</pre><p>There are a couple of things happening here. Let’s break it down. First, we added an RTCView component to render our own video stream. We passed a prop streamURL={streamURL} to it but streamURL is not defined at the moment. We need to initialize a state variable with that name and set it to our video stream only when we enable our camera. So let’s do that now.(file app.tsx)</p><pre>const [streamURL, setStreamURL] = useState(&#39;&#39;);<br> <br>useEventListener(&#39;lobby:cam-on&#39;, () =&gt; {<br>  if (camStream) {<br>    console.log(&#39;camStream: &#39;, camStream.toURL());<br>    setStreamURL(camStream.toURL());<br>  }<br>});</pre><p>The streamURL state is initially set to an empty string. We added an event listener using the useEventListener hook, that sets the streamURL to our video stream when the app state changes to lobby:cam-on, indicating that the camera was enabled in the lobby state.</p><p>That’s all we need to render our own camera stream. Now let’s render video streams coming from other peers in the room. To do that, we will use the custom &lt;Video /&gt; component imported from the SDK. This component accepts a track (MediaStreamTrack) and a peerId (string) as it’s props and renders the video stream. You can aslo pass in a style prop for customizing how the video component looks.</p><h3>Audio and Video components</h3><p><strong>Importing (</strong>file app.tsx)</p><pre>import { Video, Audio } from &#39;@huddle01/react-native/components&#39;</pre><p>There are two ways to use the <strong>audio</strong> and <strong>video</strong> components:</p><ol><li><strong>Usage with</strong>peerId:</li></ol><pre>  &lt;Video peerId=&quot;PEER_ID&quot; /&gt;<br>  &lt;Audio peerId=&quot;PEER_ID&quot; /&gt;</pre><p>2. Usage with track or stream:</p><pre>  &lt;Video peerId=&quot;PEER_ID&quot; track={camTrack}  /&gt;<br>  &lt;Audio peerId=&quot;PEER_ID&quot; track={micTrack} /&gt;</pre><pre>&lt;View style={styles.videoSection}&gt;<br>  &lt;Text style={styles.text}&gt;My Video:&lt;/Text&gt;<br>  &lt;View style={styles.myVideo}&gt;<br>    &lt;RTCView<br>      mirror={true}<br>      objectFit={&quot;cover&quot;}<br>      streamURL={streamURL}<br>      zOrder={0}<br>      style={{<br>        backgroundColor: &quot;white&quot;,<br>        width: &quot;75%&quot;,<br>        height: &quot;100%&quot;,<br>      }}<br>    /&gt;<br>  &lt;/View&gt;<br>  &lt;View&gt;<br>    {Object.values(peers)<br>      .filter((peer) =&gt; peer.cam)<br>      .map((peer) =&gt; (<br>        &lt;Video<br>          key={peer.peerId}<br>          peerId={peer.peerId}<br>          track={peer.cam}<br>          style={{<br>            backgroundColor: &quot;white&quot;,<br>            width: &quot;75%&quot;,<br>            height: &quot;100%&quot;,<br>          }}<br>        /&gt;<br>      ))}<br>  &lt;/View&gt;<br>&lt;/View&gt;;</pre><p>Here we are filtering out peers returned from the usePeer() hook that are producing their camera stream, and then mapping over these peers and rendering an instance of the Video component for each of them by passing the track and peerId as props.</p><p>And tada! Our quick little video conferencing app is ready. To test it, play around with the controls and press each button to see what happens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*N0lHpoM1UNK4I4k0" /></figure><h3>More Resources to Jumpstart Your Development Journey</h3><ol><li><strong>Documentation.</strong> Explore comprehensive documentation covering all aspects of the SDK, from installation and setup to advanced functionalities and customization options. (<a href="https://legacy.docs.huddle01.com/docs">https://legacy.docs.huddle01.com/docs</a>)</li><li><strong>Sample Apps.</strong> Get hands-on experience with ready-to-use sample applications demonstrating various use cases and functionalities.</li><li><strong>Community Support.</strong> Join the vibrant Huddle01 community to connect with fellow developers, seek assistance, and share your knowledge. (<a href="https://huddle01.com/">https://huddle01.com/</a>)</li><li><strong>Github Repo</strong>. <a href="https://github.com/Huddle01/react-native-SDK-example">https://github.com/Huddle01/react-native-SDK-example</a></li></ol><h4>Articles to learn more</h4><ol><li><a href="https://github.com/Huddle01/react-native-SDK-example">SDK Overview (huddle01-docs.vercel.app)</a></li><li><a href="https://github.com/Huddle01/react-native-SDK-example">Master</a><a href="https://huddle01.hashnode.dev/mastering-the-huddle01-sdk-8-tips-to-keep-in-mind">ing the Huddle01 SDK — 8 tips to keep in mind (</a><a href="http://hashnode.dev/">hashnode.dev</a><a href="https://huddle01.hashnode.dev/mastering-the-huddle01-sdk-8-tips-to-keep-in-mind">)</a></li><li><a href="https://medium.com/reef-finance/huddle01-to-build-and-power-web3-communications-on-the-reef-chain-f52d8ea0e91d">Huddle01 to build and power Web3 communications on the Reef Chain. | by Reef | Reef | Medium</a></li><li><a href="https://medium.com/huddle-01/introducing-huddle-01-257359caf832">Introducing Huddle 01 !. We are on mission to upgrade real time… | by SUSMIT | Huddle 01 | Medium</a></li><li><a href="https://medium.com/reef-finance/huddle01-to-build-and-power-web3-communications-on-the-reef-chain-f52d8ea0e91d">Huddle01 to build and power Web3 communications on the Reef Chain. | by Reef | Reef | Medium</a></li></ol><h3>Examples Application that Leverages Huddle01 SDK</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/0*4b1ZVPlgIGe6nWaD" /></figure><ul><li><a href="https://meetwithwallet.xyz/"><strong>Meet With Wallet</strong></a><strong>.</strong> A Web3 video conferencing application where users connect and establish meeting rooms using their cryptocurrency wallets. This introduces concepts like token-gated meetings (where only holders of a specific token can join, for example <strong>ERC-20 or SPL</strong> tokens).</li><li><a href="https://buttrfly.app/"><strong>Buttrfly</strong></a><strong>.</strong> A platform focused on building virtual communities. Buttrfly uses Huddle01 to power private audio/video spaces within these communities, encouraging engagement and deeper connections.</li><li><a href="https://ethermail.io/"><strong>EtherMail</strong></a><strong>.</strong> A decentralized email alternative with the goal of making email communication as private and secure as possible. Huddle01 could be integrated to provide encrypted video/audio calls directly within the EtherMail platform.</li><li><strong>Lenster.</strong> A Web3 social media application built on top of the Lens Protocol. Huddle01 can be used to create audio spaces for conversations directly within the Lenster platform.</li></ul><h3>Project Ideas to Leverage the Huddle01 SDK</h3><p>The Huddle01 SDK offers a fertile ground for building innovative audio and video applications. Here are a few compelling ideas to spark your imagination:</p><p><strong>1) Decentralized Virtual Events or Education Platforms.</strong></p><ul><li><strong>Problem:</strong> Centralized event platforms can be expensive and susceptible to technical limitations with large audiences.</li><li><strong>Solution:</strong> Develop a virtual events or Education platform that leverages the Huddle01 network. Deliver events of various sizes reliably, with lower hosting costs.</li><li><strong>Features:</strong> Event ticketing integration, breakout rooms, speaker stages, live Q&amp;A sessions, and audience interactions.</li></ul><p><strong>2) Remote Collaboration with Augmented Reality (AR) or Mixed Reality (MR).</strong></p><ul><li><strong>Problem:</strong> Technical collaborations often require on-site presence to visualize elements and troubleshoot.</li><li><strong>Solution:</strong> Build an application allowing remote experts to provide guidance overlaid on a live video feed using AR/MR.</li><li><strong>Features:</strong> AR annotations, tools for virtual measurements, and object/defect highlighting on the live stream.</li></ul><p><strong>3) NFT Showcases and Auctions.</strong></p><ul><li><strong>Virtual Galleries:</strong> Set up virtual galleries where artists can showcase their NFTs through live video tours or presentations.</li><li><strong>Live Auctions:</strong> Host live NFT auctions, allowing bidders to participate in real-time through video streams, enhancing the engagement and excitement of the auction process.</li></ul><p><strong>4) Remote Collaboration Tool. </strong>Create a tool for remote teams to collaborate on projects, with features like shared whiteboards, real-time document editing, and video conferencing integration.</p><p><strong>5)</strong> <strong>Customer Support and Onboarding.</strong></p><ul><li><strong>Video Support</strong>: Provide decentralized customer support through video calls, offering a more personal and effective way to assist users with their issues.</li><li><strong>Onboarding Sessions</strong>: Conduct live onboarding sessions for new users, guiding them through the features and functionalities of the dApp via video.</li></ul><p><strong>6) Community Governance and DAOs.</strong></p><ul><li><strong>Virtual Town Halls</strong>: Facilitate virtual town hall meetings for decentralized autonomous organizations (DAOs) where members can discuss proposals, vote, and make collective decisions through video communication.</li><li><strong>Stakeholder Meetings</strong>: Organize regular stakeholder meetings for blockchain projects, ensuring transparent and efficient communication among all participants.</li></ul><h3>Final Thoughts</h3><p>Huddle01 SDK offers a powerful and versatile toolkit for developers to build innovative video communication applications. By leveraging its decentralized architecture, comprehensive features, and extensive developer resources, you can create solutions that empower individuals and organizations to connect and collaborate in new and exciting ways.</p><p>Moreover, the Huddle SDK provides extensive customization options, allowing you to tailor applications to your specific needs, whether you’re building a virtual classroom, telemedicine platform, or collaborative workspace.</p><p>Ultimately, Huddle01 SDK not only enhances the technical capabilities of dApps with robust audio and video features but also aligns with the broader goals of decentralization, including increased security, privacy, and user empowerment. By fostering a decentralized future for streaming, Huddle01 can help build a more equitable, resilient, and innovative internet landscape.</p><p><strong>Happy Building!</strong></p><p>References:</p><p><strong><em>sources consulted are duly hyperlinked.</em></strong></p><blockquote>If you have any suggestions Contact me on Twitter @<a href="https://twitter.com/0xmarkdams">Oxmarkdams</a> Thank you.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2327b7f339e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mad Lads: More Than a NFT, It’s a Movement]]></title>
            <link>https://markdamasco.medium.com/from-backpack-believers-to-mad-lads-mania-3d1c4f2d1de6?source=rss-f9aafe473876------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d1c4f2d1de6</guid>
            <category><![CDATA[solana-network]]></category>
            <category><![CDATA[defi]]></category>
            <category><![CDATA[mad-lads]]></category>
            <category><![CDATA[nftx]]></category>
            <category><![CDATA[nft]]></category>
            <dc:creator><![CDATA[Mark Damasco]]></dc:creator>
            <pubDate>Sat, 23 Mar 2024 13:01:59 GMT</pubDate>
            <atom:updated>2024-10-10T09:12:06.316Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FbhH4yRbAQlcVZphM5w9Ww.jpeg" /></figure><h4>The Backpack difference, market impact, and the community that drives it all</h4><blockquote><em>First of all thanks to Sir</em><a href="https://twitter.com/armaniferrante"><em> </em><strong><em>Armani</em></strong><em> </em></a><em>(Backpack team) for motivating me to write this blog post. I partially put my soul in it ngl😄</em></blockquote><p>Let’s Focking Go!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*NcmLq6l7MBLY6evoOxGTYw.gif" /></figure><p>In February 2024, Just last month! <a href="https://www.cryptoslam.io/blockchains/solana?timeFrame=year&amp;headerPeriod=all"><strong>Solana</strong> (<strong>NFTs</strong></a>) recorded an all-time sales volume of over <a href="https://www.cryptoslam.io/blockchains/solana?timeFrame=year&amp;headerPeriod=all"><strong>$5 billion</strong></a>,<a href="https://www.madlads.com/"> <strong>Mad lads</strong></a> was one of the main drivers with a total sales volume of over <strong>$140 million USD</strong>.</p><h3>The Inception and Evolution of Mad Lads and the Backpack Team</h3><p>The journey of <a href="https://www.madlads.com/"><strong>Mad Lad</strong>s </a>starts with the creation of <a href="https://backpack.app/downloads"><strong>Backpack</strong></a>, a Solana-focused crypto wallet envisioned by Coral. <strong>Coral</strong> is a development company co-founded by <a href="https://twitter.com/armaniferrante"><strong>Armani Ferrante</strong></a><strong> </strong>and <a href="https://twitter.com/yver__"><strong>Tristan Yver</strong></a>, also known in the Solana community for creating the popular<strong> </strong><a href="https://github.com/coral-xyz/anchor"><strong>Anchor framework</strong></a>, providing several convenient developer tools for writing smart contracts.</p><p>Moreover, Armani acts as an advisor for the Serum DEX <strong>(</strong>now defunct<strong>)</strong> project which utilizes a <a href="https://en.wikipedia.org/wiki/Central_limit_order_book">Central Limit Order Book (CLOB)</a> and is one core developer of the <a href="https://www-sollet.io/">Sollet</a> wallet.</p><p>Before we dive into the hot sauce let’s wind back the clock a bit.⏱</p><h4>Backpack: Forged in the Fire of Crypto Chaos</h4><p><a href="https://backpack.app/"><strong>Backpack</strong></a><strong> </strong>(Decentralized wallet)<strong> </strong>brought <a href="https://www.madlads.com/"><strong>Mad Lads</strong></a><strong> </strong>(NFT)<strong> </strong>and <a href="https://backpack.exchange/"><strong>Backpack Exchange</strong></a><strong> </strong>(CEX) into the world, and it’s become an indispensable tool. Yet, Backpack’s birth was anything but not ordinary. It emerged in December 2022, amidst the <strong>crumbling ruins of FTX</strong> — a baptism by fire in the turbulent world of crypto. Not meant to remain a niche curiosity, <strong>Backpack </strong>has evolved into a formidable force within the <strong>Solana ecosystem</strong>, offering sophisticated tools for developers, seasoned traders, and NFT enthusiasts.</p><p>This symbiosis benefits both parties. Backpack ignited Mad Lads’ early growth, generating buzz and a dedicated user base. In return, Backpack’s legitimacy and expansive reach solidify the value of <a href="https://www.madlads.com/"><strong>Mad Lads</strong></a> as tradable “assets”.</p><h4>Resilience as a Hallmark</h4><p>Of course, this isn’t some picture-perfect fairy tale. The crypto world is inherently volatile, and even rapidly growing projects (like <a href="https://backpack.app/"><strong>Backpack</strong></a>) can face devastating setbacks. In November 2022, the collapse of <a href="https://www.investopedia.com/what-went-wrong-with-ftx-6828447">FTX </a>dealt a harsh blow to the ecosystem and the entire crypto industry. The <strong>Backpack team (</strong>like many others), lost a significant amount of around <strong>$16 million </strong>in Operating Capital <strong>(</strong>or <a href="https://au.lifestyle.yahoo.com/crypto-exchange-backpack-climbed-way-161739201.html"><strong>80%</strong></a> of the total <a href="https://www.prnewswire.com/news-releases/coral-closes-20m-strategic-round-from-ftx-ventures-and-jump-crypto-to-build-backpack-an-application-first-portal-to-crypto-301635394.html"><strong>$20 million</strong></a> strategic investment fund from FTX and Jump Crypto).</p><p>Similarly, the association between Solana and FTX/Alameda caused the Solana token $Sol price to plummet by nearly 55% (that resulted in <a href="https://coinmarketcap.com/currencies/solana/">$14.22</a>/token on Nov 14, 2022), prompting some ecosystem participants to seek other platforms. Notably, the popular NFT collections <strong>Degods</strong> and <strong>Y00ts</strong> opted to leave the chain in <a href="https://www.coindesk.com/web3/2022/12/26/solanas-top-nft-projects-degods-and-y00ts-to-migrate-chains/">December 2022.</a></p><p>Nevertheless, the <strong>Backpack team</strong> has braved these storms, their survival a testament to community loyalty and the platforms’ underlying strengths. Their continued existence speaks to the power of community support and innovation in the face of adversity. In line with any rapidly scaling project, Backpack’s meteoric rise did create technical complexities. These required consistent optimization and dedicated people to ensure a positive user experience during periods of peak demand.</p><p>The worlds of <a href="https://www.madlads.com/"><strong>NFT</strong></a>s, decentralized <a href="https://backpack.app/"><strong>wallets</strong></a>, and <a href="https://backpack.exchange/"><strong>Centralized </strong></a><strong>Exchange</strong> <strong>(CEX)</strong> are intensely competitive. To remain competitive, Mad Lads and Backpack have continuously pushed boundaries, cultivating distinctive and cutting-edge offerings.</p><h3>Why Solana?</h3><p>Sir <a href="https://twitter.com/armaniferrante"><strong>Armani</strong> </a>started an internship at <a href="https://www.apple.com/"><strong>Apple</strong></a> as a Software engineer and later became an on-chain developer for <strong>Ethereum</strong> in 2017, where they started working on <strong>L2 </strong>(<a href="https://chain.link/education-hub/what-is-layer-2">Layer 2</a>) and are interested in Scaling Solutions. between <strong>Apple </strong>and <strong>Ethereum</strong>, he worked at<strong> </strong><a href="https://en.wikipedia.org/wiki/Alameda_Research"><strong>Alameda Research</strong></a><strong> </strong>for 3 months on trading systems then at <a href="https://www.oasislabs.com/"><strong>Oasis</strong></a><strong> </strong>(a research group at Berkeley), and Finally found a home in <a href="http://solana.com/"><strong>Solana</strong></a>.</p><p>Meet the cool team, building cool stuff:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*7H6sWHEsMvghgq3-.jpeg" /><figcaption>Don’t mind the mess and the delicious Doritos😁. <a href="https://twitter.com/MadLukas86/status/1771107139655811477/photo/2">source</a></figcaption></figure><p><a href="https://twitter.com/armaniferrante"><strong>Armani Ferrante</strong></a> (and his team) have an interest in scaling solutions to play a significant role in their plausible transition to Solana.</p><p>Here’s a breakdown:</p><ol><li><strong>Ethereum’s Limitations:</strong> In 2017, Ethereum was already facing scalability challenges. High gas fees and slow transaction speeds were hindering its ability to function as a platform for large-scale applications.</li><li><strong>Scaling above all:</strong> Armani’s work on L2 solutions showed he was aware of the need to find ways of scaling Ethereum. However, Layer 2 solutions on Ethereum often inherit limitations (e.g.<strong> </strong>Sharding, rollup) and introduce complexities of their own.</li><li><strong>Solana’s Promise:</strong> Solana emerged as a blockchain specifically designed for high throughput and low fees. Its unique <strong>architecture</strong>, <strong>censorship</strong>-<strong>resistant</strong>, <strong>immutable</strong>, and <strong>technological innovations </strong>offered a potential breakthrough in blockchain scalability. (which we’ll explore next in depth)</li><li><strong>A New Frontier:</strong> Solana represented an exciting opportunity to build scalable solutions from the ground up on a fundamentally more efficient blockchain.</li></ol><blockquote>“People seem to forget how extraordinary the initial condition for Solana are, They’re like truly incredible, like very hard to recreate — might be impossible to recreate” -<a href="https://twitter.com/armaniferrante">Armani Ferrante</a> (on <a href="https://twitter.com/0xMert_">Mert’s</a> Podcast)</blockquote><h3>Solana’s Speed Tech</h3><p>Here are the core technologies contributing to Solana’s high throughput:</p><h4><strong>Proof of History (PoH)</strong></h4><p>PoH is used to order and timestamp transactions efficiently. By providing cryptographic proof of the passage of time, PoH enables Solana to achieve high throughput and low latency without sacrificing decentralization or security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*3RkaoFq42kzbPZ6l.jpeg" /></figure><h4><strong>Gulfstream:</strong></h4><p>A mempool-less transaction forwarding protocol that optimizes network load and allows validators to begin executing transactions ahead of time (<em>Since every validator knows the order of upcoming leaders</em>), further boosting speed and efficiency.</p><h4><a href="https://medium.com/solana-labs/turbine-solanas-block-propagation-protocol-solves-the-scalability-trilemma-2ddba46a51db"><strong>Turbine:</strong></a></h4><p>Think of Turbine as a block propagation mechanism. It efficiently broadcasts ledger entries to all nodes by breaking down transaction data into smaller packets. These packets are then propagated across the network by nodes, with each node in a layer responsible for forwarding data to a small set of nodes in the subsequent downstream layer. This approach minimizes communication overhead and facilitates faster transaction processing and network scalability within the Solana ecosystem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6x0ltd3TyY6s26EBgEscHA.png" /><figcaption><strong>Turbine </strong>and <strong>Gulfstream</strong> offer an efficient mechanism for <strong>shared block data </strong>and <strong>mempool elimination</strong> in the Solana blockchain. This architecture contributes to <strong>Solana’s scalability</strong> and<strong> faster transaction processing. </strong><a href="https://twitter.com/0xmarkdams"><strong>source</strong></a></figcaption></figure><p><strong>SVM </strong>built upon<strong> Sealevel</strong> Multi-threaded runtime maximizes performance by efficiently utilizing hardware through parallel processing across validator cores. This enables better scalability as hardware advances. Unlike EVM chains with global fees, Sealevel facilitates localized fee markets, allowing fees to be tailored per smart contract, preventing unrelated transactions (like NFT minting) from impacting swap or DeFi fees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YgGq6yFGQA4MNIgG2ldhHA.png" /><figcaption>The <strong>EVM processes</strong> transactions/smart contracts in a single-threaded manner, meaning that transactions are executed one by one in a sequential order. The <strong>SVM processes</strong> transactions/smart contracts in a multi-threaded <strong>(parallel) fashion</strong>, allowing multiple transactions to be executed simultaneously. <a href="https://twitter.com/0xmarkdams"><strong>source</strong></a></figcaption></figure><p><a href="https://docs.google.com/spreadsheets/d/1BKnD_AOiRDeXorIk-2whNvnzcRSRPyMz6dfz5ixoM1M/edit#gid=2028035301"><strong>Scaling Solution Analysis between Solana &amp; Ethereum</strong></a></p><p>Both <strong>Ethereum</strong> and <strong>Solana </strong>offer innovative scaling solutions with distinct trade-offs. Ethereum focuses on a robust <strong>layer 2 ecosystem</strong> to complement its base layer, while Solana aims to <strong>maximize native layer 1 scalability</strong> with unique mechanisms.</p><p>To sum up, Solana is Fast and developer-friendly due to low fees as famously coined by the Community “SOL<strong>”</strong> as “<strong>Speed Of Light”</strong> or as<strong> </strong><a href="https://twitter.com/aeyakovenko">Anatoly Yacovenko</a> puts it<strong> “</strong>Solana is the most performant permissionless blockchain in the world”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*D-R-IXOFzhjI4080.jpeg" /></figure><h3>Analysis of Mad Lads’ Secondary Market Sales</h3><p>As an experienced trader (coupled with proficiency in Market Valuation), I rely on both narratives (because stories shape sentiment) and numbers (numbers matter). The <a href="https://www.tensor.trade/trade/madlads"><strong>Mad Lads</strong> </a>market is showing signs of renewed vitality, with key metrics pointing towards a significant upswing in the past month.</p><p>Let’s analyze the data and uncover the implications.</p><p><strong>Sales Volume:</strong> The latest data from <a href="https://www.cryptoslam.io/mad-lads-1?tab=advanced">CryptoSlam</a> shows that the total sales of Mad Lads have exceeded<a href="https://www.cryptoslam.io/mad-lads-1/sales/summary"> <strong>US$140 million</strong></a><strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*EuRC8FI12MrfWIPo" /></figure><p>These metrics can be valuable for collectors and potential investors to get a sense of the overall health and activity of the Mad Lads NFT collection</p><p><strong>Mad Lads</strong> is currently distributed between <strong>5,203 holders</strong> according to CryptoSlam data.</p><p><strong>Average Hold Time:</strong> This metric represents the average length of time that Mad Lad NFTs have been held by their current owners. The image lists this as <strong>10.34 days</strong>. This indicates that <strong>Mad Lad</strong> NFTs are being actively traded or that there is a mix of long-term holders and short-term traders.</p><p><strong>Floor Price: Mad Lad’s</strong> price floor today is $26,640, with a 24-hour sales volume of 6,527.623 SOL. The overall NFT market is bullish, and the floor price of Mad Lad NFTs is more likely to rise. (at the time of writing see chart below courtesy of <a href="https://www.coingecko.com/">Coingecko</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bOK4A7scyhyfQv1on39Hcg.png" /></figure><p>Analyzing Average Sale Prices through various Marketplaces such as <a href="https://www.tensor.trade/trade/madlads"><strong>Tensor</strong></a>,<strong> </strong><a href="https://magiceden.io/marketplace/mad_lads"><strong>Magic Eden</strong></a>, <a href="https://solanart.io/collections"><strong>Solanart</strong></a><strong> </strong>(on Solana),<a href="https://opensea.io/collection/madladspolygon"> and <strong>Opensea</strong></a><strong> </strong>(on Ethereum). At the time of writing, I see A slight increase of 5%, which suggests stability amidst the overall upward trend and potential interest in higher-rarity pieces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*yV-s-WqTfmV0J3rR" /><figcaption>At the time of writing this Blog post, This was sold for <strong>244.90 SOL</strong>(<strong>$ 46,883.66</strong>). You can view the transactions <a href="https://solscan.io/tx/23saysXUomj4Ko8GJPH6PizPFmpJSfwsucRKBb7Nv4Amf7Uok5us82ipLycb8WMQfPud7jArjXa39hPms1yNkGT8"><strong>here</strong></a> and Marketplace <a href="https://www.tensor.trade/trade/madlads"><strong>here</strong></a>.</figcaption></figure><h3>Mad Lads and Backpack’s Milestones Contributing to its Reputation</h3><p><strong>Mad Lads</strong> and <strong>Backpack </strong>have built a name for themselves through a whirlwind of innovation and community focus.</p><h4><strong>Mad Lads NFT</strong></h4><p>Mad Lads NFTs feature 10,000 unique, edgy illustrations of human and humanoid characters on the Solana blockchain. Initially launched as a standard <strong>profile picture (PFP)</strong> NFTs, As of now, approximately 9,966 Mad Lads have been minted, with over 5,200 NFT collectors holding them on the network.</p><p>The initial sellout of the <strong>Mad Lads </strong>collection in April 2023 demonstrated high initial demand with <strong>over 50% of total NFT sales on the Solana blockchain </strong>(Weekly trading) and market interest.</p><p>Moreover, the continual rise of the floor price <em>(the lowest available price for any piece in the collection</em>) suggests consistent demand and collector belief in the project’s value according to <a href="https://www.cryptoslam.io/mad-lads-1?tab=advanced">CryptoSlam</a> <a href="https://www.cryptoslam.io/mad-lads-1?tab=advanced">d</a>ata at the price of <strong>6.9 $SOL </strong>which was minted on Apr 20, 2023<strong> (6.9</strong> &amp; <strong>4/20</strong> is perfect)<strong>.</strong> Its floor price rose to <strong>85 $SOL at 10:30 p.m. in Hong Kong </strong>(<em>this was during the launch in April 2023</em>).</p><p>As the first xNFT collection on Solana, Mad Lads pioneered the concept of executable NFTs (<em>which we’ll explore later in depth</em>), solidifying their reputation as innovators. Their achievement is even more impressive considering the broader market conditions in November 2022, where industry leader Backpack suffered losses due to the FTX collapse. Despite this setback, Backpack’s recent <a href="https://www.coindesk.com/business/2024/02/28/solana-veterans-raise-17m-for-backpack-crypto-wallet-exchange/"><strong>$17 million</strong></a> fundraising round led by <a href="https://www.placeholder.vc/">Placeholder VC </a>demonstrates its continued <strong>resilience</strong> and<strong> market confidence.</strong></p><p>Events, contests, and collaborations fostered a strong sense of community and contributed to a positive reputation (<em>e.g. these events, orchestrated by the </em><strong><em>superteam </em></strong><em>and </em><strong><em>Backpack</em></strong><em>, have given me insight into their hard work, which I deeply respect as I curated this blog post</em>).</p><p>Additionally, the integration of a unique staking mechanism for Mad Lads NFTs not only rewards holders but also reinforces their reputation for pushing boundaries within the NFT space.</p><p><strong>How to stake Mad Lads?</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F929804022%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F929804022&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1826174601-003a7aa976e14a313e1901f85c5eddc2a4b87f7d71b46f103a7ffffbba1bc03d-d_640&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/247496b26958ed52c01084e404d57744/href">https://medium.com/media/247496b26958ed52c01084e404d57744/href</a></iframe><h4><a href="https://backpack.app/"><strong>Backpack Wallet</strong></a></h4><p>A versatile crypto wallet transforming into a Multi-chain or General-purpose platform for decentralized applications (dApps) and currently supporting <a href="http://solana.com/">Solana</a> and <a href="https://ethereum.foundation/">Ethereum</a>.</p><p>Backpack allows you to:</p><ol><li>Easily store, send, and receive SOL tokens, other Solana-based cryptocurrencies (SPL tokens), and Ethereum-based assets.</li><li><strong>Manage and interact with </strong><a href="https://www.xnft.gg/"><strong>xNFTs</strong></a><strong>:</strong> These are special NFTs containing executable code, enabling them to function like mini-applications (e.g. <a href="https://www.xnft.gg/">Games</a>, <a href="https://www.xnft.gg/">DeFi apps</a>, etc.) directly within the backpack wallet.</li><li><strong>Potentially discover and run dApps across multiple chains:</strong> Backpack aims to offer an easy experience where applications, much like xNFTs, are accessible and operable within the wallet. This removes the need to connect to lots of separate websites and makes interacting with the Dapps more streamlined.</li></ol><p>With Top of the line features include:</p><ol><li><strong>Focus on Security:</strong> Implementing features like the “lock” function, which allows users to prevent NFT transfers out of their wallet, positioned Backpack as a security-first platform.</li><li><strong>Backpack Wallet </strong>is accessible on both mobile and desktop platforms, providing users with a consistent experience across devices.</li><li><strong>Ease of Use:</strong> Just recently, they introduced a <strong>“Side panel”</strong> where you can toggle the wallet directly from the <a href="https://backpack.exchange/"><strong>exchange</strong></a><strong> </strong>(which is also available on <a href="https://twitter.com/i/status/1772827212187648333"><strong>Zetamarkets</strong></a>, <a href="https://app.marginfi.com/"><strong>Maginfi</strong></a>, <a href="https://jup.ag/"><strong>Jupiter</strong></a>,<strong> </strong>and many more to come so <a href="https://twitter.com/Backpack"><em>stay tuned</em></a>!).<strong> </strong>Backpack’s<strong> </strong>user-friendly interface and emphasis on accessibility attracted a wide range of users, building trust and a positive perception of the wallet.</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F929802000%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F929802000&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1826171620-86c260fddec05fe5e33e7881610d1148f1e10ffe598f120dd62086da81c74b2c-d_960&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1178" height="720" frameborder="0" scrolling="no"><a href="https://medium.com/media/7213a55d958cbcfd93a0e509bbec4ad4/href">https://medium.com/media/7213a55d958cbcfd93a0e509bbec4ad4/href</a></iframe><h4><a href="https://backpack.exchange/"><strong>Backpack Exchange</strong></a></h4><p>A Centralized Exchange (CEX) with on-chain integrated Technology. Its <strong>Virtual Asset Service Provider (VASP</strong>) license from the<strong> </strong><a href="https://www.vara.ae/en/"><strong>Dubai Virtual Assets Regulatory Authority(VARA)</strong></a><strong> </strong>ensures a secure and regulated trading environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0oiBiqWyk-26O8JqbbG_dQ.png" /><figcaption><a href="https://www.vara.ae/en/licenses-and-register/public-register/">source</a>.</figcaption></figure><p>Similarly, Centralized exchanges like Backpack Exchange implemented <a href="https://support.backpack.exchange/en/articles/394305"><strong>Know Your Customer (KYC)</strong></a> measures, including collecting government-issued IDs and proof of address, to verify user identities. Moreover, they employ <strong>Anti-Money Laundering (AML)</strong> protocols to monitor transactions for suspicious patterns. These measures help prevent bad actors from exploiting the platform for illegal activities and protect the integrity of the financial system.</p><p>To provide an easy user experience (UX), they have simultaneously secured licenses across multiple global jurisdictions and established premium <strong>fiat on-ramps</strong> and <strong>off-ramps.</strong></p><p>Furthermore, the team has worked on the exchange, incorporating innovative<a href="https://github.com/matter-labs/awesome-zero-knowledge-proofs"> <strong>Zero-Knowledge Proofs</strong></a><strong> </strong>(Zk), <a href="https://en.wikipedia.org/wiki/Secure_multi-party_computation">Multi-Party Computation </a>(MPC) for custody, and low latency order execution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gfa2sWEcAmZM82Tdu00M0g.jpeg" /><figcaption>The exchange’s <strong>millisecond order placemen</strong>t and<strong> sub-millisecond order cancellation</strong> offer a competitive advantage. <a href="https://twitter.com/armaniferrante">Source</a></figcaption></figure><p><strong>Backpack exchange key milestones include:</strong></p><p><strong>Impressive Trading Volume:</strong></p><p>Backpack Exchange’s rapid achievement of high trading volume demonstrates its strong appeal within the Solana CEX Centralized exchange) space.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//twitter.com/Backpack/status/1757901705277243574%3Fs%3D20&amp;image=" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/cf9988dbb8b9b56e0293edc3f7c0c2d6/href">https://medium.com/media/cf9988dbb8b9b56e0293edc3f7c0c2d6/href</a></iframe><p><strong>User-Focused Development</strong>:</p><p>By prioritizing user-requested features like leaderboards and rewards, Backpack Exchange builds loyalty and a reputation for responsiveness within the CEX landscape and is also available on the <a href="https://play.google.com/store/apps/details?id=app.backpack.mobile"><strong>Backpack App</strong>.</a></p><h3>Backpack 🎒 on Twitter: &quot;Backpack Exchange is live in the mobile app on GooglePlay! https://t.co/kxNRn4G8kpiOS coming soon 🎒 pic.twitter.com/HmYAc93ZLC / Twitter&quot;</h3><p>Backpack Exchange is live in the mobile app on GooglePlay! https://t.co/kxNRn4G8kpiOS coming soon 🎒 pic.twitter.com/HmYAc93ZLC</p><p>Furthermore, on April 1, 2024, Bitcoin/USDC pairs began trading around the clock (24/7). Within just a few hours, the trading volume for the BTC/USDC pair reached a staggering <a href="https://twitter.com/SolanaNewsPost/status/1774823427074850849/photo/1"><strong>$14 million</strong></a>. learn more <a href="https://dune.com/21co/backpack-exchange"><em>here.</em></a></p><h3>Backpack 🎒 on Twitter: &quot;We&#39;re live with #Bitcoin trading on Backpack Exchange - https://t.co/6eCSa08JGn pic.twitter.com/PZr9W0FFGE / Twitter&quot;</h3><p>We&#39;re live with #Bitcoin trading on Backpack Exchange - https://t.co/6eCSa08JGn pic.twitter.com/PZr9W0FFGE</p><p>The development team at Backpack, with former FTX ties, has a somewhat mixed reputation. You can admire <strong>their technical prowess</strong>, while others are wary due to the FTX association.</p><p>Nonetheless, people make mistakes (it’s part of the growth<strong>), </strong>and the <strong>world offers a lot of uncertainty — </strong>what matters today is that the backpack team <strong>(</strong>the community in general<strong>) learned a lot from those unfortunate events</strong> and have already moved on.</p><blockquote>Honestly after having our heart torn out by FTX, literally, figuratively, and financially, it feels like nothing can stop us. -<a href="https://twitter.com/armaniferrante/status/1667547490453966850?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1667547490453966850%7Ctwgr%5Eb87cfd641e21cee0df0d404139886f1144d3aa4c%7Ctwcon%5Es1_&amp;ref_url=https%3A%2F%2Fblockworks.co%2Fnews%2Fsolana-madlads-nft-restaking">Armani Ferrante</a></blockquote><h3>Factors Driving Mad Lads and Backpack Community Growth</h3><p>Forget everything you think you know about NFTs. <strong>Mad Lads </strong>aren’t just pretty pictures — they’re pushing the boundaries of what NFTs <strong>can do.</strong> With their focus on utility and the power of their xNFT technology, Mad Lads are poised to shake up the game.</p><h4><strong>Factors Specific to Mad Lads:</strong></h4><p>Mad Lads’ distinct, meme-inspired art style not only makes them immediately recognizable but also creates a sense of <strong>fun</strong>, attracting a community that appreciates the humor and irreverence, thus reinforcing a shared taste in <strong>humor</strong> and <strong>culture</strong> that strengthens the sense of belonging within their community.</p><p>Furthermore, the limited supply of Mad Lads NFTs not only increases their perceived value and desirability, fueling a strong secondary market and collector mentality but also underscores their utility <strong>beyond aesthetics</strong>. Holding them within the <strong>Backpack ecosystem</strong> can unlock benefits such as <strong>staking rewards</strong>, access to exclusive features, or <strong>potential airdrops</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YVXre_0dK_PIXxlh.png" /></figure><blockquote>“Art is to Console those who are broken by life<strong>”</strong>- <strong>Vincent Van Gogh</strong></blockquote><p><strong>The explosive growth of the Backpack ecosystem is driven by a clever mix of factors:</strong></p><p>A limited supply creating high demand, NFTs offering real utility and potential perks, established success of the <strong>Backpack Wallet</strong> and <strong>Backpack exchange </strong>fostering trust, innovative <strong>xNFT</strong> standard enabling interactive NFTs, and focus on ease of use alongside Solana network growth for mainstream adoption.</p><p><a href="https://www.madlads.com/roster"><strong>Mad Lads creators</strong></a> embody the brand’s adventurous spirit, engaging in real-world exploits like <strong><em>surfing</em></strong>, <strong><em>skydiving</em></strong>, and <strong><em>biking,</em></strong> adding authenticity and excitement that resonates with the audience and attracts those who identify with this adventurous mindset., further fueling the success of the Backpack ecosystem.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FBcB87cXtYhc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DBcB87cXtYhc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FBcB87cXtYhc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/329e66ef6b97315571c4150422d136ee/href">https://medium.com/media/329e66ef6b97315571c4150422d136ee/href</a></iframe><h3>What is xNFT?</h3><p>Before we dive into xNFT, let&#39;s just watch a <strong>non-obvious AI-generated😆</strong> Video of Armani interviewed by <a href="https://twitter.com/jahris_">jahris.sol</a>:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F929850355%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F929850355&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F1826247047-73420550ca49d75594b0143cdb6fe9b85505f2e1baa1bc9e4637661e7571d383-d_640&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="720" height="720" frameborder="0" scrolling="no"><a href="https://medium.com/media/721a6f3e7985ce82d7f2060d523bc336/href">https://medium.com/media/721a6f3e7985ce82d7f2060d523bc336/href</a></iframe><p>An <a href="https://www.xnft.gg/"><strong>xNFT</strong> (<strong>Executable NFT</strong>)</a> is a new programmable token standard built on the Solana blockchain (another token standard? “<strong>grow the pie</strong>” as the saying goes). It is an executable tokenized code that represents ownership rights over its use. This means that an xNFT can itself be a platform for operable web3 applications. Additionally, <strong>xNFTs are application</strong>s built directly into the digital assets that they represent.</p><p>Moreover, xNFTs build upon the core concepts of traditional non-fungible tokens (NFTs), offering enhanced capabilities within the <a href="https://backpack.app/"><strong>Backpack wallet</strong></a>. While, traditional NFTs primarily represent ownership of digital assets like <strong>art</strong>,<strong> music</strong>, and <strong>gaming items —</strong> xNFTs introduce a new dimension of interactivity.</p><p>This interactivity is achieved by embedding executable code directly within the xNFT (utilizing <a href="https://docs.xnfts.dev/"><strong>Coral’s developer platform</strong></a>). Instead of a static asset, the xNFT becomes a<strong> self-contained platform</strong> capable of running native web3 applications <strong>(</strong>e.g. DeFi<strong>,</strong> Games, NFT, and other Dapps<strong>)</strong>. Imagine<strong> playing games</strong>,<strong> accessing DeFi protocols</strong>; doing <a href="https://www.xnft.gg/app/DgCPAJ3DKNp8vHP7VU6DKdYoBxWKwjxEeD5VeDdjrkp9"><strong>chatGPT</strong></a><strong> </strong>and<strong> social media </strong>such as <a href="https://www.xnft.gg/app/EZAfDpD43FgdKnmLbdiwSoMAZdpmfwfsU1Lbc348Tzsx"><strong>Solcial,</strong></a>— all run directly in the <a href="https://www.xnft.gg/"><strong>Backpack wallet</strong></a>. This innovation streamlines the Web3 experience and brings a new level of utility to NFTs.</p><h4><strong>How do xNFTs work?</strong></h4><p><a href="https://www.xnft.gg/"><strong>xNFTs</strong></a> are primarily built using the <a href="https://docs.xnfts.dev/"><strong>React xNFT framework</strong></a>, which enables developers to create native web3 applications that run in an isolated browser sandbox within the NFT itself. Hence, this sandbox offers security and prevents malicious code from tampering with sensitive data.</p><p>Additionally, xNFTs are created/minted as <a href="https://spl.solana.com/token"><strong>SPL tokens</strong></a> (Solana’s equivalent of Ethereum’s <strong>ERC-20 tokens</strong>) on the Solana blockchain. The executable code portion is stored in Solana’s program store with a <strong>program ID.</strong></p><p>Basically,</p><p>When you interact with an xNFT (say, within the Backpack wallet), the code is fetched from the program store and executed locally, ensuring a decentralized experience. Moreover, the xNFT itself doesn’t contain the entire codebase. Instead, it holds the <strong>program ID,</strong> which acts like a pointer or reference to the code on the program store.</p><h4><strong>Features of xNFTs:</strong></h4><ol><li><strong>Programmability:</strong> xNFTs contain executable code, meaning they can be programmed to perform specific functions or interact with other applications.</li><li><strong>Interactivity:</strong> This code makes xNFTs interactive, unlike regular NFTs, which are primarily static. Users can engage directly with their xNFTs.</li><li><strong>Self-Updating Capability:</strong> xNFTs can potentially pull information from external sources and update themselves accordingly. For instance, an xNFT linked to a sports team could update its appearance based on game results.</li></ol><h4><strong>Key Advantages of xNFTs:</strong></h4><ol><li><strong>Enhanced Interactivity:</strong> xNFTs can offer complex actions and features beyond simply holding a digital asset.</li><li><strong>User Control:</strong> You have more control over the usage of your assets, without needing to rely on <strong>third-party websites</strong>.</li><li><strong>New Possibilities:</strong> xNFTs open the doors to:</li></ol><ul><li>Dynamic NFTs that change, based on various conditions.</li><li>NFTs can be used in decentralized games in more interactive ways.</li><li>NFTs that offer utility, like membership passes, tickets, or access rights.</li></ul><blockquote>For starters, think of this analogy that <strong>Backpack</strong> (the wallet) is your smartphone and <strong>xNFTs </strong>are<strong> </strong>the<strong> </strong>Apps on your smartphone. -<a href="https://twitter.com/0xmarkdams">Oxmarkdams</a></blockquote><p>The future <strong>xNFTs </strong>are bursting with potential, taking the world of NFTs far beyond static images. While still in its early stages, this exciting technology is rapidly evolving. Imagine the possibilities that lie ahead! <strong>Coral (</strong>behind<strong> </strong>Backpack&amp;Madlads<strong>), </strong>offers a tantalizing glimpse into the future — a future where NFTs can interact, evolve, and bring a whole new dimension to digital ownership. The team might just be offering us a taste of <strong>what’s possible.</strong></p><h3>FUTURE OUTLOOK</h3><p>The future outlook for the Backpack team and the potential of <a href="https://backpack.exchange/"><strong>Backpack Exchange</strong></a><strong> </strong>appears promising, but the crypto space is always volatile.</p><p>Here’s a breakdown of the positive signals and potential challenges:</p><h4><strong>📈Positive Outlook</strong></h4><ol><li><strong>Technical Pedigree:</strong> Armani Ferrante’s proven track record at Apple, Ethereum, Alameda Research, and Solana lends credibility to his projects. Coral’s developer tools, like Anchor, are already popular.</li><li><strong>xNFT Innovation:</strong> The xNFT standard used by Mad Lads aims to make NFTs more interactive and functional, unlocking new possibilities within the Solana ecosystem.</li><li><strong>Ecosystem Growth:</strong> If successful, Backpack Wallet could serve as an onramp for many new users into Solana’s dApps, NFTs, and potential exchange, fueling the network’s growth.</li><li><strong>NFT Hype:</strong> Mad Lads’ initial success demonstrates a demand for Solana NFTs. This could create a halo effect, attracting attention to their projects.</li><li><strong>Focus on Ease of Use:</strong> Backpack emphasizes a user-friendly experience, which could ease mainstream adoption of crypto on Solana.</li></ol><h4><strong>Mad Lads &amp; xNFTs:</strong></h4><ol><li><strong>Diverse xNFT Experiments:</strong> Mad Lads could continue to pioneer the xNFT space. Think music NFTs that dynamically evolve based on listening habits, or gaming xNFTs that become more powerful with use.</li><li><strong>xNFT Developer Ecosystem</strong>: Backpack could establish tools and grants to encourage third-party developers to build xNFTs on their platform, creating a rich and diverse xNFT marketplace.</li><li><strong>Bridging to Real-World:</strong> Potential for xNFTs to interact with real-world events or assets. Imagine an xNFT tied to a concert ticket that unlocks exclusive content or a digital art xNFT reflecting ownership of a physical piece.</li></ol><h4><strong>📈Challenges and Considerations:</strong></h4><ol><li><strong>Competition:</strong> The crypto wallet and NFT marketplace spaces are heavily saturated. Standing out requires continuous innovation and differentiation.</li><li><strong>Regulation:</strong> Increased regulatory scrutiny in the crypto space could create hurdles for projects, especially those aiming to offer an exchange feature with advanced trading options.</li><li><strong>Solana’s Stability:</strong> Solana’s past network outages have raised reliability concerns. Coral and its projects tied to Solana are dependent on the blockchain’s health.</li><li><strong>Market Volatility:</strong> Crypto markets are notoriously volatile. General downturns could hinder adoption and investor enthusiasm.</li><li><strong>Execution:</strong> Strong ideas are only a start. Flawless execution will be critical to turning the vision into reality. As the saying goes “<strong>there are no solutions, only trade-offs</strong>”.</li></ol><p><strong>Overall</strong></p><p>Coral, led by Armani Ferrante, is a general-purpose project that includes xNFTs, meaning anyone can build on it regardless of the blockchain they use.</p><p><strong>Backpack</strong> and <strong>Mad Lads</strong>, seem well-positioned within the fast-growing Solana ecosystem. If the team can tackle the challenges they face and maintain their focus on innovation and user experience, the <strong>Backpack Wallet</strong>, <strong>Mad Lads </strong>NFTs, and <strong>Backpack Exchange</strong> can “plausibly”<strong> </strong>contribute significantly to the success of the Solana network and “potentially” serve as a hallmark of Success to the entire crypto industry.</p><blockquote><strong><em>Caveat!</em></strong> “The Blog emphasizes that it does not contain sponsored content or financial advice. Instead, it offers educational insights into cryptocurrency within the Solana and Coral ecosystem. Readers are urged to research independently and consult financial professionals before investing. The Blog posts underscores the volatility of the cryptocurrency market and advises caution in financial decisions and the opinions reflected herein are subject to change without being updated.”</blockquote><p>References: <em>Sources consulted are duly Hyperlinked.</em></p><p><em>Feel free to reach out to me on Twitter </em><a href="https://x.com/0xmarkdams"><em>@Oxmarkdams</em></a><em> with any suggestions or opinions. If you find this even slightly insightful, please share it — I’ve invested countless hours crafting this content, and your support means everything in helping it reach a wider audience. Thank you.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d1c4f2d1de6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Developer’s Introduction to Wormhole and Product Ideas]]></title>
            <link>https://markdamasco.medium.com/unleashing-the-power-of-blockchain-interoperability-with-wormhole-c0cea2ecae39?source=rss-f9aafe473876------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0cea2ecae39</guid>
            <category><![CDATA[crosschain]]></category>
            <category><![CDATA[ethereum-blockchain]]></category>
            <category><![CDATA[wormhole]]></category>
            <category><![CDATA[solanas]]></category>
            <category><![CDATA[bridge]]></category>
            <dc:creator><![CDATA[Mark Damasco]]></dc:creator>
            <pubDate>Tue, 12 Mar 2024 06:46:49 GMT</pubDate>
            <atom:updated>2024-08-03T03:14:05.726Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*1m9wsBomzZNalM73mRHLKA.jpeg" /></figure><h4>Unleashing the Power of Blockchain Interoperability with<a href="http://wormhole.com/"> Wormhole</a></h4><blockquote><strong><em>Table of Contents:</em></strong><em><br>1. </em><a href="#6263"><em>Core Concepts</em></a><em><br>2. </em><a href="#e387"><em>The Blockchain Interoperability Challenge</em></a><em><br>3. </em><a href="#765a"><em>Deep Dive: Understanding Wormhole with Major Blockchains</em></a><em><br>4. </em><a href="#bcc8"><em>Wormhole Real-World Use Cases across DeFi, NFT, and Web3</em></a><em><br>5. </em><a href="#7dd8"><em>Wormhole Protocol/Frameworks//Products</em></a><em><br>6. </em><a href="#e418"><em>Wormhole for Developers: Getting Started</em></a><em><br>7. </em><a href="#6bf5"><em>Product and Tools Ideation — Unleashing Wormhole’s Potential</em></a><em><br>8. </em><a href="#00e8"><em>Wormhole — Bridging the Blockchain Universe</em></a></blockquote><h3>What is Wormhole?</h3><p><strong>Have you ever wondered how spaceships might travel through wormholes in sci-fi movies</strong>? Astrophysicists will tell you, it’s a whole other ball game involving the universe itself (but that’s a story for another day, if you’re interested <a href="https://en.wikipedia.org/wiki/Wormhole"><em>click here</em></a>).</p><p>Forget Astrophysics for a sec., In the world of Blockchain/crypto,<strong> there’s a cooler (</strong>and definitely achievable<strong>) </strong>concept inspired by wormholes: <a href="https://wormhole.com/"><strong>Wormhole</strong></a><strong> </strong>is a decentralized, universal message-passing protocol for blockchains that enables businesses to build either <strong>standalone crypto bridges</strong> or <strong>multi-chain applications</strong>, hence connecting diverse blockchains and allowing them to communicate easily.</p><p>Before diving into the Core of wormhole, let’s first Meet some member of the team:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3E3mhyyo8Yg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3E3mhyyo8Yg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3E3mhyyo8Yg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/caa94890af9082c5665ba36528f886a7/href">https://medium.com/media/caa94890af9082c5665ba36528f886a7/href</a></iframe><h4><strong>Core Concepts</strong></h4><p>In the world of blockchain, the core concept of the <a href="https://wormhole.com/"><strong>Wormhole</strong></a> protocol is <a href="https://wormhole.com/wormhole-security-program-end-of-year-update/"><strong>secure cross-chain communication</strong></a>. It acts as a universal translator(or a bridge-builder), enabling different blockchains, which typically operate in isolation, to send and receive messages with each other. This facilitates the <strong>transfer of data</strong> or<strong> Assets </strong>between blockchains, something that wasn’t previously possible without relying on external exchanges or complex workarounds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*Bh_B-z4PEznFKXYTWi8cZA.jpeg" /><figcaption>The<strong> Wormhole architecture </strong>facilitates(through <strong>wormhole core contract</strong>) the transfer of assets or cross-chain communication from the <strong>Ethereum</strong> blockchain to the <strong>Solana</strong> blockchain, leveraging the decentralized<strong> Guardian Network</strong> and <strong>Relayers</strong> to securely bridge the two ecosystems. <a href="https://docs.wormhole.com/wormhole">source</a></figcaption></figure><p>Here’s a breakdown of the Wormhole architecture with source chain <strong>Ethereum </strong>and target chain <strong>Solana </strong>as an Example:</p><p><strong>📜ON-CHAIN COMPONENTS:</strong></p><ol><li><strong>Emitter:</strong> A contract that calls the publishMessage method on the Core Contract. The core contract will write an event to the <strong>Transaction Logs </strong>with details about the emitter and sequence number to identify the message. In this Case Ethereum Dapps or an existing ecosystem protocol.</li></ol><p>Some examples include:</p><ul><li><strong>Token Bridge Contracts:</strong> Contracts designed to facilitate the transfer of specific tokens between Ethereum and Solana. These contracts would lock tokens on the source chain (Ethereum) and trigger the minting of a wrapped representation of that token on the target chain (Solana), or vice versa.</li><li><strong>DeFi Protocol Contracts:</strong> Contracts belonging to decentralized finance protocols enable cross-chain interactions. They facilitate tasks like cross-chain lending, borrowing, or asset swaps(which will be explored deeply later in this blog).</li><li><strong>Worm Router Contracts:</strong> Contracts that allow developers to make their Dapp(Decentralized Application) a cross-chain application that users on any Wormhole-supported chain can interact with purely through client-side code.</li></ul><p><strong>2. Wormhole Core Contract:</strong> Primary contract, this is the contract that the Guardians observe and which fundamentally allows for cross-chain communication.</p><p><strong>3. Transaction Logs:</strong> Blockchain-specific logs that allow the Guardians to observe messages emitted by the core contract.</p><p><strong>📜OFF-CHAIN COMPONENTS:</strong></p><ol><li><strong>Guardian Network:</strong> A key part of securing Wormhole’s cross-chain messaging. This decentralized network of validators has the crucial task of:</li></ol><ul><li>Observing messages emitted from Core Contracts on different chains.</li><li>Generating <strong>Verifiable Action Approvals(VAAs</strong>)to attest they’ve observed and validated these messages.</li></ul><p><strong>2️. </strong><a href="https://docs.wormhole.com/wormhole/explore-wormhole/guardian"><strong>Guardian</strong></a><strong>:</strong> A peer-to-peer network of 19 Guardians(A.k.a validators) who are responsible for contributing to the multi-signature(<em>The requirement for a transaction to have two or more signatures before it can be execute</em>d) process for VAAs, upholding the integrity and security of the messaging system.</p><p><strong>3. </strong><a href="https://docs.wormhole.com/wormhole/explore-wormhole/spy"><strong>Spy</strong></a>: Not directly involved in message validation but essential to the overall process. Spies act as observers and help distribute VAAs within the Guardian Network, contributing to its scalability.</p><p><strong>4</strong>. <a href="https://docs.wormhole.com/wormhole/reference/api-docs"><strong>API</strong></a>: Provides an access point for retrieving data about VAAs and information about the Guardian Network <em>per se</em>.</p><p><strong>5. </strong><a href="https://docs.wormhole.com/wormhole/explore-wormhole/vaa"><strong>VAAs (Verifiable Action Approvals)</strong></a>: Signed multi-signature(<em>the requirement for a transaction to have two or more signatures before it can be execute</em>d) attestations produced by the Guardian Network(<em>which in this case at least 13 out of 19 must sign</em>), confirming the validity of observed messages from the Core Contracts.</p><p><strong>6. </strong><a href="https://docs.wormhole.com/wormhole/explore-wormhole/relayer"><strong>Relayer</strong></a><strong>:</strong> Off-chain components serve as the messengers between chains. Their primary responsibility:</p><ul><li><strong>Submitting the VAAs </strong>to the target chain, thus completing the cross-chain message relay process.</li><li><strong>Specialized relayers</strong> can offer customized logic for specific applications, streamlining the process and potentially reducing costs.</li></ul><blockquote><em>Imagine blockchains as isolated islands, each with its own ecosystem and rules. Wormhole acts like a bridge builder (o</em>r framework for building a bridge<em>), to connect these islands and allowing them to communicate easily. With Wormhole, information and assets can flow freely between blockchains, unlocking a future of interconnected applications. Want to learn more about this </em><strong><em>revolutionary technology? Stay tuned!- 0xmarkdams</em></strong></blockquote><h3><strong>The Blockchain Interoperability Challenge</strong></h3><p>The blockchain interoperability challenge is one of the most significant hurdles in the widespread adoption and utilization of blockchain technology.</p><p>Here’s a breakdown of the issue:</p><p><strong>📜Isolated Islands(a.k.a Blockchains)</strong></p><p>Most blockchains operate as self-contained ecosystems, much like isolated islands.</p><p>They have their own:</p><ol><li><strong>Consensus Mechanisms:</strong> The rules for validating transactions and adding blocks.</li><li><strong>Programming Languages:</strong> Used for creating smart contracts.</li><li><strong>Native Tokens:</strong> Each chain has its native token used for fees and transactions within the ecosystem.</li><li><strong>Governance Structures:</strong> The ways decisions are made about the blockchain.</li></ol><p><strong>📜Lack of Communication</strong></p><p>This isolation makes direct communication and interaction between different blockchains extremely difficult or even impossible.</p><p>Consequences of Fragmentation:</p><ol><li><strong>Limited Asset Flow:</strong> Cryptocurrencies and other digital assets like<strong> NFTs(</strong>Non-fungible tokens<strong>)</strong> are largely trapped on their native blockchains. This restricts liquidity, reduces their potential value, and hampers the easy exchange of value across the broader crypto landscape.</li><li><strong>Siloed DeFi: </strong>Decentralized finance (DeFi<strong>) </strong>applications, such as <a href="https://www.alchemy.com/list-of/decentralized-lending-dapps-on-solana"><strong>lending<em> </em>platforms</strong></a>, <a href="https://www.alchemy.com/best/decentralized-exchanges-dexs"><strong>exchanges</strong></a>, and <a href="https://defiprime.com/yield-aggregators"><strong>yield aggregators</strong></a>, are often confined to a single blockchain. This limits access to a wider pool of users and assets, reducing their potential reach.</li><li><strong>Hindered Innovation:</strong> The inability to easily connect blockchains stifles creative collaborations and the development of complex applications that could leverage the strengths of multiple blockchains.</li></ol><h4><strong>Solutions to the Challenge</strong></h4><p>Several approaches are being explored to address blockchain interoperability:</p><ol><li><strong>Cross-chain bridges and Mutli-Chain:</strong> Protocols like<strong> </strong><a href="https://wormhole.com/"><strong>Wormhole</strong></a><strong> Protocol</strong>, facilitate the transfer of assets and messages between blockchains and vice versa.<em> </em><strong><em>click </em></strong><a href="https://docs.google.com/spreadsheets/d/1UgosjpBXhQ10afRJC1ibWdQRnYKJF5PitMZLppdP4AQ/edit#gid=1555070468"><strong><em>here👈 </em></strong></a>to expand more about <strong>wormhole</strong> solutions to the challenge.</li><li><strong>Atomic Swaps:</strong> Enabling direct trading of assets across chains without a centralized intermediary.</li><li><strong>Sidechains/Layer 2 Solutions:</strong> Sidechains built on top of existing blockchains to extend functionality and increase scalability, sometimes offering ‘bridging’ to the main chain.</li></ol><p><strong>💡 Key Advantages of Wormhole</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*vWy-P28YxqsFM9VG.png" /><figcaption>Wormhole’s security measures include <strong>19 validator nodes</strong> for decentralization, a governing authority, continuous audits, a <strong>$2 million bug bounty program</strong>, contributions to wider industry security efforts, and being fully open-source, providing a robust, multi-layered approach to platform security through decentralization, incentives, transparency, and collaboration.<a href="https://docs.wormhole.com/wormhole/explore-wormhole/security">source</a></figcaption></figure><ul><li><strong>Robust Security:</strong> The guardian network offers strong security guarantees.</li><li><strong>High Efficiency:</strong> Streamlined processes lead to fast cross-chain transfers.</li><li><strong>Developer-Friendly:</strong> Easy integration is a major plus for developers.</li></ul><p>With Wormhole’s interoperability capabilities, organizations and sectors can easily collaborate, break down traditional silos, and drive innovation at a scale never seen before.</p><h4>Why Interoperability Matters?</h4><p>Imagine blockchains as islands (like the <a href="https://en.wikipedia.org/wiki/Silo_(TV_series)">Silo </a>movie), rich in potential but isolated. Interoperability (like <a href="http://wormhole.com/"><strong>wormhole protocol</strong></a>) is the <strong>bridge-builder,</strong> connecting these islands and unleashing a wave of transformation.</p><p>Furthermore, True interoperability within the blockchain world promises a landscape as fluid and interconnected as the internet. This easy flow of information and assets has the potential to revolutionize the way we interact with decentralized technology:</p><ol><li><strong>Increased Liquidity:</strong> Assets can easily flow to where they are most needed or can generate the best returns.</li><li><strong>Enhanced User Experience(UX):</strong> Users wouldn’t have to navigate multiple wallets and chains to access different assets or services.</li><li><strong>Boosted Innovation:</strong> Developers can build multi-chain applications that harness the best features and specializations of different blockchains.</li><li><strong>Cross-Industry Collaboration:</strong> Blockchain’s potential spans countless industries. Interoperability would unlock unprecedented collaboration, allowing organizations and sectors to easily exchange data and value, breaking down traditional barriers, and fostering innovation.</li></ol><h3><strong>Deep Dive: Understanding Wormhole with Major Blockchains</strong></h3><p>The heart of Wormhole is its network of <a href="https://wormhole.com/blockchains/"><strong>Guardians.</strong></a> These are nodes(<em>i.e.computers, servers)</em> that monitor supported blockchains. They’re responsible for watching for asset-locking events and ensuring the integrity of cross-chain messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*8LTeONedwf9JuHqp.png" /><figcaption>The diagram showcases how Wormhole bridges the gap between blockchains like Ethereum, Solana, and other chains through its network of <strong>guardian nodes.</strong> These nodes securely manage the flow of information and assets between these otherwise isolated blockchain ecosystems. <a href="https://github.com/wormhole-foundation/wormhole/blob/dev.v2/docs/operations.md">source</a></figcaption></figure><p><strong>📜Asset Transfer (<em>Simplified</em>):</strong></p><ol><li><strong>Locking:</strong> An asset (<strong>e.g., $</strong><a href="https://coinmarketcap.com/currencies/ethereum/"><strong>ETH</strong></a><strong>)</strong> is locked in a smart contract on the source chain (e.g. <a href="https://ethereum.org/en/"><strong>Ethereum</strong></a>).</li><li><strong>Verification:</strong> Guardians validate the locking event and generate a cryptographic attestation.</li><li><strong>Minting:</strong> Based on the attestation, a corresponding wrapped asset (e.g., <a href="https://coinmarketcap.com/currencies/weth/">$wETH)</a> is minted on the destination chain (e.g. <a href="https://solana.com/"><strong>Solana</strong></a>, $wrapped Sol<strong>)</strong>.</li><li><strong>Unlocking:</strong> To retrieve the original asset, the wrapped asset is destroyed (burned) on the destination chain, triggering the release of the original on the source chain. For a detailed approach<strong><em> </em></strong><a href="https://portalbridge.com/advanced-tools/#/transfer"><strong><em>click here</em></strong></a><strong>.</strong>👈</li></ol><p><strong>💡 Benefits for Solana and Ethereum:</strong></p><ol><li><strong>Increased Liquidity:</strong> Users can leverage assets from other blockchains on their preferred platform, expanding the potential user base and liquidity for both <strong>Solana</strong> and <strong>Ethereum</strong>.</li><li><strong>Asset Transfers:</strong> Easily move cryptocurrencies, <a href="https://portalbridge.com/advanced-tools/#/nft"><strong>NFTs</strong></a>, and other tokens between different blockchains.</li><li><strong>Enhanced Functionality:</strong> Developers can create applications that utilize assets from different blockchains, unlocking new possibilities for DeFi, NFTs, and other blockchain use cases.</li><li><strong>Improved User Experience(UX):</strong> Wormhole simplifies cross-chain transfers, and improved UX and easy transfer of assets across chains can encourage wider adoption of blockchain technology.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MPLOSUFcuqRElh0QWGd8mw.png" /></figure><p>Hold on! Wormhole’s reach extends far beyond <strong>Ethereum</strong> and <strong>Solana</strong>. The same powerful features you’ve seen are available on a vast array of supported <a href="https://docs.wormhole.com/wormhole"><strong>Blockchains</strong></a>.</p><p>Wormhole prides itself on being chain-agnostic, meaning it aims for easy integration with a wide range of blockchains. Currently, it supports:</p><ul><li><strong>Major ecosystems:</strong> <a href="https://docs.wormhole.com/wormhole/reference/blockchain-environments/solana#solana"><strong>Solana</strong></a><strong>, </strong><a href="https://docs.wormhole.com/wormhole/reference/blockchain-environments/evm#ethereum"><strong>Ethereum</strong></a><strong>, </strong><a href="https://docs.wormhole.com/wormhole/reference/blockchain-environments/evm#polygon"><strong>Polygon</strong></a><strong>, </strong><a href="https://docs.wormhole.com/wormhole/reference/blockchain-environments/evm#bsc"><strong>BNB Chain</strong></a><strong>, </strong><a href="https://docs.wormhole.com/wormhole/reference/blockchain-environments/evm#avalanche"><strong>Avalanche</strong></a><strong>, </strong><a href="https://docs.wormhole.com/wormhole/reference/blockchain-environments/cosmwasm#celestia"><strong>Celestia</strong></a><strong>, Terra 2.0</strong></li><li><strong>Additional Chains:</strong> <strong>Fantom, Aurora, Klaytn, Karura, </strong>and many more see others <a href="https://docs.wormhole.com/wormhole"><strong><em>here</em></strong></a><strong><em>.👈</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*KuvDJfuxyXgkIPWbT7TBiQ.jpeg" /><figcaption><strong>Wormhole Explorer </strong>👉<a href="https://wormholescan.io/">Click here t</a>o see all activity related to Wormhole.</figcaption></figure><h3>Wormhole Real-World Use Cases across DeFi, NFT, and Web3</h3><p>Several notable projects have already leveraged Wormhole’s capabilities, demonstrating its real-world viability. For instance, the <a href="https://makerdao.com/en/"><strong>Ethereum-based lending protocol Maker DAO</strong></a> plans to use Wormhole (<a href="https://github.com/makerdao/wormhole-integration-tests"><em>explore Github</em></a>) to integrate with the Solana ecosystem. Projects like <a href="https://jup.ag/"><strong>Jupiter</strong></a><strong>Exchange</strong>, a decentralized exchange on Solana, actively utilize Wormhole for cross-chain asset swaps.</p><p>Additionally, <a href="https://folks.finance/?ref=wormhole.ghost.io"><strong>Folks Finance</strong></a>, a non-custodial borrowing and lending protocol on the <strong>Algorand blockchain</strong>, uses Wormhole’s technology to introduce a cross-chain staking derivative for ALGO, allowing users to interact with apps in other ecosystems while participating in governance on<a href="https://www.algorand.foundation/"> <strong>Algorand</strong></a><strong>.</strong></p><p>To highlight how <a href="https://wormhole.com/ecosystem/"><strong>Wormhole</strong> </a>unlocks new <strong>DeFi, NFT, and Web3 </strong>possibilities and cross-chain/multi-chain interactions:</p><p><strong>💰DeFi(Decentralized Finance) Applications</strong></p><ol><li><strong>Cross-Chain Lending &amp; Borrowing</strong></li></ol><ul><li><strong>Expanded Options:</strong> Wormhole lets you use assets from one blockchain as collateral for loans on another blockchain. For instance, you could use your <strong>$Eth</strong> on the Ethereum network as collateral for a loan in <strong>$USDC </strong>on <a href="http://solana.com/"><strong>Solana</strong></a><strong> </strong>(utilizing <a href="https://www.circle.com/en/cross-chain-transfer-protocol">Circle’s CCTP)</a>. This expands lending opportunities beyond what’s available with native assets on a single chain.</li><li><strong>Yield Hunting:</strong> Using the Wormhole protocol, you can seek out the highest interest rates for lending or find the best borrowing rates across different blockchains.</li></ul><p><strong>2. Cross-Chain Liquidity Provision</strong></p><ul><li><strong>Enhanced Liquidity:</strong> Protocols like <a href="https://app.saber.so/swap"><strong>Saber</strong></a><strong> </strong>and<a href="https://jup.ag/"><strong> Jupiter</strong></a><strong> </strong>(on <a href="http://solana.com/">Solana</a>) and <a href="https://www.magpiefi.xyz/"><strong>Magpie</strong></a><strong> </strong>and<strong> </strong><a href="https://bridge.pancakeswap.finance/wormhole"><strong>Pancake Swap</strong></a> <strong>(</strong>on other chains) allow you to provide liquidity utilizing assets from other chains bridged via Wormhole protocol. This increases the available asset pools and can result in better prices and lower slippage (<em>the difference in expected and actual price)</em>.</li><li><strong>Liquidity Aggregation</strong>: Wormhole enables DeFi projects to tap into liquidity from <strong>23+ other networks</strong>. Developers can choose from different verification and relaying methods, allowing them to seamlessly connect their DeFi protocols to a broader ecosystem.</li><li><strong>Arbitrage Opportunities:</strong> With assets moving easily, arbitrageurs can take advantage of price differences across blockchains for assets, helping to maintain market equilibrium(balance).</li></ul><p><strong>3. Cross-Chain Swaps &amp; DEXs</strong></p><ul><li><strong>Expanded Token Choices:</strong> DEXs (Decentralized Exchanges) can integrate Wormhole to offer trading pairs of tokens that don’t exist natively on their blockchain.</li><li><strong>Chain-Specific Benefits:</strong> Users can swap into a token on a chain that might offer faster transactions or lower fees for their specific needs.</li></ul><p><strong>4. Multichain DEX Aggregators:</strong> Protocols like <a href="https://www.hashflow.com/"><strong>Hashflow</strong></a> utilize <a href="https://wormhole.com/case-study-hashflow/#:~:text=Powered%20by%20the%20Wormhole%20interoperability,Optimism%2C%20Polygon%2C%20and%20Solana."><strong>Wormhole</strong></a> to enable users to easily swap their assets across multiple chains, obtaining better prices and reducing slippage.</p><p><strong>Some DeFi Projects Using Wormhole:</strong></p><ul><li><a href="https://portalbridge.com/"><strong>Portal</strong></a><strong>:</strong> A DeFi platform on Solana<strong> powered by Wormhole</strong> to bridge assets from Ethereum, Solana, and others, and vice versa.</li><li><a href="https://app.saber.so/swap"><strong>Saber</strong></a><strong>:</strong> Stablecoin-focused automated market maker (AMM) on Solana, supporting cross-chain swaps by leveraging Wormhole.</li><li><a href="https://beefy.com/"><strong>Beefy Finance</strong></a><strong>:</strong> Yield aggregator with cross-chain and multi-chain capabilities powered by Wormhole. <a href="https://wormhole.com/multichain-apps"><em>click here</em></a> to learn more.</li><li><a href="https://pyth.network/"><strong>Pyth Network</strong></a><strong>:</strong> Decentralized Oracle network providing multi-chain market data. As a generic message-passing protocol, <strong>Wormhole</strong> can bring Pyth price outputs as transactions to<a href="https://blog.thirdweb.com/evm-compatible-blockchains-and-ethereum-virtual-machine/"><strong> EVM chains</strong></a><strong>,</strong> <a href="https://aptoslabs.com/"><strong>Aptos</strong></a>, <a href="https://hub.cosmos.network/"><strong>Cosmos</strong> <strong>Hub</strong></a>, and more.</li><li><a href="https://www.port.finance/"><strong>Port Finance</strong></a><strong>:</strong> allows you to deposit assets from various supported blockchains, including Ethereum, as collateral. You can then borrow against those assets within the Solana ecosystem.</li><li><a href="https://apricot.one/"><strong>Apricot Finance</strong></a><strong>:</strong> Apricot offers features like cross-chain lending, borrowing, and leveraged yield farming. Wormhole facilitates the transfer of assets between different chains, expanding the range of available collateral options.</li></ul><p><strong>💰NFT Applications</strong></p><ul><li><strong>NFT Marketplaces Across Chains:</strong> NFT creators can list their NFTs on marketplaces built on different blockchains, expanding their reach. Collectors can purchase NFTs regardless of the blockchain they were originally minted on.</li><li><strong>Cross-Chain NFT Gaming:</strong> Game developers can integrate NFTs that function seamlessly on multiple blockchains using Wormhole for asset transfer. This opens up possibilities for interoperability and true ownership of in-game items.</li><li><strong>NFT Royalties:</strong> Ensure creators receive royalties on secondary NFT sales even if the transactions happen on different blockchains.</li></ul><p><strong>Some NFT projects using Wormhole Protocol:</strong></p><ul><li><a href="https://nftnow.com/news/dust-labs-deid-is-a-one-stop-digital-hub-for-y00ts-and-degods-holders/"><strong>Dust Labs (DeGods and y00ts)</strong></a>: Dust Labs, the team behind the popular NFT collections DeGods and y00ts, uses Wormhole’s novel Burn &amp; Mint NFT mechanism to move their communities off Solana and onto Ethereum (DeGods) and Polygon (y00ts).</li><li><a href="https://audius.co/"><strong>MusicNFT (Audius)</strong></a><strong>:</strong> Audius is a fully decentralized music platform that connects fans directly with artists. <a href="https://wormhole.com/ecosystem/"><strong>It uses Wormhole for NFT issuance</strong></a><strong>.</strong></li><li><a href="https://portalbridge.com/advanced-tools/#/nft"><strong>Portal</strong></a><strong>:</strong> A platform on which you can send to NFTs different chains that use Wormhole protocol to expand its cross-chain capabilities.</li><li><a href="https://wormhole.com/carrier-powered-by-wormhole/"><strong>Carrier:</strong></a> Developed by Automata Network, Carrier is a powerful token and NFT bridge that offers advanced bridging features for Web3 users. It’s built on top of Wormhole’s core messaging layer, with a focus on privacy protection.</li></ul><p><strong>💰 Wormhole Token (Denoted as </strong><a href="https://coinmarketcap.com/currencies/wormhole/"><strong>$W</strong></a><strong>)</strong></p><ol><li><strong>Governance</strong>: <a href="https://coinmarketcap.com/currencies/wormhole/"><strong>$W</strong></a><strong> </strong>holders can participate in the governance of the Wormhole protocol by voting on proposals for upgrades, parameter changes, or other decisions.</li><li><strong>Security:</strong> A portion of the <a href="https://coinmarketcap.com/currencies/wormhole/"><strong>$W</strong></a> supply is used as collateral by the Guardian nodes that secure the Wormhole network. This incentivizes good behavior and provides economic security for the network.</li><li><strong>Fees</strong>: <a href="https://coinmarketcap.com/currencies/wormhole/"><strong>$W</strong></a>is used to pay transaction fees for cross-chain asset transfers facilitated by the Wormhole protocol.</li><li><strong>Liquidity</strong>: <a href="https://coinmarketcap.com/currencies/wormhole/"><strong>$W</strong></a> can be provided as liquidity on decentralized exchanges, allowing users to swap between different wrapped assets bridged by Wormhole. To learn more about Wormhole tokens <em>click</em> <a href="https://wormhole.com/wormhole-w-tokenomics/"><strong><em>here</em></strong></a><strong><em>.👈</em></strong></li></ol><h3><strong>Wormhole </strong>Protocol/<strong>Frameworks/Products</strong></h3><p>Wormhole unlocks a world of<strong> cross-chain </strong>and<strong> multi-chain </strong>possibilities. To fully grasp the transformative potential of Wormhole, Let’s explore its core products/frameworks and the impact they have on the interconnected Web3 landscapes:</p><ol><li><a href="https://wormhole.com/messaging/"><strong>Messaging</strong></a><strong>: Wormhole’s</strong> cross-chain messaging protocol enables a wide range of asset transfers and communication between different blockchains. Some of the popular applications built upon Wormhole’s infrastructure include<strong>:</strong></li></ol><ul><li><strong>Token Bridges:</strong> Protocols like <a href="https://theportal.to/"><strong>Portal</strong></a> and <a href="https://allbridge.io/"><strong>Allbridge</strong></a> facilitate the movement of tokens between supported blockchains.</li><li><strong>Cross-Chain DEXs:</strong> Projects such as <a href="https://mayan.finance/"><strong>Mayan Swap</strong></a> and <strong>Hashflow</strong> allow for decentralized exchanges of assets across different blockchains.</li><li><strong>Money Markets:</strong> Platforms like <a href="https://www.pike.finance/"><strong>Pike</strong></a><strong>,</strong> and <a href="https://www.synonym.finance/"><strong>Synonym</strong></a><strong> </strong>enable cross-chain lending and borrowing.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IZzuS3mR-fd1AAiyRtEMDA.png" /><figcaption><strong>Core Contracts:</strong> These exist on each blockchain Wormhole supports, allowing contracts to send messages across chains. <strong>Message Emission:</strong> A smart contract triggers a function in the Core Contract, generating a cross-chain message and data packet (<a href="https://docs.wormhole.com/wormhole/explore-wormhole/relayer">VAA</a>). <strong>Guardians:</strong> A network of independent nodes validates emitted messages. At least 13 out of 19 Guardians must sign a VAA to confirm its authenticity. <a href="https://docs.wormhole.com/wormhole/explore-wormhole/relayer"><strong>Relayers</strong></a><strong>:</strong> These services pick up signed <a href="https://docs.wormhole.com/wormhole/explore-wormhole/relayer">VAAs </a>and transmit them from the original chain to the target chain, submitting them to the correct Core Contract. <a href="https://www.figma.com/file/CRrpZAQaZPgmHeUoeCvzb9/Wormhole?type=whiteboard&amp;node-id=0%3A1&amp;t=T3WAp3Z1WiPLZyqN-1">View</a> credits to Research</figcaption></figure><p><strong>2. </strong><a href="https://wormhole.com/queries/"><strong>Queries</strong></a><strong>: </strong>Wormhole Queries offers on-demand access to guardian-attested on-chain data. The current implementation offers integrators a simple REST endpoint to initiate an off-chain request via a proxy which handles forwarding the request to the guardians and gathering a quorum of responses.</p><p>Here’s the core idea:</p><ul><li><strong>On-demand Data:</strong> The core value proposition is pulling verified information from a different blockchain when needed, as opposed to applications continually synchronizing data they might not even use.</li><li><strong>Guardian Attestation:</strong> The system adds reliability by using Wormhole’s Guardian network to validate the data fetched from another chain. This ensures that the data you receive can be trusted.</li><li><strong>Off-chain Initiation:</strong> Queries can be initiated from off-chain environments. This broadens usability to things like websites and other applications that don’t live directly on blockchains.</li><li><strong>REST Endpoint:</strong> Providing a simple REST interface makes integration easy for developers accustomed to traditional web service interaction.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*VfiYec3FbBYgXP5mZWi1tw.png" /><figcaption>The design with <strong>multiple Guardians aims to enhance the security </strong>of the <strong>CCQ(Cross-Chain Queries)</strong> architecture. Even if some Guardians were compromised by malicious actors, they would be unable to tamper with the data or the outcome of the query without going undetected by the other Guardians. <a href="https://wormhole.com/queries/">Source</a></figcaption></figure><p><strong>3. </strong><a href="https://wormhole.com/connect/"><strong>Connect</strong></a><strong>: </strong>The Connect product is a user-friendly widget that developers can quickly embed into their applications, offering a streamlined interface for users to bridge assets across chains.</p><p><strong>Key Goals</strong></p><ul><li><strong>Seamless User Experience:</strong> Wormhole Connect aims to make cross-chain interactions as smooth as possible for users, minimizing the need to switch between different applications or understand the complexities of underlying blockchain bridges.</li><li><strong>Broad Asset Support:</strong> It supports both wrapped and native assets, giving users flexibility in which tokens they choose to transfer across chains. learn more <a href="https://www.npmjs.com/package/@wormhole-foundation/wormhole-connect"><strong><em>here</em></strong></a><strong><em>.</em></strong><em>👈</em></li><li><strong>Ease of Integration:</strong> Developers can embed Wormhole Connect’s bridging capabilities into their apps with just a few lines of code(just 3 lines of code,<a href="https://connect-in-style.wormhole.com/"><strong><em> try it</em></strong></a>).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*9Td6mht55H-DdvJUtmWJeg.jpeg" /></figure><p><strong>Example Projects:</strong></p><ul><li><a href="https://portalbridge.com/"><strong>Portal Bridge</strong></a></li><li><a href="https://jup.ag/bridge/wormhole"><strong>Jupiter</strong></a></li><li><a href="https://bridge.pancakeswap.finance/wormhole"><strong>Pancake Swap</strong></a></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FiGq5DWbCxtw%3Fstart%3D89%26feature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DiGq5DWbCxtw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FiGq5DWbCxtw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bbd82afc9b6de87a8f7c6b906450eeb7/href">https://medium.com/media/bbd82afc9b6de87a8f7c6b906450eeb7/href</a></iframe><p><strong>4. </strong><a href="https://wormhole.com/native-token-transfers"><strong>NTT (Native Token Transfer)</strong></a><strong>: </strong>is an open-source framework designed to streamline and enhance the process of transferring tokens (i.e. the tokens you transfer exist as the same token on both the source and destination chains).</p><p><strong>Core Functionality:</strong></p><ul><li><strong>Cross-Chain Transfers:</strong> NTT facilitates the movement of tokens between blockchains without relying on liquidity pools, which are often used in traditional bridging methods.</li><li><strong>Preserving Native Characteristics:</strong> Unlike some bridging approaches, NTT aims to maintain the original properties and behavior of the tokens during the transfer. This means tokens retain their standard (e.g., ERC-20 on Ethereum) and any associated metadata(i.e. data on the data). If you want to explore more <a href="https://www.youtube.com/watch?v=WnCMDXl0Fnc"><strong><em>click here</em></strong></a><strong><em>.👈</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*yakyXDxCgClFbV1XcNYE2A.png" /><figcaption>The native token transfer (NTT) architecture of Wormhole is designed to facilitate secure and decentralized cross-chain token transfers. <strong>1. The user initiates</strong> the transfer by approving the token burn on the source chain. <strong>2. Source chain</strong> contracts handle the token burn and generate a burn message.<strong> 3. Off-chain relayer</strong> network submits the burn transaction to the destination chain. <strong>4. A Guardian network of 19 nodes </strong>verifies and attests to the validity of the <strong>burnproof</strong>. <strong>5. Destination chain contracts</strong> receive the attested burnproof, verify it, and mint the corresponding tokens for the user.<a href="https://wormhole.com/native-token-transfers/">source</a></figcaption></figure><p><strong>5</strong>. <a href="https://forms.clickup.com/45049775/f/1aytxf-10244/JKYWRUQ70AUI99F32Q"><strong>Wormhole Gateway</strong></a><strong>: </strong>An<strong> </strong>application-specific blockchain(<em>powered by the </em><a href="https://github.com/cosmos/cosmos-sdk"><strong>Cosmos SDK</strong></a>) that provides a streamlined way for blockchains within the Cosmos ecosystem to connect to a huge number of other chains through a simple IBC (Inter-Blockchain Communication) integration.</p><ul><li><strong>Purpose:</strong> Wormhole Gateway is designed to make it dramatically easier to connect existing blockchains (and their assets) to the <a href="https://cosmos.network/">Cosmos ecosystem</a>. Think of it as an on-ramp for liquidity and users.</li><li><strong>Technical Foundation:</strong> Wormhole Gateway is itself a blockchain built using the <a href="https://github.com/cosmos/cosmos-sdk"><strong>Cosmos SDK</strong></a>. This means it naturally inherits the benefits of the Cosmos architecture, including modularity and customization.</li><li><strong>IBC Integration:</strong> The key enabler is Wormhole Gateway’s deep integration with Cosmos’s Inter-Blockchain Communication protocol (IBC). IBC provides a standardized way for blockchains to communicate and transfer data.</li><li><strong>ICS-20 Compatibility:</strong> To ensure easy asset transfers within Cosmos, Wormhole Gateway utilizes the <a href="https://tutorials.cosmos.network/academy/3-ibc/7-token-transfer.html">ICS-20 token standard</a>, which is the IBC standard for fungible tokens.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QzWHM5gY2loZuFO2" /><figcaption>The secure transfer of data and assets between different Cosmos-based blockchains is connected via the <strong>Cosmos Inter-Blockchain Communication (IBC) protocol</strong>. By <strong>implementing ICS-20</strong>, the Gateway likely facilitates <strong>cross-chain token transfers </strong>and <strong>interoperability</strong> between the Wormhole protocol and the various Cosmos-based blockchains. <a href="https://blog.cosmos.network/wormhole-gateway-a-new-onramp-to-the-interchain-91fb2d3950fa">image source</a></figcaption></figure><p><strong>How It Works</strong></p><ol><li><strong>Connecting Blockchains:</strong> Existing blockchains (Ethereum, Solana, etc.) connect to Wormhole Gateway. This link leverages Wormhole’s core cross-chain messaging technology.</li><li><strong>Gateway as Translator:</strong> The Gateway acts as the intermediary, understanding the protocols of both the connected blockchain and the Cosmos ecosystem.</li><li><strong>IBC for Cosmos:</strong> Wormhole Gateway translates all interactions with the connected chain into IBC-compliant messages. This lets applications on any Cosmos chain (<a href="https://osmosis.zone/ecosystem">Osmosis</a>, Sei, Celestia, <a href="https://junonetwork.io/">Juno</a>, etc.) interact as if they were directly connected to the external blockchain.</li><li><a href="https://github.com/cosmos/ibc/blob/main/spec/app/ics-020-fungible-token-transfer/README.md"><strong>ICS-20</strong></a><strong>:</strong> This specific IBC standard ensures cross-chain communication of fungible tokens (like cryptocurrency or stablecoins). When Wormhole Gateway mints an asset as ICS-20, it becomes compatible with any Cosmos chain following the ICS-20 standard, making asset transfers frictionless.</li></ol><h3><strong>Wormhole for Developers: Getting Started</strong></h3><p>Now that you are familiar with:</p><ul><li>How Wormhole’s messaging system works</li><li>The role of Guardians</li><li>Asset transfer mechanisms</li><li>Smart contract functionalities on supported chains</li></ul><p>Let’s outline the key steps in setting up a development environment to build on Solana and Ethereum using Wormhole’s resources. I’ll provide a high-level overview, and you can find more specific details on the <a href="https://docs.wormhole.com/wormhole"><strong>Official Wormhole Documentation</strong></a>.</p><h4><strong>Setting up the Basics for Solana or Ethereum:</strong></h4><ol><li><strong>Solana Development Tools:</strong></li></ol><p>🛠 <strong>Essentials:</strong></p><ul><li><strong>Wallet:</strong> Install a supported wallet like <a href="https://phantom.app/"><strong>Phantom</strong></a> or <a href="https://solflare.com/"><strong>Solflare</strong></a>. This is crucial for interacting with the Solana blockchain.</li><li><strong>Block Explorer:</strong> Choose <a href="https://solscan.io/"><strong>Solscan</strong></a> or the official <a href="https://explorer.solana.com/"><strong>Solana</strong></a> Explorer to view transactions and blockchain data.</li><li><a href="https://docs.solana.com/cli/install-solana-cli-tools"><strong>Install the Solana CLI</strong></a> tool suite for building and deploying smart contracts.</li><li><a href="https://solana.com/docs/core/clusters"><strong>Devnet Endpoint</strong></a><strong>:</strong> Get a Solana devnet endpoint (a way to connect to a development version of the Solana blockchain) to test your projects.</li><li><strong>Get free $Sol</strong>(no real value for testing only) <em>click </em><a href="https://faucet.solana.com/"><em>here</em></a><em>.👈</em></li></ul><p><strong>Coding &amp; Development Tools:</strong></p><ul><li><a href="https://www.rust-lang.org/tools/install"><strong>Rust</strong></a><strong>:</strong> Learn Rust, the primary programming language for Solana smart contracts.</li><li><a href="https://www.anchor-lang.com/"><strong>Anchor Framework</strong></a><strong>:</strong> Check out the Anchor framework to simplify Solana development.</li><li>Install the <a href="https://solana.com/docs/clients/javascript"><strong>Solana Web3.js</strong></a> library to interact with the Solana blockchain from your applications.</li></ul><p><strong>Helpful Resources:</strong></p><ul><li><a href="https://code.visualstudio.com/"><strong>VS Code:</strong></a> Set up Visual Studio Code with the <strong>Rust extensions</strong> (like Rust Analyzer) for a streamlined development workflow.</li><li><a href="https://beta.solpg.io/"><strong>Solana Playground</strong></a><strong>:</strong> Consider Solana Playground for a browser-based development environment, especially when starting out or VsCode.</li><li>Explore the <a href="https://solana.com/developers"><strong>Solana developer resources</strong></a> for in-depth guides and tutorials.</li></ul><p><strong>2. Ethereum Development Tools:</strong></p><p>🛠 <strong>Essentials:</strong></p><ul><li><strong>Wallet:</strong> <a href="https://metamask.io/"><strong>MetaMask</strong></a> is the most common choice for interacting with Ethereum dApps in the browser.</li><li><strong>Block Explorer:</strong> <strong>E</strong><a href="https://etherscan.io/"><strong>therscan</strong></a> is the go-to for viewing transactions, contracts, and other Ethereum data.</li><li><a href="https://ethereum.org/en/developers/docs/nodes-and-clients/nodes-as-a-service/"><strong>Node Provider</strong></a><strong>:</strong> Consider Infura or Alchemy as they provide reliable Ethereum node infrastructure.</li><li><a href="https://moralis.io/ethereum-testnet-full-ethereum-test-network-guide/"><strong>Ethereum Testnets</strong></a><strong>:</strong> Utilize testnets like <strong>Ropsten</strong>, <strong>Kovan</strong>, <strong>Goerli</strong>, or <strong>Rinkeby</strong> for deploying and testing smart contracts in a simulated environment. You can often get free<strong> </strong><a href="https://www.alchemy.com/faucets"><strong>testnet ETH</strong></a> from “<a href="https://www.alchemy.com/faucets">faucets</a>”.</li></ul><p><strong>Coding &amp; Development Tools:</strong></p><ul><li><a href="https://soliditylang.org/"><strong>Solidity</strong></a><strong>:</strong> The primary smart contract language for Ethereum.</li><li><strong>Development Framework: </strong><a href="https://trufflesuite.com/"><strong>Truffle </strong></a><strong>or </strong><a href="https://hardhat.org/"><strong>Hardhat</strong></a><strong>:</strong> are popular choices, offering testing, deployment, and scripting capabilities.</li><li><a href="https://web3js.readthedocs.io/en/v1.7.0/"><strong>Web3.js</strong></a><strong> or </strong><a href="https://docs.ethers.org/v6/"><strong>Ethers.js</strong></a><strong>:</strong> These libraries allow your web apps to interact with the Ethereum blockchain.</li></ul><p><strong>Helpful Resources:</strong></p><ul><li><a href="https://remix.ethereum.org/"><strong>Remix IDE</strong></a><strong>:</strong> A browser-based Solidity IDE for quick testing and prototyping.</li><li><a href="https://code.visualstudio.com/"><strong>VS Code</strong></a><strong>:</strong> Set up Visual Studio Code with Solidity extensions for a smooth development experience.</li><li><a href="https://ethereum.org/en/developers/"><strong>Official Ethereum Developer Resources</strong></a><strong>:</strong> Refer to this for guides, tutorials, and documentation.</li></ul><h4><strong>Setting Up Your Wormhole Development Environment</strong></h4><p><strong>Prerequisites:</strong></p><ol><li><a href="https://nodejs.org/en"><strong>Node.js </strong></a><strong>and </strong><a href="https://www.npmjs.com/package/npm"><strong>npm</strong></a><strong> (or yarn):</strong> You’ll need a compatible Node.js version installed. Check the <a href="https://docs.wormhole.com/wormhole"><strong>Official Wormhole Documentation</strong></a> for their specific recommendation.</li><li><a href="https://www.docker.com/get-started/"><strong>Docker</strong></a><strong>:</strong> The essential containerization technology. You’ll need a recent version of Docker installed and configured on your system.</li><li>Install <a href="https://git-scm.com/"><strong>Git</strong> </a>to clone the <a href="https://github.com/wormhole-foundation/wormhole"><strong>Wormhole Core repository</strong></a><strong>.</strong> Ensure you have Git set up and connected to your GitHub account.</li><li><a href="https://docs.wormhole.com/wormhole/reference/dev-env/tilt"><strong>Tilt:</strong></a> a playground to experiment and a safe sandbox before deploying to the “mainnet” (similar to “devnet” or “testnet” ). This environment stands up docker images for all the tools necessary to build across multiple blockchains (e.g. <a href="https://docs.wormhole.com/wormhole">Wormhole supported blockchains</a>, <a href="https://docs.wormhole.com/wormhole/explore-wormhole/guardian">Guardian Node</a>, <a href="https://docs.wormhole.com/wormhole/explore-wormhole/relayer">Relayers</a>, Databases, Utility front ends). I Highly recommend this guide for <strong>setting up tilt </strong><a href="https://docs.wormhole.com/wormhole/reference/dev-env/tilt"><strong><em>click here</em></strong></a><strong><em>.</em>👈</strong></li><li><strong>Blockchain-specific tools: </strong>which is already mentioned above.</li></ol><ul><li><strong>Solana:</strong> Install necessary<strong> Solana </strong><a href="https://docs.solana.com/cli/install-solana-cli-tools"><strong>CLI tool</strong></a><strong>s</strong>.</li><li><strong>Ethereum:</strong> Choose a development framework like <a href="https://hardhat.org/"><strong>Hardhat</strong></a><strong> </strong>or <a href="https://trufflesuite.com/">Truffle</a>. (which is already mentioned above.)</li></ul><p><strong>Project Setup</strong></p><p><strong>1. Create a Project Directory:</strong></p><ul><li>Open your terminal (or your <strong>IDE’s built-in terminal</strong>).</li><li>Navigate to where you want to create your project folder using cd (change directory).</li><li>Create a new directory for your project:</li></ul><pre>mkdir my-wormhole-project<br></pre><ul><li>Enter the new directory:</li></ul><pre>cd my-wormhole-project</pre><p><strong>2. Initialize with npm:</strong></p><p>Run <strong>npm init -y</strong> (This initializes your project with a basic <strong>package.json</strong> fil</p><p><strong>3. Install the Legacy </strong><a href="https://docs.wormhole.com/wormhole/reference/sdk-docs"><strong>Wormhole SDK</strong></a><strong> </strong>(Software Development Kit)</p><pre>npm install @certusone/wormhole-sdk</pre><p><strong>4. Testnet Guardian RPC Nodes</strong></p><pre>const TESTNET_GUARDIAN_RPC: string[] = [<br>&quot;&quot;, // WormholeScan explorer&#39;s guardian endpoint for testnet<br>];</pre><p>5. Check your transaction on WormholeE<a href="https://wormhole.com/explorer/">xplorer</a>.</p><p><strong>Core Functionality:</strong> This is the foundational Wormhole SDK. It provides the essential building blocks for interacting with the Wormhole protocol:</p><ul><li><strong>Wormhole Contract Interactions:</strong> Allows you to interact with the core Wormhole contracts deployed on supported blockchains.</li><li><strong>Message Generation and Verification:</strong> Provides tools for creating and verifying Wormhole messages (called VAAs — Verifiable Action Approvals).</li></ul><p><strong>Scope:</strong> The Legacy SDK is focused on the raw mechanisms of sending and processing messages through Wormhole. For the core wormhole repository.</p><p><strong>The </strong><a href="https://docs.wormhole.com/wormhole/quick-start/wh-connect"><strong>Connect SDK</strong></a></p><ol><li>Install npm dependencies</li></ol><pre>npm install @wormhole-foundation/connect-sdk </pre><p>2. Import and Instantiate:</p><p>Within your main React component (e.g., App.js), import the necessary component from the SDK:</p><pre>import WormholeBridge from &#39;@wormhole-foundation/wormhole-connect&#39;;</pre><p>3. Place the WormholeBridge component within your React component&#39;s JSX:</p><pre>function App() {<br>  return (<br>    &lt;div&gt; <br>      &lt;WormholeBridge /&gt; <br>    &lt;/div&gt;<br>  );<br>}<br><br>export default App;<br></pre><p>You should see this widget when you have successfully integrated it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*iEOeyiQzsJTsw3wr.png" /><figcaption>Wormhole Bridge UI</figcaption></figure><p>The Wormhole Connect SDK is written in TypeScript. This provides the following benefits for developers:</p><ul><li><strong>Type Safety:</strong> TypeScript’s strong typing helps catch potential errors during development, leading to more robust and maintainable code.</li><li><strong>Documentation:</strong> TypeScript enables improved in-code documentation and type hints, making it easier for developers to understand and use the SDK.</li><li><strong>Community and Ecosystem:</strong> TypeScript benefits from a large community, providing access to numerous libraries, resources, and robust tooling.</li></ul><p>Connect SDK gives you tools to interact with Wormhole-supported blockchains. This means sending messages, listening for events, and taking actions based on data transferred across chains.</p><p><strong>Protocol Support:</strong> A key part of the Connect SDK is its support for protocols built on top of Wormhole’s core messaging system, such as:</p><ul><li><strong>Token Bridge:</strong> Transferring tokens/assets between blockchains.</li><li><strong>NFT Bridge:</strong> Cross-chain NFT movement.</li><li><strong>Other Potential Protocols:</strong> Generic data bridging, governance actions, etc.</li></ul><p>Install the SDKs for your target chains:</p><pre># For Ethereum and EVM-compatible chains<br>npm install @wormhole-foundation/connect-sdk-evm<br><br># For Solana<br>npm install @wormhole-foundation/connect-sdk-solana</pre><p>For protocols you intend to use</p><pre>npm install @wormhole-foundation/connect-sdk-evm-tokenbridge<br>npm install @wormhole-foundation/connect-sdk-solana-tokenbridge</pre><p><strong>💡Additional Tips</strong></p><ul><li><a href="https://www.youtube.com/watch?v=rgfe-cyf_rA"><strong>Progressive Learning</strong></a><strong>:</strong> Start with simple cross-chain asset transfers before tackling more advanced smart contract interactions.</li><li>Familiarize yourself with various Development Environments, if you find yourself comfortable then start from there.</li><li><strong>Testnet Thoroughly:</strong> Utilize “testnets or Tilt” to experiment and debug before deploying on mainnets.</li><li><strong>Security Mindset:</strong> Blockchain development, particularly in cross-chain environments, requires meticulous attention to security. Research best practices, consider audits, and continuously evaluate your smart contract logic.</li><li>Join <a href="https://discord.com/invite/wormhole3-1006064435909115904"><strong>Wormhole Developer Discord</strong></a><strong>:</strong> Connect with fellow developers(e.g. <a href="https://twitter.com/wormholecrypto">Twitter</a>, <a href="https://t.me/wormholecrypto">Telegram</a>, and <a href="https://forms.clickup.com/45049775/f/1aytxf-11065/ZICLU8QH18QDZ9MOBJ">Wormhole Fellowship</a>), ask questions, troubleshoot, get inspiration, and get direct support from the community.</li><li>Explore Wormhole<a href="https://docs.wormhole.com/wormhole/quick-start/tutorials/hello-token#wormhole-solidity-sdk"> <strong>Solidity Sdk</strong>,</a> <a href="https://docs.wormhole.com/wormhole/quick-start/tutorials"><strong>Tutorials</strong></a>, <a href="https://docs.wormhole.com/wormhole/quick-start/demos"><strong>Demos</strong></a>, <a href="https://github.com/wormhole-foundation/wormhole"><strong>Repository</strong></a>, and<strong> </strong><a href="https://www.youtube.com/@wormholecrypto"><strong>YouTube</strong></a> for more.</li></ul><h3><strong>Product and Tools Ideation — Unleashing Wormhole’s Potential</strong></h3><p>As an Entrepreneur, I see the Problem/Challenges as opportunities for product development or leveraging existing tools to improve things. To fully grasp the transformative potential of Wormhole, let’s explore some innovative product ideas that could leverage its cross-chain capabilities. some idea was inspired by <a href="https://twitter.com/nsuri_"><strong><em>Nikhil Suri</em></strong></a>(<em>product lead at Wormhole</em>) through Wormhole<strong> </strong><a href="https://www.youtube.com/watch?v=ewiT2JanGtI"><strong><em>ETHDenver Appchain Day 2024</em></strong></a><strong>.</strong></p><p><strong>1. Cross-Chain Identity Management:</strong></p><ul><li><strong>Problem:</strong> Decentralized applications (dApps) often require user logins or identity verification. However, current solutions are mostly chain-specific, hindering a seamless user experience across different blockchains.</li><li><strong>Solution:</strong> Leverage Wormhole’s messaging to create a cross-chain identity management system. Users could create a single, portable identity verified on one chain and use it to interact with dApps on other chains, streamlining onboarding and identity management. This could utilize technologies like <a href="https://www.dock.io/post/self-sovereign-identity#:~:text=Self%2DSovereign%20Identity%20(SSI),relying%20on%20a%20central%20authority."><strong><em>Self-Sovereign Identity</em></strong></a><strong> </strong>(SSI) and Zero-Knowledge Proofs (ZKPs) to ensure privacy and security.</li></ul><p><strong>2. Cross-Chain Reputation System</strong></p><ul><li><strong>Problem:</strong> Reputation and identity are fragmented in Web3. Actions on one chain don’t translate to a reputation on other chains, making it difficult to assess trust and credibility.</li><li><strong>Solution:</strong> Wormhole we could enable a decentralized reputation system where users build a profile of positive on-chain history (e.g., t<strong>rading volume</strong>,<strong> loan repayment on DeFi protocol</strong>s, <strong>participation in governance</strong>). This data is securely aggregated and made available as a reputation score accessible across multiple blockchains.</li><li><strong>Impact:</strong> Improved trust in cross-chain interactions, potentially unlocking new types of peer-to-peer lending and services where reputation across chains could be factored in.</li></ul><p><strong>3.“Hybrid” Game with Cross-Chain Assets</strong></p><ul><li><strong>Problem:</strong> Blockchain games are typically locked in their ecosystem. <strong><em>Assets/characters</em></strong> earned rarely transfer out.</li><li><strong>Wormhole-Enabled Solution:</strong> A game with core logic on one chain but specific assets (<strong><em>NFTs like characters</em></strong>,<strong><em> items</em></strong>) minted on other Wormhole-supported chains. These assets are easily tradable across chains, creating cross-marketplace liquidity, with in-game actions recorded via Wormhole messaging.</li></ul><p><strong>4. Interoperable Cross-Chain Insurance Protocol</strong></p><ul><li><strong>Problem:</strong> Existing DeFi insurance protocols cater to specific blockchains, limiting coverage and user options.</li><li><strong>Solution:</strong> Develop a cross-chain insurance protocol powered by Wormhole. Users could purchase insurance for smart contract exploits or asset loss that could potentially occur on any supported chain. Premiums and claims could be facilitated using Wormhole’s messaging and <strong>native token transfer (NTT)</strong> functionalities, allowing for a truly interoperable and comprehensive insurance solution for the multichain DeFi ecosystem.</li></ul><blockquote><strong>“The smallest act of kindness is worth more than the grandest intention.-Oscar Wilde”</strong></blockquote><p><strong>5.</strong> <strong>Cross-Chain Charitable Giving Platform</strong></p><ul><li><strong>Problem:</strong> Donors often want to use crypto but charities might not be set up to accept tokens on various chains.</li><li><strong>Solution:</strong> A platform using Wormhole to bridge donations in<strong> various cryptocurrencies</strong> to<strong> charities</strong>, automatically converting them to a <strong>stablecoin </strong>or fiat currency the charity prefers. Donors choose the chain they want to use, and charities receive easy-to-use funds.</li><li><strong>Impact:</strong> Simplifies crypto donations, potentially unlocking a new source of funding for charitable causes.</li></ul><p><strong>6. Multi-Chain Portfolio Trackers:</strong> Build a tool that lets users track their asset holdings across multiple chains in one place. The tool would use a Cross Chain Queries-like service on wormhole to fetch real-time token balances and prices from various chains.</p><p><strong>7.</strong> <strong>Reputation Verification System:</strong> A decentralized system where users’ on-chain activity (transaction history, participation in protocols) on one chain can be used to establish a reputation score accessible to applications on other chains. CCQ would fetch the relevant data for reputation calculation.</p><h3><strong>Wormhole — Bridging the Blockchain Universe</strong></h3><p>Wormhole protocol is a revolutionary force driving blockchain interoperability. It connects different blockchains, allowing developers to create powerful applications that harness the strengths of multiple networks. Wormhole’s impact is seen in <strong>decentralized finance (DeFi)</strong> and has the potential to transform gaming, NFTs, and more. With its growing chain support and developer-friendly tools, Wormhole protocol is key in building an easily integrated, multichain future for blockchain technology.</p><p>Wormhole’s technology is a key piece in the future of blockchain interconnectivity. I hope this guide motivates you to dive into the provided resources and start building! Cross-chain applications offer vast untapped potential, and <strong>Wormhole gives us the tools to lead the way</strong>.<strong> So Let’s start building!</strong></p><h4>References:</h4><ol><li><em>(</em><a href="https://docs.wormholenetwork.com/"><em>https://docs.wormholenetwork.com/</em></a><em>)</em></li><li><a href="https://wormhole.com/gateway/"><em>https://wormhole.com/gateway/</em></a></li><li><a href="https://wormhole.com/blog/"><em>https://wormhole.com/blog/</em></a></li><li><a href="https://portalbridge.com/advanced-tools/#/nft"><em>https://portalbridge.com/advanced-tools/#/nft</em></a></li><li><a href="https://docs.wormhole.com/wormhole"><em>https://docs.wormhole.com/wormhole</em></a></li><li><em>Other Sources consulted are duly hyperlinked.</em></li></ol><blockquote><strong><em>Caveat!</em></strong> “The Blog emphasizes that it does not contain sponsored content or financial advice. Instead, it offers educational insights into cryptocurrency within the Solana and Wormhole ecosystem. Readers are urged to research independently and consult financial professionals before investing. The Blog posts underscores the volatility of the cryptocurrency market and advises caution in financial decisions and the opinions reflected herein are subject to change without being updated.”</blockquote><p>If you have any suggestions Contact me on Twitter <em>@</em><a href="https://twitter.com/0xmarkdams"><em>Oxmarkdams</em></a><em> or @</em><a href="https://twitter.com/realMarkDamasco"><em>realmarkdamasco</em></a><em> Thank you.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0cea2ecae39" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>