<?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 Steffen Kux on Medium]]></title>
        <description><![CDATA[Stories by Steffen Kux on Medium]]></description>
        <link>https://medium.com/@steffen.kux?source=rss-2b84d96491a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Z3bPGpEwohXNKj0Jmdh_og.jpeg</url>
            <title>Stories by Steffen Kux on Medium</title>
            <link>https://medium.com/@steffen.kux?source=rss-2b84d96491a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 14:41:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@steffen.kux/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[Blockchain Clients for IoT — Overcoming Resource Constraints (6 of 9)]]></title>
            <link>https://medium.com/corpus-core-insights/blockchain-clients-for-iot-overcoming-resource-constraints-6-of-9-ca9b5b7521fc?source=rss-2b84d96491a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca9b5b7521fc</guid>
            <category><![CDATA[trustless]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[stateless]]></category>
            <category><![CDATA[blockchain-client]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Steffen Kux]]></dc:creator>
            <pubDate>Fri, 17 Jul 2026 12:00:06 GMT</pubDate>
            <atom:updated>2026-07-17T12:01:02.506Z</atom:updated>
            <content:encoded><![CDATA[<h3>How IoT Devices Can Verify Blockchain Data Without Running a Node</h3><p><em>Target audience: Intermediate</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vNOD7G9pva-znyV-Go3giA.png" /></figure><h3>TL;DR</h3><ul><li><strong>IoT devices follow a fundamentally different operating model than blockchain clients.</strong> They wake when needed, perform a specific task, and often remain offline for long periods.</li><li><strong>Running a full node — or even continuously synchronizing a light client — is often disproportionate</strong> to the resources and operational requirements of embedded systems.</li><li><strong>As a result, most IoT devices trust a backend</strong> to interact with the blockchain, making that backend part of the device’s trusted computing base.</li><li><strong>Stateless verification replaces trust with cryptographic proofs.</strong> Devices verify only the information they need, exactly when they need it, without maintaining blockchain state or continuous synchronization.</li><li><strong>Combined with configurable freshness policies, stateless verification enables trustless blockchain decisions even under intermittent connectivity</strong>, making it practical for real-world embedded systems.</li></ul><h3>1. Introduction</h3><p>Blockchain was never designed with embedded systems in mind.</p><p>Ethereum assumes that someone is following the chain, validating consensus, executing blocks, and maintaining state. That assumption is reasonable for servers and validators. It becomes much harder once the “user” is no longer a server but a battery-powered sensor, a smart lock, an energy meter, or an industrial controller.</p><p>These devices rarely have permanent internet connectivity. Many wake only when they have work to do, communicate for a few seconds, and return to sleep. Their software is expected to run for years with predictable resource consumption and minimal operational overhead. Running blockchain infrastructure inside such devices is usually unrealistic.</p><p>For that reason, IoT systems almost never interact with blockchains directly. Instead, they rely on gateways and cloud backends that perform blockchain operations on their behalf. The device simply trusts the answer it receives.</p><p>That architecture is practical, but it fundamentally changes the trust model. Instead of verifying blockchain state, the device verifies nothing. The blockchain may still be trustless, yet the final security decision depends entirely on the correctness of the backend.</p><p>This is precisely where stateless verification becomes interesting.</p><p>Rather than asking an embedded device to operate blockchain infrastructure continuously, a stateless client allows it to verify only the information required for the current decision. The device receives blockchain data together with cryptographic proofs, validates both locally, and then immediately returns to its normal operating mode.</p><p>In many ways, IoT is the most demanding environment for blockchain verification. If a verification model works on a constrained embedded device with intermittent connectivity and tight resource limits, it is likely to work almost anywhere else as well.</p><p>This article explores why conventional blockchain client architectures are a poor fit for many IoT deployments, how today’s backend-centric architectures create new trust assumptions, and how stateless verification enables embedded devices to make blockchain-backed decisions without running a blockchain node.</p><h3>2. Why Existing Blockchain Clients Are a Poor Fit for IoT</h3><p>Ethereum offers different ways to interact with the network, each designed for a different set of trade-offs. Full nodes maximize independence by validating every block, executing every transaction, and maintaining the complete blockchain state. Light clients reduce these requirements substantially by keeping only a small authenticated view of the chain. Both approaches work well in the environments they were designed for.</p><p>IoT devices, however, follow a very different operating model. Their primary task is not to participate in a blockchain network but to perform a specific function: measure energy consumption, control access, collect sensor data, or execute industrial processes. Blockchain interaction is only a small part of the overall application.</p><p>Because of that, continuously operating blockchain infrastructure quickly becomes disproportionate. Even if an industrial gateway has sufficient hardware to run a full node, someone still has to install it, update it, monitor it, recover it after failures, and keep it compatible with protocol changes. These responsibilities add complexity to the product without improving its primary functionality.</p><p>Light clients reduce the operational burden, but they still assume that the client maintains an authenticated view of the chain over time. They periodically process consensus updates and preserve local consensus state between requests. This is a natural design for applications that continuously interact with the blockchain.</p><p>Many if not most embedded systems do not.</p><p>A battery-powered sensor may wake every few hours to send a measurement before immediately returning to sleep. A smart lock may spend days idle before checking a single permission. An electricity meter may communicate only when queried by a gateway. Between those events, there is simply no reason to maintain an up-to-date view of Ethereum.</p><p>This mismatch is not unique to IoT. Mobile applications face similar challenges, where background synchronization consumes battery power and mobile data, while synchronizing on demand introduces latency before the application can be used. Browser applications have an even harder time because synchronization usually stops as soon as the user closes the page.</p><p>These practical constraints explain why RPC providers became the standard interface for blockchain applications. They require no local synchronization, no blockchain infrastructure, and no operational overhead. Applications receive the information they need immediately. The trade-off is that correctness is no longer verified locally; it is assumed.</p><p>Stateless clients were designed to remove that trade-off. Instead of maintaining a continuously synchronized view of the blockchain, they verify only the information that is requested at that moment. The operating model therefore follows the application rather than the blockchain: request, verify, act.</p><h3>3. Today’s Architecture: Trust the Backend</h3><p>Running blockchain infrastructure on embedded devices has rarely been practical. As a result, most IoT systems follow a remarkably similar architecture.</p><p>The device itself contains little or no blockchain-specific logic. Instead, it communicates with a backend or gateway that interacts with the blockchain on its behalf. The backend queries an RPC provider, interprets the returned data, and sends the device only the information it actually needs.</p><p>For the device, this interaction is intentionally simple:</p><ul><li><em>Is this payment confirmed?</em></li><li><em>Is this access credential valid?</em></li><li><em>Which tariff applies right now?</em></li><li><em>Is this firmware version approved?</em></li></ul><p>The embedded software never sees the blockchain directly. It simply receives an answer.</p><p>From an engineering perspective, this architecture is easy to justify. It minimizes the complexity of the firmware, keeps resource consumption predictable, and allows blockchain-specific logic to evolve independently from the deployed devices. For many years, there was little practical alternative.</p><p>The consequence, however, is that the device no longer verifies blockchain state itself. It trusts the backend to have queried the correct chain, the correct contract, and the correct block. It trusts the backend to interpret the returned data correctly, to detect failures, and to provide current information.</p><p>The backend may in turn rely on an RPC provider, an indexing service, or additional middleware. Each layer may be perfectly well operated, but from the device’s perspective the entire chain becomes part of its trusted computing base. The blockchain itself may be trustless, yet the final decision still depends on software that the device cannot independently verify.</p><p>Consider a digital lock whose access permissions are managed by a smart contract. When a user presents a credential, the lock asks a backend whether access should be granted. If the backend answers <em>yes</em>, the door opens.</p><p>Whether that answer is correct depends entirely on the backend. A software defect, a stale cache, a compromised RPC provider, or an incorrectly configured contract address can all lead to the same result: the lock receives an answer that appears valid but does not reflect the current blockchain state. The device has no way to distinguish a correct response from an incorrect one.</p><p>Exactly the same pattern appears in many other applications:</p><ul><li>charging stations verifying payments,</li><li>energy meters retrieving tariffs,</li><li>industrial equipment validating operating licenses,</li><li>embedded devices checking whether a firmware release has been approved.</li></ul><p>In all of these examples, the blockchain is intended to be the source of truth. Yet the device ultimately trusts an intermediary instead of verifying that truth itself.</p><p>This is precisely the architectural gap that stateless verification addresses.</p><h3>4. Stateless Verification: A Different Trust Model</h3><p>A stateless client does not eliminate external infrastructure. Data still has to come from somewhere. A backend, an RPC provider, a gateway, or a dedicated prover service may all remain part of the system architecture. <strong>What changes is their role.</strong></p><p>Instead of acting as trusted sources of truth, they become transport mechanisms for data and proofs. The device no longer asks, <em>“Do I trust this backend?”</em> It asks a different question: <em>“Can this result be verified?”</em></p><p>To answer that question, the provider returns both the requested blockchain data and the cryptographic evidence required to validate it.</p><blockquote><strong>Stateless clients do not eliminate infrastructure. They eliminate the need to trust infrastructure.</strong></blockquote><p>For Ethereum, this verification consists of two independent parts:</p><p>The first is an <strong>execution proof</strong>. It proves that the requested information — an account, storage value, transaction receipt, or another piece of execution-layer data — belongs to a specific execution block.</p><p>On its own, however, that is not sufficient. A Merkle proof only establishes membership within a block. It says nothing about whether that block actually belongs to Ethereum.</p><p>The second part is therefore the <strong>consensus proof</strong>. It proves that the referenced execution block is part of Ethereum’s canonical chain. In today’s implementation this verification is based on Ethereum’s light-client protocol, starting from a trusted checkpoint and validating the required sync committee transitions. Future versions can replace these transitions with a single recursive zero-knowledge proof without changing the verification model.</p><p>Together, these proofs establish a complete chain of trust:</p><blockquote>Application Data<br> │<br>Execution Proof<br> │<br>Execution Block<br> │<br>Consensus Proof<br> │<br>Trusted Checkpoint</blockquote><p>Once both proofs have been verified locally, the device no longer depends on the correctness of the infrastructure that delivered them.</p><p>This changes the trust boundary significantly.</p><p>A backend can still become unavailable. A prover can still fail to generate a proof. An RPC provider can still respond slowly. All of these affect the availability of the system.</p><p>What they cannot do is convince the device to accept manipulated blockchain data. Any modification breaks the proof and causes local verification to fail.</p><p>There are, however, limits to what cryptographic proofs establish.</p><p>A proof demonstrates that a particular statement was true in a particular block. It does not automatically answer whether that block is recent enough for the intended operation or whether the application should wait for stronger finality before acting.</p><p>These questions belong to application policy rather than cryptographic correctness.</p><p>Colibri therefore makes freshness part of the verification process itself. Every verification request includes a freshness policy that defines how recent the referenced blockchain state must be. Results that satisfy the cryptographic proofs but violate the configured freshness requirements are rejected before they reach the application.</p><p>This prevents an entire class of implementation mistakes where applications verify proofs correctly but unintentionally accept blockchain state that is no longer suitable for the intended operation.</p><h3>5. Designed for Embedded Systems</h3><p>The stateless verification model only becomes practical for IoT if the verifier itself fits into the software architecture of an embedded device.</p><p>That was one of the primary design goals of Colibri from the beginning.</p><p><strong>Instead of building another blockchain node</strong> and trying to reduce its footprint, <strong>Colibri was designed as a verification library</strong> that can be embedded directly into an application or firmware. The surrounding software remains responsible for networking, device logic, and communication protocols, while Colibri performs only one task: verifying blockchain data.</p><p>This separation keeps both the implementation and the resource usage predictable. A device that only verifies transaction receipts does not need to include a local EVM. A lock that checks one storage value does not require the same components as a gateway executing smart contract calls. Only the functionality required by the application is compiled into the final binary.</p><p>As a result, the resource footprint scales with the selected feature set rather than with the blockchain itself.</p><p>One measured RTOS configuration for transaction receipt verification consists of approximately <strong>200 kB of executable code</strong>, <strong>35 kB of initialized data</strong>, and <strong>1.7 kB of static memory</strong>, resulting in a combined binary footprint of <strong>about 236 kB</strong>.</p><p>This configuration represents a minimal verifier for a specific use case rather than a complete blockchain client. Larger builds can include additional proof types, networking components, or a local EVM for contract execution.</p><p>More importantly, binary size alone is only one part of the picture.</p><p>Embedded systems are often constrained less by flash memory than by predictability. Applications need deterministic memory usage, bounded execution times, and clearly defined responsibilities between software components. A verification library fits naturally into this model because it behaves like any other embedded software module instead of introducing an independent subsystem that must continuously synchronize with the blockchain.</p><p>From the application’s perspective, the workflow remains remarkably simple:</p><ol><li>Request the required blockchain information.</li><li>Receive the data together with the corresponding proofs.</li><li>Verify both locally.</li><li>Check that the configured freshness policy is satisfied.</li><li>Continue with the application logic.</li></ol><p>The expensive work — collecting blockchain data, constructing proofs, and transporting them to the device — can happen anywhere. The final security decision always remains inside the device itself.</p><h3>6. Designed for Intermittent Connectivity</h3><p>Unlike servers or desktop applications, many IoT devices are not continuously connected to the internet. They communicate only when necessary. Some wake periodically to transmit measurements, others are activated by user interaction, and many exchange data only through a local gateway.</p><p>This operating model fundamentally changes how blockchain verification should work.</p><p>Traditional blockchain clients are designed around the assumption that the client maintains an up-to-date view of the network. Even lightweight clients periodically synchronize consensus information to ensure that future requests can be answered immediately.</p><p>Many embedded devices have no reason to maintain such a continuously synchronized state. Between two interactions, the blockchain is simply irrelevant to the device’s primary task.</p><p><strong>Stateless verification naturally follows this lifecycle.</strong></p><p>When the device needs blockchain information, it requests the required data together with the corresponding proofs. Those proofs may arrive directly from the internet, through a gateway, or even via a local communication channel such as Bluetooth. Once received, the device can verify them locally without maintaining an active connection to the provider that generated them.</p><p>The proof itself, however, only establishes what was true in a particular block. Whether that information is still recent enough for the intended operation is a separate question.</p><p>Colibri therefore treats freshness as part of the verification process. Every verification request includes a freshness policy that specifies how recent the referenced blockchain state must be. Results that satisfy the cryptographic proofs but violate the configured freshness requirements are rejected automatically before they reach the application.</p><p>This allows different applications to express different security requirements. A firmware approval may remain valid for months, while an access permission might need to reference a block that is only minutes old. The verification process remains identical; only the freshness policy changes.</p><p>Intermittent connectivity therefore becomes an operational concern rather than a security concern. The device may obtain proofs whenever connectivity is available, but it only accepts them if they satisfy both the cryptographic verification and the configured freshness policy.</p><h3>7. Conclusion</h3><p>Blockchain has long been associated with servers, validators, and always-on infrastructure. IoT represents almost the opposite environment: constrained hardware, intermittent connectivity, predictable resource consumption, and software that is expected to run unattended for years.</p><p>This makes IoT an excellent benchmark for blockchain client architectures. If a verification model requires continuous synchronization, significant infrastructure, or constant network access, many embedded devices simply cannot adopt it. If verification can instead be reduced to an operation that runs only when needed, blockchain security becomes practical even on highly constrained systems.</p><p>Stateless verification follows exactly this approach. Rather than turning an embedded device into a blockchain node, it enables the device to verify only the information required for the current decision. External infrastructure remains useful for transporting data and generating proofs, but it no longer has to be trusted.</p><blockquote><strong>A stateless client does not stay synchronized with the blockchain. It synchronizes trust only when trust is required.</strong></blockquote><p>This changes more than the architecture of IoT systems. It changes how blockchain verification can be integrated into software in general. Verification becomes another software component that can be embedded wherever it is needed instead of another service that has to be operated.</p><p>IoT is therefore not just another use case for stateless clients. It is the environment that demonstrates why this client model exists in the first place.</p><p><em>Follow </em><a href="https://medium.com/corpus-core-insights"><em>Corpus.Core Insights</em></a><em> for the next article in the series.</em> <em>If you believe trustless infrastructure matters, sign the </em><a href="https://trustlessness.eth.limo/"><em>Trustless Manifesto</em></a><em>.</em> <em>colibri.stateless is open source: </em><a href="https://github.com/corpus-core/colibri-stateless"><em>github.com/corpus-core/colibri-stateless</em></a></p><p>For more information, visit our <a href="https://corpuscore.tech/">website</a> or follow us on social media (<a href="https://x.com/corpuscorehq">x</a>, <a href="https://t.me/corpuscore">telegram</a>, <a href="https://www.linkedin.com/company/corpus-core">LinkedIn</a>).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca9b5b7521fc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/corpus-core-insights/blockchain-clients-for-iot-overcoming-resource-constraints-6-of-9-ca9b5b7521fc">Blockchain Clients for IoT — Overcoming Resource Constraints (6 of 9)</a> was originally published in <a href="https://medium.com/corpus-core-insights">Corpus.Core Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Multi-Chain Apps & the Importance of Stateless Clients (5 of 9)]]></title>
            <link>https://medium.com/corpus-core-insights/multi-chain-applications-and-the-importance-of-stateless-clients-5-of-9-194b816d7bcd?source=rss-2b84d96491a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/194b816d7bcd</guid>
            <category><![CDATA[multichain]]></category>
            <category><![CDATA[blockchain-client]]></category>
            <category><![CDATA[trustless]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Steffen Kux]]></dc:creator>
            <pubDate>Wed, 13 May 2026 10:31:47 GMT</pubDate>
            <atom:updated>2026-05-13T13:57:18.432Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Target audience: Intermediate</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HNK8KuV4jkvU0GoPqMpajw.jpeg" /></figure><h3>TL;DR</h3><ul><li>Multi-chain is no longer an edge case. Most serious applications — and nearly every wallet — interact with assets on multiple chains simultaneously.</li><li>The standard solution — one trusted RPC provider per chain — multiplies the attack surface with every chain added.</li><li><strong>Stateless clients</strong> break this pattern: they verify data locally using cryptographic proofs, regardless of which chain the data comes from.</li><li>colibri.stateless currently supports Ethereum (production), Gnosis, Optimism, and Base — with one client, one verification model, no persistent state.</li><li>vRPC is the natural evolution of RPC — delivering data and proofs together from a single endpoint. It should become the new standard.</li></ul><h3>1. Introduction</h3><p>In <a href="https://medium.com/corpus-core-insights/stateless-light-clients-enabling-trustless-blockchain-interaction-3-of-9-934ffd0e050c">Part 3</a> of this series, we introduced stateless clients: what they are, why they don’t need to store block headers, and how cryptographic proofs replace trust. In <a href="https://medium.com/corpus-core-insights/layer-2-solutions-and-their-clients-4-of-9-683665534e96">Part 4</a>, we looked at Layer-2 solutions and the specific challenges they introduce for client verification.</p><p>This article takes a step back and asks a broader question: what happens when an application doesn’t live on one chain — but on many?</p><p>That question is no longer hypothetical. Today, your wallet holds ETH on Ethereum mainnet, USDC bridged to Base, and a small position on Gnosis Chain. A DeFi protocol splits liquidity across Optimism and Arbitrum. An NFT platform tracks provenance on Ethereum while handling payments on a cheaper L2. The multi-chain reality is here.</p><p>The infrastructure responding to it, however, is largely still built around a single-chain assumption — and that mismatch creates problems that go beyond inconvenience.</p><h3>2. The Multi-Chain Reality</h3><p>Consider a simple scenario: a wallet application that shows a user their complete portfolio across chains.</p><p><strong><em>Example: </em></strong><em>To display an accurate balance, the wallet needs to:</em></p><ol><li><em>Query the user’s token balances on Ethereum mainnet</em></li><li><em>Query the same on Base</em></li><li><em>Query the same on Gnosis Chain</em></li><li><em>Query any pending or bridged assets on Optimism</em></li></ol><p><em>Each of these queries goes to a data source. In today’s standard architecture, that means one or more RPC providers — typically the same large infrastructure providers (Infura, Alchemy, QuickNode) offering endpoints for multiple chains, or a mix of specialized providers.</em></p><p>The user sees a unified interface. Behind the scenes, their wallet is making four separate trust decisions, often without their knowledge.</p><p>This is the structural problem: <strong>multi-chain applications require multi-chain data access, and today that access is almost universally unverified.</strong></p><h3>3. Why Trusted RPC Doesn’t Scale Across Chains</h3><p>In a single-chain context, the RPC trust problem is already significant. As we covered in earlier articles, a compromised or malicious RPC provider can serve fake balances, wrong nonces, tampered contract results, or phantom events — and the application has no way to detect it.</p><p>In a multi-chain context, this problem doesn’t just persist — it compounds.</p><h4>Trust multiplies with every chain</h4><p>Each additional chain adds at least one more trusted party to the application’s dependency graph. With four chains, a wallet is exposed to four independent failure points. A single compromised provider — whether through a supply-chain attack, social engineering, or deliberate infrastructure poisoning — is enough to corrupt the data the user acts on.</p><p>Two recent incidents show what this looks like in practice.</p><p><strong>The NPM supply-chain attack (September 2025).</strong> Attackers phished an NPM maintainer, gained access to popular JavaScript packages, and injected code that hooked window.ethereum.request — silently replacing the to address in outgoing transactions. The UI showed the correct recipient. The wallet signed tampered calldata. The user&#39;s funds were drained.</p><blockquote><em>“You don’t need to break the protocol. You only need to control what the user believes is true.”</em></blockquote><p>Where would colibri.stateless have intervened? The client&#39;s colibri_simulateTransaction method executes the signed transaction locally against verified on-chain state <em>before</em> it is broadcast. The simulation runs against Merkle-proven account and storage data — data no injected frontend code can tamper with. The result of the simulation would have shown a transfer to an address the user never intended. The discrepancy between what the user approved and what was actually signed would have been detectable — and stoppable — before the transaction hit the network.</p><p><strong>The KelpDAO bridge exploit (April 2026).</strong> This is an even more direct example. Attackers — later linked to North Korea’s Lazarus Group — compromised two internal RPC nodes used by the LayerZero DVN (Decentralized Verifier Network) to read source-chain state. Simultaneously, they launched a DDoS attack against the external RPC provider, forcing the DVN to rely entirely on the poisoned infrastructure. The compromised nodes returned forged data selectively: truthful responses to monitoring systems, fraudulent responses to the verifier. The verifier, seeing no anomaly, signed a cross-chain message attesting to a token burn that never occurred. The result: $292 million in rsETH was released on Ethereum against a fabricated event on the source chain.</p><p>No smart contract was exploited. No protocol logic was broken. The attack was entirely at the RPC layer — precisely the layer that colibri.stateless is designed to make trustless — the RPC infrastructure remains as a data transport, but the trust requirement is eliminated.</p><p>With local proof verification, the DVN would not have been in the position of trusting RPC responses. Every piece of source-chain state — including whether the burn transaction was included in a finalized block — would have been verified against a cryptographic proof anchored to the canonical chain. A forged RPC response cannot produce a valid execution proof. The attack vector simply doesn’t exist in a verified architecture.</p><p>KelpDAO illustrates a principle that must be non-negotiable for any multi-chain architecture: <strong>cross-chain messages must be based exclusively on verified data.</strong> A bridge, a DVN, a cross-chain oracle — any component that reads state from one chain and acts on another based on that state — is only as trustworthy as its data source. Accepting unverified data in this context is not a calculated risk. It is gross negligence. The KelpDAO exploit was not an edge case; it was the predictable outcome of a system that trusted its data instead of verifying it.</p><h4>The core issue doesn’t change with scale</h4><p>Adding more chains doesn’t introduce a qualitatively new problem — it amplifies an existing one. The root cause is always the same: the application receives data from an external source and has no mechanism to verify it. Whether that’s one chain or ten, the architecture is trusting rather than verifying.</p><h3>4. What a Stateless Client Changes</h3><p>A stateless client, as introduced in Part 3, verifies blockchain data locally using cryptographic proofs — without storing any persistent state, without syncing, and without requiring a full node.</p><p>Two proofs work in combination:</p><ul><li>The <strong>consensus proof</strong> establishes that a given block is part of the canonical chain — signed by the active sync committee.</li><li>The <strong>execution proof</strong> proves that a specific piece of data (an account balance, a storage slot, a contract call result) is part of that block’s state.</li></ul><p>Together, they allow any application to receive data from any source — trusted or untrusted — and verify it locally, on-device, before acting on it.</p><p>This shifts how multi-chain data access works at a fundamental level:</p><p><strong>Verification becomes chain-agnostic.</strong> The same proof model applies whether the data comes from Ethereum mainnet, Base, or Gnosis Chain. What changes are the specific chain parameters and consensus mechanisms — not the verification principle.</p><p><strong>The number of trusted parties stops growing.</strong> Adding a new chain to an application no longer means adding a new trusted dependency. The application verifies proof data locally; the source of that data doesn’t matter.</p><p><strong>Attacks that manipulate data become detectable.</strong> A compromised RPC that serves a fake balance will produce data that doesn’t match a valid proof. The local verifier rejects it. The attack fails at the verification layer, not through luck.</p><h3>5. colibri.stateless in a Multi-Chain Context</h3><p>colibri.stateless implements this model as a single, portable client, supporting Ethereum, Gnosis, Optimism, Base, and testnets like Sepolia, Chiado, …</p><p>The verification model is consistent across all supported chains. For Ethereum mainnet, verification uses BLS aggregate signatures from the sync committee and Merkle Patricia Trie proofs for execution data. For OP-Stack chains (Optimism, Base), the verification stack extends to anchor L2 state to L1 — the same L1 consensus proof forms the root of trust for L2 data.</p><h4>L2 finality and pre-proofs</h4><p>For L2 chains, a cryptographically final proof is only possible once the relevant state has been anchored on L1 — the moment the rollup’s state root is posted and confirmed on Ethereum. Depending on the chain and network conditions, this can take minutes to hours.</p><p>In practice, however, many applications don’t wait for L1 finality. They accept sequencer confirmations as a working assumption: the transaction is included, the state is known, and the risk of a reorg is considered low. This is a pragmatic tradeoff, not a security guarantee.</p><p>colibri.stateless supports both modes. For applications that require full cryptographic finality, verification waits for L1 anchoring. For applications where sequencer-level confirmation is sufficient — a balance display, a UI state update, a low-value operation — the client can verify against witness data: the sequencer&#39;s confirmation of state, before it is posted to L1. These witnesses are verifiable through colibri.stateless and provide meaningful integrity guarantees even without full L1 anchoring. Each application can choose the tradeoff that fits its risk profile.</p><p>For the wallet scenario above: a single instance of colibri.stateless can verify balance data across all four chains. The wallet no longer makes four independent trust decisions — it makes four independent verification checks, all locally, all against cryptographic proofs.</p><h4>Three modes, one trust model</h4><p>colibri.stateless can be integrated in three deployment modes — all equally trustless, differing only in where proofs are generated:</p><ul><li><strong>Local proof</strong> — the client fetches raw data from a standard RPC endpoint and generates proofs locally. This requires pulling additional data from both the execution layer and the beacon chain, but keeps everything self-contained.</li><li><strong>Remote proof</strong> — the client fetches data from an RPC endpoint as usual, but proof generation is handled by a dedicated proof provider service. Significantly more performant, since the prover can operate with greater efficiency than an embedded client.</li><li><strong>vRPC</strong> — data and proofs arrive together from a single endpoint. The RPC provider delivers proof-augmented responses directly, making this the simplest integration and the most performant option.</li></ul><p>In all three cases, the local colibri.stateless verifier checks every proof independently. The source of the proof — local, remote, or bundled via vRPC — has no bearing on the trust model. A compromised prover or provider cannot produce a valid proof for manipulated data.</p><p>For a multi-chain wallet, this means one colibri.stateless client instance, configured per chain with whichever mode fits the deployment context. The verification guarantee is identical across all of them.</p><p>The three modes — and especially vRPC — deserve a closer look. A dedicated article will cover them in depth: how each is configured, what the performance tradeoffs look like in practice, and what vRPC means for existing wallet and dApp infrastructure.</p><h3>6. Implications for Developers Building Multi-Chain Applications</h3><p>For developers, the practical consequences are straightforward.</p><h4>What gets easier</h4><p><strong>Unified trust model.</strong> Instead of evaluating the reliability and security posture of multiple RPC providers for multiple chains, developers integrate one verification library. The trust question shifts from “do I trust this provider?” to “is this proof valid?” — and the second question has a deterministic answer.</p><p><strong>Resilient data access.</strong> Because colibri.stateless verifies proofs independently of their source, applications can fetch data from multiple sources and verify each independently. A provider outage on one chain doesn&#39;t cascade; switching sources doesn&#39;t affect verification integrity.</p><p><strong>Smaller attack surface.</strong> Provider-level attacks — compromised endpoints, injected responses, BGP hijacking, DNS spoofing — stop being exploitable when every response is locally verified. The attacker can still manipulate data in transit; they just can’t produce a valid proof for it.</p><h4>The tradeoff: proof delivery</h4><p>Verification requires proofs, and proofs need to come from somewhere. In the local proof mode, everything is self-contained but requires more data from the RPC. The remote prover and vRPC modes offload that work — at the cost of an additional dependency. That dependency is untrusted by design: a compromised prover cannot produce valid proofs for manipulated data. The local verifier will always catch it.</p><h3>7. Conclusion</h3><p>Multi-chain applications are not a future scenario — they are the current reality for anyone building serious infrastructure in Web3. A wallet tracking assets on four chains, a bridge protocol verifying state across L1 and L2, a DeFi application sourcing liquidity from multiple networks: all of them face the same structural problem at the data access layer.</p><p>Trusted RPC doesn’t solve this problem. It defers it, multiplies it, and makes it harder to reason about as complexity grows.</p><p>Stateless clients offer a different architecture: verify locally, trust nothing, accept data from any source. The number of chains in scope stops being a security variable.</p><p>colibri.stateless makes this architecture practical today — not as a research prototype, but as a production-ready client library across Ethereum and several EVM-compatible chains, with a footprint small enough to run on mobile, browser, and embedded targets.</p><p><em>Follow </em><a href="https://medium.com/corpus-core-insights"><em>Corpus.Core Insights</em></a><em> for the next article in the series.</em> <em>If you believe trustless infrastructure matters, sign the </em><a href="https://trustlessness.eth.limo/"><em>Trustless Manifesto</em></a><em>.</em> <em>colibri.stateless is open source: </em><a href="https://github.com/corpus-core/colibri-stateless"><em>github.com/corpus-core/colibri-stateless</em></a></p><p>For more information, visit our <a href="https://corpuscore.tech/">website</a> or follow us on social media (<a href="https://x.com/corpuscorehq">x</a>, <a href="https://t.me/corpuscore">telegram</a>, <a href="https://www.linkedin.com/company/corpus-core">LinkedIn</a>).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=194b816d7bcd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/corpus-core-insights/multi-chain-applications-and-the-importance-of-stateless-clients-5-of-9-194b816d7bcd">Multi-Chain Apps &amp; the Importance of Stateless Clients (5 of 9)</a> was originally published in <a href="https://medium.com/corpus-core-insights">Corpus.Core Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pragmatic Adaptive Privacy (PAP)]]></title>
            <link>https://medium.com/corpus-core-insights/pragmatic-adaptive-privacy-pap-5c6f6080cb1a?source=rss-2b84d96491a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c6f6080cb1a</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[trustless]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Steffen Kux]]></dc:creator>
            <pubDate>Fri, 06 Feb 2026 15:15:22 GMT</pubDate>
            <atom:updated>2026-02-17T19:04:41.293Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why Privacy Maximalism Fails, and How Pragmatic Adaptive Privacy Changes Web3</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-yi-KJOulScHzI4oW20Utg.png" /></figure><h3>TL;DR</h3><ul><li><em>Web3 has robust privacy technologies, but it lacks </em><strong><em>built-in, general privacy</em></strong><em>, particularly when </em><strong><em>reading</em></strong><em> blockchain state. Most privacy leaks happen </em><strong><em>before transactions</em></strong><em>, through RPC-based reads that expose identity and intent.</em></li><li><strong><em>Pragmatic Adaptive Privacy (PAP)</em></strong><em> treats privacy as an </em><strong><em>engineering decision under constraints</em></strong><em>, not an ideology: privacy is applied </em><strong><em>on a per-read basis</em></strong><em>, based on risk, cost, and usability.</em></li><li><em>By separating </em><strong><em>transport privacy (who is asking)</em></strong><em> from </em><strong><em>content privacy (what is being inferred)</em></strong><em> and using a simple </em><strong><em>T × C model</em></strong><em>, PAP enables meaningful privacy gains without maximal overhead.</em></li><li><em>A </em><strong><em>Privacy Abstraction Layer (PAL)</em></strong><em> enables deployment by moving complexity out of applications and enforcing adaptive, trustless read privacy at the protocol level.</em></li><li><em>Privacy that is usable, composable, and verifiable can scale. Privacy maximalism cannot.</em></li></ul><h3>Introduction</h3><p>If we are honest, privacy was not a primary design goal of Bitcoin and Ethereum, which have shaped most of today’s Web3 infrastructure.</p><p>Web3 was built around transparency, global verifiability, and trustless execution. These properties are powerful — and they are deliberately public. Privacy, in contrast, has been retrofitted by the ecosystem, often treated as a moral imperative rather than as a system property with real costs.</p><p>This mismatch creates a problem. On the one hand, the lack of privacy makes real-world use fragile, strategically exploitable, and, in some cases, outright dangerous. It also creates regulatory tension, as transparent-by-default systems tend to leak more user data than is necessary or justifiable in many jurisdictions.</p><p>On the other hand, strong privacy mechanisms are expensive. They introduce latency, consume bandwidth, require additional infrastructure, and degrade user experience. In practice, this often puts teams in a difficult position: choosing between regulatory exposure and systems that are too slow, too complex, or too costly to deploy at scale. The result: privacy is sacrificed in favor of convenience, performance, and cost.</p><p>The usual response has been privacy maximalism: applying the strongest possible privacy guarantees everywhere, by default. In practice, this approach prevents systems from being used at all. Developers avoid it. Users disable it. Products revert to insecure yet convenient defaults.</p><p>Meanwhile, privacy is already lost long before a transaction is sent. Every interaction with a blockchain begins with reading data. In practice, these reads are almost always routed through centralized RPC gateways.</p><p>These gateways collect connection metadata, such as IP addresses, timing, and request patterns, and observe precisely which data users are interested in. Reads are frequent, unavoidable, and highly revealing — often leaking intent more clearly than the transaction itself.</p><p><strong>Pragmatic Adaptive Privacy (PAP)</strong> starts from a simple premise: privacy must be <strong>usable</strong> to be effective. Rather than maximizing global privacy, PAP applies the appropriate level of privacy to each action, based on context, risk, and cost.</p><p>Discussions about privacy in Web3 almost always gravitate toward transactions. Front-running, MEV, private mempools, mixers, and shielded transfers dominate the debate. This focus is understandable but incomplete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Jmm9-_me-Abnj0kyulgvA.png" /></figure><h3>Privacy Leaks Happen Before Transactions</h3><p>Every interaction with a blockchain can be separated into three phases:</p><ul><li><strong>Transport</strong>: How requests are delivered to the network</li><li><strong>Read</strong>: Which pieces of state are accessed</li><li><strong>Write</strong>: Which transactions are submitted</li></ul><p>Most privacy mechanisms concentrate on the write phase. By the time a transaction is broadcast, however, a significant amount of information has already been revealed through transport- and read-level interactions.</p><h4>Full Nodes and the Limits of Local Read Privacy</h4><p>If a user operates their own full node, read privacy is straightforward. All blockchain data is available locally. No queries leave the system, no metadata is exposed, and no third party can observe what is being read or when. This model, however, does not generalize.</p><p>Running a full node requires storage, bandwidth, continuous availability, and operational effort. For most users — and especially for applications — this assumption does not hold. Wallets, dApps, bots, AI agents, and IoT devices cannot rely on every user maintaining their own node.</p><p>As a result, blockchain access is almost always mediated through remote interfaces. Even when stateless or light clients are used to locally verify responses, the underlying data is still fetched from external sources. Verification replaces trust, but it does not eliminate metadata exposure.</p><p>Local read privacy is therefore theoretically achievable but rarely available in practice.</p><h4>Transport: Who Is Asking</h4><p>Almost all applications today access data from Ethereum and other L1 and L2 chains through RPC endpoints. In practice, this usually means centralized RPC gateways operated by a small number of infrastructure providers.</p><p>These gateways observe connection-level metadata, including IP addresses, timing, request frequency, and request sequences. Even without inspecting request payloads, this metadata is sufficient to construct detailed and persistent usage profiles. Wallets, applications, and sessions can often be correlated over time.</p><p>From a privacy perspective, this means that querying the chain already reveals <em>who</em> <em>is asking</em>, regardless of whether a transaction is ever submitted.</p><h4>Read: What Is Being Prepared</h4><p>Reading blockchain state via RPC interfaces is not a neutral operation. Reads are highly semantic and context-dependent:</p><ul><li>balance checks</li><li>allowance queries</li><li>pool state lookups</li><li>price queries and transaction simulations</li></ul><p>Taken together, they reveal intent. In many cases, read patterns expose what a user is about to do more clearly than the eventual transaction itself.</p><p>This creates an underappreciated risk. Observers with visibility into read activity can infer trading strategies, anticipate large transactions, or prepare front-running and sandwich attacks—even if the final transaction is subsequently protected or obfuscated.</p><h4>Write: The Visible Endpoint</h4><p>Transactions are public by design. The sender, target contract, calldata, and execution effects are visible on-chain, and often observable in the mempool before inclusion.</p><p>This is where most privacy discussions traditionally begin. By this point, however, much of the relevant information may already be known. Transport metadata and read-level intent leakage can be sufficient to identify actors and predict actions, even if the transaction itself is partially shielded.</p><blockquote>Privacy leaks in Web3 do not start at the transaction layer. They begin earlier, during transport and read operations. Ignoring these phases creates a false sense of security and leads to privacy solutions that address symptoms rather than causes.</blockquote><p>Any serious approach to privacy must therefore begin with reads, not writes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q_u45OLLh_e-RqtEhxLPaA.png" /></figure><h3>Two Fundamental Privacy Questions</h3><p>Once it becomes clear that privacy leaks originate during transport and read operations, a more precise question follows: what exactly needs to be protected?</p><p>Many discussions of privacy in Web3 implicitly conflate different problem classes. As a result, proposed solutions are often expensive, ineffective, or misapplied. To reason about privacy in a technically meaningful way, two fundamentally different questions must be separated.</p><h4>Who Is Acting?</h4><p>The first question concerns <strong>identity</strong>:</p><blockquote>Who is making a request, interacting with an application, or preparing an action?</blockquote><p>This dimension covers all forms of linkability and attribution, including:</p><ul><li>IP addresses and other network identifiers</li><li>timing and frequency of requests</li><li>correlation across sessions, wallets, and applications</li></ul><p>An observer who can answer this question can construct persistent usage profiles, even without understanding the content of individual requests. Importantly, protecting identity is primarily a transport-layer problem, and even simple measures, such as using multiple RPC providers with non-predictable switching, can already reduce linkability without providing full anonymity.</p><h4>What Is Being Done?</h4><p>The second question concerns <strong>intent</strong>:</p><blockquote>What is being read, queried, or inferred from the interaction?</blockquote><p>This dimension is revealed through the semantics of read operations:</p><ul><li>which pieces of state are accessed</li><li>in what sequence</li><li>how individual readings relate to one another in context.</li></ul><p>Even if identity is partially obscured, an observer who can interpret read patterns may still infer strategies, positions, or upcoming actions. Protecting intent is therefore a content-level problem. It requires abstraction, aggregation, or cryptographic techniques that reduce semantic visibility.</p><h4>Why These Questions Must Be Treated Independently</h4><p>These two dimensions are orthogonal. Protecting identity does not automatically protect intent. An anonymous user repeatedly querying the same pool state may still reveal a trading strategy. Conversely, hiding intent does not guarantee anonymity if all requests are routed through a stable, linkable transport path.</p><blockquote>Many privacy systems fail because they blur this distinction. They optimize heavily along one dimension while leaving the other exposed, creating a false sense of security and unnecessary cost, or maximizing both with high direct or indirect costs make the solution impractical.</blockquote><p>A rigorous privacy model must therefore treat <strong>who</strong> and <strong>what</strong> as separate axes. Only then does it become possible to reason about trade-offs, costs, and appropriate levels of protection.</p><h3>Read Privacy vs. Write Privacy</h3><p>Privacy in Web3 is often discussed as a single problem. In practice, however, reading from the blockchain and writing to it expose fundamentally different information and require different approaches.</p><p>Failing to separate these two leads to misplaced solutions: heavy mechanisms applied in places where they add limited value, while critical leaks remain unaddressed where they matter most.</p><h4>Write Privacy: Important, but Not the Focus Here</h4><p>Writing to the blockchain means submitting a transaction that changes state. By design, this process is public. The sender, target contract, calldata, gas parameters, and execution effects are visible on-chain and often observable in the mempool before inclusion.</p><p>This visibility creates well-known risks, including front-running, sandwich attacks, and MEV extraction. As a result, a substantial ecosystem of write-privacy mechanisms has emerged, including mixers, shielded pools, private transaction frameworks, and encrypted mempools.</p><p>These systems are important and necessary. They address a real and well-understood problem space. However, they are explicitly focused on the write phase.</p><p>Within the PAP framework, the focus is not to replace or compete with these systems, but to address read privacy as a first-class concern through pragmatic, practical approaches.</p><h4>Read Privacy: The Overlooked Problem</h4><p>Reading blockchain data is an off-chain operation. It does not modify state, does not require consensus, and is often assumed to be harmless.</p><p>In reality, read operations are frequent, unavoidable, and highly revealing. Wallets, dApps, bots, AI agents, and IoT devices constantly query balances, allowances, contract state, and pricing information. These reads are typically executed over RPC interfaces and routed through a small number of infrastructure providers.</p><p>As discussed earlier, read patterns are semantic. They expose interests, strategies, and upcoming actions. In many cases, the intent revealed by read sequences is clearer than that inferred from the final transaction alone.</p><h4>Why Write Privacy Is Not Enough</h4><p>A common assumption is that protecting transactions is sufficient. If the write is private, the reasoning goes, the user is protected. This assumption is flawed.</p><p>If read activity remains observable, an attacker may already know what will happen before the transaction is ever sent. Even a perfectly private transaction cannot undo intent leakage that occurred during preparation.</p><blockquote>Write privacy without read privacy therefore provides, at best, partial protection.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kwke5z8JJchDammvS9L9QA.png" /></figure><h3>The T × C Privacy Model</h3><p>With the relevant privacy dimensions clearly separated, read privacy can be described in a structured and operational way. PAP models read privacy along two independent axes: <strong>Transport (T)</strong> and <strong>Content (C)</strong>.</p><p>The goal of this model is not to maximize privacy everywhere, but to make privacy <strong>selectable, comparable, cost-aware, and pragmatically applicable</strong>.</p><h4>Two Independent Axes</h4><p>The T × C model directly maps to the two fundamental questions introduced earlier:</p><ul><li><strong>Who is acting?</strong> → Transport (T)</li><li><strong>What is being read or inferred?</strong> → Content (C)</li></ul><p>Each axis is discretized into three levels. The levels are intentionally coarse-grained. They are designed to support practical decision-making rather than to exhaustively classify all possible privacy techniques.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*LpxI18iDlNjEeybk_4fMRw.png" /></figure><h4>Transport Privacy (T)</h4><p>Transport privacy refers to how easily readable activity can be linked to a specific actor over time.</p><ul><li><strong>T0 — Linkable</strong><br>Read requests follow stable, directly linkable transport paths. Long-term correlation and attribution are straightforward.</li><li><strong>T1 — Correlation-Resistant</strong><br>Read requests are distributed across multiple paths or providers. Linkability is reduced, but attribution remains possible.</li><li><strong>T2 — Strongly Decoupled</strong><br>Read requests are routed in a way that makes persistent attribution impractical under realistic threat models.</li></ul><p>Improvements along the transport axis primarily reduce <strong>identity leakage</strong>. They are often incremental and relatively inexpensive compared to content-level protections.</p><h4>Content Privacy (C)</h4><p>Content privacy refers to the extent to which intent can be inferred from read operations themselves.</p><ul><li><strong>C0 — Explicit</strong><br>Reads expose concrete state and semantics directly. Intent is immediately visible.</li><li><strong>C1 — Abstracted</strong><br>Reads are partially aggregated or abstracted. Intent may still be inferred, but with reduced confidence.</li><li><strong>C2 — Opaque</strong><br>Reads are structured to significantly limit semantic interpretation. Intent inference is minimized.</li></ul><p>Improvements along the content axis primarily reduce <strong>intent leakage</strong>. They are typically more expensive and should therefore be applied selectively.</p><h4>The Matrix</h4><p>Combining both axes yields a simple 3 × 3 matrix. Each read operation occupies exactly one point in this space.</p><p>Crucially, the matrix is not a ranking. Moving toward higher privacy levels always entails trade-offs among latency, bandwidth, complexity, and usability. PAP treats the matrix as a <strong>design space </strong>rather than as a ladder that must always be climbed.</p><h4>Why This Model Matters</h4><p>Without an explicit model, privacy discussions tend to collapse into vague demands for “more privacy.” The T × C model replaces this with concrete, comparable choices:</p><ul><li>Which dimension is relevant for this action?</li><li>Which level is sufficient in this context?</li><li>What cost is acceptable?</li></ul><p>This framing makes privacy decisions explicit and reviewable. It is a prerequisite for pragmatic system design and for integrating privacy into real-world applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ArBvkbevSmuLM6j_VFxRAQ.png" /></figure><h3>Why Privacy Maximalism Fails</h3><p>The T × C model makes one constraint explicit: stronger read privacy always comes with a higher cost. In the context of Ethereum and other programmable blockchains, ignoring this constraint leads to a recurring pattern — privacy mechanisms that are theoretically strong but practically unusable.</p><p>This is not an argument against strong privacy techniques. Many of them are well-researched, cryptographically sound, and highly effective in isolation. The problem arises when they are treated as universal defaults for blockchain read access under strict trustlessness assumptions.</p><h4>Strong Read-Privacy Techniques Exist</h4><p>Several classes of techniques aim to provide near-maximal content privacy for reads:</p><ul><li><strong>PIR (Private Information Retrieval)</strong> hides which item is retrieved from a database.</li><li><strong>ORAM (Oblivious RAM)</strong> hides access patterns by ensuring that all reads and writes appear indistinguishable to the storage provider.</li><li><strong>zk-based query abstraction</strong> replaces raw data access with proofs over predicates or properties of state (e.g., proving that a balance satisfies a condition without revealing the balance itself).</li><li><strong>Trusted Execution Environments (TEEs)</strong> execute read operations within hardware-enforced enclaves, so that neither access patterns nor content are visible to the host system.</li></ul><p>All of these approaches can provide very strong content-level privacy. From a pure privacy perspective, they represent the upper end of the C-axis.</p><h4>Why This Becomes Hard on Ethereum and L2s</h4><p>Blockchain reads differ fundamentally from traditional database queries. In practice, reads must satisfy several constraints simultaneously:</p><ul><li><strong>Freshness</strong>: data must be associated with a recent, well-defined chain state.</li><li><strong>Verifiability</strong>: responses must be provably correct with respect to consensus and execution state. In PAP terms, <strong>trustlessness is non-negotiable</strong> — privacy must not be achieved by reintroducing trusted intermediaries or weakening verification.</li><li><strong>Scalability</strong>: latency, bandwidth, and computation must remain acceptable for wallets, dApps, bots, mobile clients, and IoT devices.</li></ul><p>PIR- and ORAM-style approaches are expensive along multiple dimensions:</p><ul><li><strong>Bandwidth</strong> overhead grows significantly as indistinguishability sets increase.</li><li><strong>Latency</strong> increases due to additional rounds and increased computational complexity.</li><li><strong>Computation and infrastructure</strong> requirements are high on both the client and server sides.</li></ul><p>These costs are already challenging in Web2 systems. In Ethereum and L2 environments, they directly conflict with the requirement for trustless verification.</p><h4>The Trustlessness Tension</h4><p>Under a trustless model, clients cannot rely on a server’s statement about the data. They must verify that returned data corresponds to a specific chain state.</p><p>This introduces a structural tension:</p><ul><li>Verification requires proofs tightly coupled to the accessed state.</li><li>Maximal privacy requires access patterns to be indistinguishable.</li></ul><p>As a result, systems face a trade-off. Either verification becomes expensive because proofs must cover many possible states, or privacy weakens because proofs reveal which state was actually accessed.</p><p>Some designs mitigate this tension, but none remove it without cost. For most mainstream blockchain use cases, “maximum privacy by default” is therefore not a realistic goal.</p><h4>Why Maximalism Backfires</h4><p>When read-privacy mechanisms are too slow, too expensive, or too complex:</p><ul><li>Developers avoid integrating them</li><li>Products disable them by default for performance reasons</li><li>Users fall back on trusted gateways without privacy for convenience</li></ul><blockquote>The result is a <strong>paradox</strong>: strong privacy exists in theory, yet most real-world interactions remain highly observable.</blockquote><p><strong>Pragmatic Adaptive Privacy </strong>starts from this observation. Instead of treating maximal privacy as a baseline, it treats strong techniques as tools to be applied selectively, with their cost justified by the associated risk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ISTjAISNTS-dZAaPxFqy5A.png" /></figure><h3>Pragmatic Adaptive Privacy (PAP)</h3><p><strong>Pragmatic Adaptive Privacy</strong> addresses the core failure of both privacy maximalism and privacy minimalism. Instead of treating privacy as a binary property, PAP treats it as a <strong>design parameter</strong> that can be adjusted per action.</p><p>The central observation is straightforward: not all reads carry the same risk, nor do they justify the same cost. Applying a single privacy level across all contexts either wastes resources or leaves critical interactions exposed.</p><p>PAP therefore applies privacy <strong>on a per-read basis</strong>, based on context, intent, and cost. PAP treats privacy as an engineering decision under constraints, not as an ideological goal.</p><h4>Pragmatism as a Design Pattern</h4><p>In PAP, pragmatism is not a compromise. It is a design pattern.</p><p>Pragmatic privacy means deliberately avoiding two extremes. On the one hand, PAP avoids applying more privacy than is justified for a given read. Overprotecting routine operations wastes resources and degrades usability. On the other hand, PAP also avoids treating maximal techniques as the only meaningful form of privacy.</p><p>Instead, PAP explicitly employs <strong>intermediate techniques</strong>, particularly in the C1-C2 range. These techniques do not aim for perfect indistinguishability, as approaches like PIR or ORAM do. Rather, they aim to reduce semantic leakage to a level sufficient for the specific risk at hand.</p><p>This includes methods such as abstraction, aggregation, batching, partial disclosure, or deliberately limiting semantic resolution. While these approaches provide less theoretical privacy than maximal constructions, they often deliver a far better cost–benefit ratio in real systems.</p><p>The same pragmatic reasoning applies to transport-level protections across T1 and T2.</p><p>Crucially, this form of pragmatism is intentional. It acknowledges that privacy is not a binary property, but a spectrum, and that meaningful protection can be achieved without pushing every read to the most expensive extreme.</p><h4>Resource Awareness on the Client Side</h4><p>Privacy is not only costly at the protocol level. It also consumes resources on the client side.</p><p>Wallets, browsers, mobile apps, bots, and IoT devices operate under strict constraints:</p><ul><li>limited CPU and memory</li><li>limited bandwidth</li><li>battery and energy constraints</li><li>latency-sensitive user interfaces</li></ul><p>PAP explicitly accounts for these constraints. Privacy mechanisms that significantly increase client-side resource usage impose real costs, even if no explicit fee is paid. These costs must be justified by the sensitivity of the read operation.</p><p>Strong privacy that renders applications slow, unstable, or unusable is self-defeating.</p><h4>PAP as a Framework, Not a Feature</h4><p>PAP is not a single mechanism or protocol. It is a framework for reasoning about read privacy choices.</p><p>However, a framework alone is not enough. In practice, applications are reluctant to integrate complex privacy logic directly. Every additional privacy mechanism increases code complexity, maintenance effort, and the risk of subtle bugs. Supporting multiple techniques often leads to fragmented implementations and duplicated logic across wallets and dApps.</p><p>This is where the <strong>Privacy Abstraction Layer (PAL)</strong> becomes critical.</p><h4>The Privacy Abstraction Layer (PAL)</h4><p>The Privacy Abstraction Layer shifts privacy complexity from application code to a dedicated protocol layer.</p><p>From the perspective of a wallet or dApp, reads look the same as they always have. The application issues standard read requests without embedding privacy-specific logic or cryptographic machinery.</p><p>PAL sits below the application and translates these reads into concrete PAP strategies based on context:</p><ul><li>evaluating the required position in the T × C space</li><li>selecting appropriate transport and content mechanisms</li><li>enforcing trustless verification guarantees</li></ul><p>This separation has important consequences:</p><ul><li>Applications remain simple and maintainable</li><li>Privacy techniques can evolve independently of application logic</li><li>Multiple privacy strategies can coexist without fragmenting the ecosystem</li></ul><p>PAL does not hide trade-offs. It makes them explicit and enforceable at the protocol level, while allowing applications to benefit from adaptive privacy without becoming privacy experts themselves.</p><blockquote>What matters is not the specific mechanism used, but that privacy decisions are applied <strong>consistently, transparently, and where appropriate</strong>.</blockquote><p>Without a Privacy Abstraction Layer, PAP remains simply a theory. With it, privacy becomes deployable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TIq9EWDm-i0ttJibiNQtJw.png" /></figure><h3>From PAP to Adoption: Colibri as a Privacy Abstraction Layer</h3><p>The limiting factor for read privacy in Web3 is not cryptography, but deployability. Applications are constrained by performance, resources, maintenance effort, and developer capacity. Any privacy approach that significantly complicates application code or imposes heavy overhead will fail to reach mainstream usage.</p><p>PAP becomes actionable only when paired with an architecture that makes pragmatic privacy easy to adopt.</p><h4>Adoption Requires Pragmatic Privacy</h4><p>In practice, the largest privacy gains can be achieved without aiming for maximal constructions. Instead, PAP focuses on making <strong>moderate but effective privacy levels</strong> widely available.</p><p>Concretely, this means prioritizing:</p><ul><li><strong>T1 and T2 transport methods</strong>, which reduce linkability and long-term correlation without excessive latency or infrastructure cost</li><li><strong>C1 content methods</strong>, which limit semantic and intent leakage through abstraction, aggregation, batching, or reduced resolution</li></ul><p>These approaches do not provide perfect indistinguishability, but they deliver substantial privacy improvements at a fraction of the cost of maximal techniques. This makes them suitable as defaults for real-world applications.</p><p>Concretely, these levels can be realized in different ways. The following mechanisms are illustrative examples rather than an exhaustive list:</p><ul><li><strong>T1</strong> can be achieved by distributing read requests across multiple RPC endpoints. Queries that would otherwise reveal identity or intent when correlated are deliberately distributed across providers, reducing linkability without imposing significant transport overhead.</li><li><strong>T2</strong> builds on this by decoupling transport entirely, for example, by routing requests through anonymity networks such as Tor. This makes long-term attribution significantly more difficult, at the expense of increased latency.</li><li><strong>C1</strong> is achieved by restructuring reads so that applications fetch a broader set of data than strictly required. The larger data package is verified using proofs, while the PAL extracts only the relevant information locally. This reduces semantic and intent leakage without resorting to maximal techniques like PIR.</li></ul><p>These mechanisms are intentionally composable. They form a modular toolbox that can be combined per read operation. Different calls may employ different combinations of transport paths and content strategies, allowing privacy to be selectively strengthened across requests without imposing a single global mode.</p><h4>The Role of the Privacy Abstraction Layer (PAL)</h4><p>The Privacy Abstraction Layer ensures that these pragmatic privacy methods are available without burdening application developers.</p><p>Applications issue standard read requests. PAL applies the PAP policies below to the interface, selecting appropriate T1/T2 and C1 mechanisms and enforcing trustless verification guarantees.</p><p>By concentrating privacy logic at the protocol level, PAL enables:</p><ul><li>consistent privacy behavior across applications</li><li>evolution of privacy techniques without application changes</li><li>resource-aware execution for mobile, web, and IoT environments</li></ul><h4>Colibri.stateless as an Enabler</h4><p><strong>Colibri.stateless</strong> realizes PAP and PAL as a stateless, verifiable read-access layer for Ethereum and compatible chains.</p><p>Rather than optimizing for maximal privacy, <strong>colibri.stateless</strong> focuses on making <strong>pragmatic, low-overhead privacy</strong> accessible by default. By emphasizing T1, T2, and C1 techniques, it opens meaningful privacy protections to a wide class of applications that would otherwise rely on fully observable RPC access.</p><blockquote><strong>Colibri</strong> does not require applications to change how they think about reads. It changes how reads are executed.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nfOH9bHdQEtBpwdAH_Jg_A.png" /></figure><h3>Conclusion</h3><p>Web3 has working privacy technologies. Privacy coins, shielded protocols, and specialized systems demonstrate that strong privacy is achievable. What Web3 lacks, however, is <em>general, default privacy</em> across everyday interactions.</p><p>In fact, most privacy leaks do not occur during transaction broadcasting. They occur earlier, during reads. Balance checks, state queries, and preparatory calls leak intent and metadata well before a transaction is created.</p><p>This problem is based on how Web3 is actually used. If every application and every user operated their own full node, most read privacy issues would disappear. In reality, this is not the case. The vast majority of applications rely on RPC services to access blockchain state. These services simplify access and lower barriers to entry, but they also centralize read traffic and expose metadata that enables correlation, profiling, and intent inference.</p><p>There is a growing body of research and practical work on strong read-privacy techniques, including approaches that are well studied in theory and successfully deployed in non-blockchain systems. But when applied indiscriminately, they often become prohibitively expensive, introduce significant latency, or conflict with the requirements of trustless verification.</p><blockquote>Privacy maximalism does not fail cryptographically — it fails operationally.</blockquote><p><strong>Pragmatic Adaptive Privacy</strong> reframes the problem. Privacy is not a binary switch or a moral absolute. It is a design parameter that must be chosen deliberately, if needed per read, under explicit constraints. Trustlessness is non-negotiable. Resources matter. Usability matters. Above all, privacy must deliver tangible, real-world benefits rather than theoretical guarantees alone.</p><p>By separating transport privacy from content privacy, and by treating both as composable dimensions, PAP makes privacy actionable. Moderate techniques — such as correlation-resistant transport, selective decoupling, and semantic reduction — unlock substantial privacy gains with manageable overhead. When combined through a <strong>Privacy Abstraction Layer</strong>, these techniques become scalable.</p><blockquote>The path to private Web3 is not paved by ever-stronger primitives alone. It is paved by architectures that make the <strong><em>right</em></strong><em> </em>privacy easy to apply, and the <strong><em>wrong</em></strong> privacy hard to justify.</blockquote><p>Privacy that is never used protects no one. Privacy that is usable, adaptive, and verifiable changes the system.</p><h4>Outlook</h4><p>The long-term objective is clear: <strong>trustless and private reads must become the default</strong>.</p><blockquote>Reading blockchain state should not be treated as a second-class operation. It must be verifiable and privacy-aware by design, even though it is not a transaction. Applications should be able to assume that reads are correct, minimally observable, and resource-efficient by default — without embedding privacy logic or specialized cryptography.</blockquote><p>This does not require maximal privacy everywhere. It requires standardization around pragmatic, composable approaches that scale across wallets, dApps, mobile clients, and constrained devices. PAP provides the decision framework for choosing appropriate privacy levels. PAL provides the architectural layer that makes those decisions enforceable.</p><p>As these patterns mature, private reads will no longer be marketed as advanced features. They will become infrastructure — expected, invisible, and relied upon.</p><p>If Web3 is to support real-world usage at scale, trustless and private reads must move from theory to default practice. PAP and PAL outline a path to get there: incrementally, pragmatically, and without sacrificing verification or usability.</p><h3>Discussion and Next Steps</h3><p>This paper is a proposal — not a final answer. Pragmatic Adaptive Privacy is intended as a framework for discussion, refinement, and implementation.</p><p>If you are building wallets, infrastructure, L2 systems, AI agents, or IoT integrations, we invite you to engage with the ideas behind PAP and the T×C model. Read privacy remains an underexplored layer of Web3 architecture, and meaningful progress requires open technical debate.</p><p>You can follow and reach us here:</p><ul><li>X: <a href="https://x.com/corpuscorehq">https://x.com/<strong>corpuscorehq</strong></a></li><li>Telegram: <a href="https://te.me/corpuscore">https://t.me/<strong>corpuscore</strong></a></li><li>Website: <a href="https://corpuscore.tech/">https://corpuscore.tech</a></li><li>GitHub: <a href="https://github.com/corpus-core">https://github.com/corpus-core</a></li></ul><p>For a deeper technical context, see:</p><ul><li>Whitepaper: <a href="http://whitepaper.colibri-stateless.tech/">http://whitepaper.colibri-stateless.tech</a></li><li>Specification: <a href="http://specification.colibri-stateless.tech/">http://specification.colibri-stateless.tech</a></li></ul><p>We welcome critical feedback, architectural discussion, and collaboration.</p><p>If Web3 is to move toward trustless and private reads as a standard, this conversation needs to happen openly — and with engineers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c6f6080cb1a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/corpus-core-insights/pragmatic-adaptive-privacy-pap-5c6f6080cb1a">Pragmatic Adaptive Privacy (PAP)</a> was originally published in <a href="https://medium.com/corpus-core-insights">Corpus.Core Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[colibri.stateless Production Release]]></title>
            <link>https://medium.com/corpus-core-insights/colibri-stateless-production-release-8d5a88c116d1?source=rss-2b84d96491a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d5a88c116d1</guid>
            <category><![CDATA[production-ready]]></category>
            <category><![CDATA[stateless]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[trustless]]></category>
            <dc:creator><![CDATA[Steffen Kux]]></dc:creator>
            <pubDate>Wed, 19 Nov 2025 12:34:59 GMT</pubDate>
            <atom:updated>2025-11-19T12:44:32.944Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zqznGLP-3JHzpE4Xaz5Zxw.png" /></figure><blockquote>The first fully stateless client for Ethereum and other Blockchains is released as production-ready. With a footprint of about 200kB, it is by far the smallest Ethereum client, able to fully verify all information locally without any trust assumptions.</blockquote><h3>TL;DR</h3><p><em>Colibri.stateless brings trustless blockchain data to applications without running a full node. It verifies all data using consensus and execution proofs, eliminating reliance on RPC trust. <br>The production release supports Ethereum, with Gnosis, Optimism, and Base available as MVPs. The client works across mobile, web, and embedded environments and includes a verifier, a prover service, provider mode, bindings, a CLI, and documentation. It enables applications, wallets, agents, and IoT systems to use verified blockchain data in real time.</em></p><h3>Context: Data Access in dApps</h3><p>Applications in Web3 depend on blockchain data for every interaction. They read balances, contract state, storage values, logs, and execution results to drive their logic. This data flow defines how the application behaves and determines every on-chain action.</p><p><strong>Most environments do not run full nodes. </strong>For now, it is common to rely on remote RPC endpoints for all reads, because devices and applications operate without local chain state. Wallets, DeFi platforms, and other application layers depend on the correctness of these responses. All of them need local validation to ensure that the received data reflects the actual chain state.</p><p>When a remote endpoint delivers altered or incomplete information, the application cannot detect it. This affects regular interfaces, contract dashboards, automated systems, and signature flows.</p><p>For autonomous agents and IoT systems, this issue is even more critical. These systems act on data without human review. Without verifiable data, the entire workflow depends on trust assumptions.</p><p>This gap motivated the development of stateless verification and the design of the first and smallest Ethereum Stateless Client, <strong>colibri.stateless</strong>.</p><h3>Stateless Clients</h3><p>A stateless client verifies blockchain data without keeping a local copy of the chain. Instead of syncing blocks or storing historical state, the client requests proofs for the data it has fetched. These proofs contain the information required to validate the consensus and state.</p><p><strong>Consensus proofs </strong>enable the client to verify that the active sync committee signs a block and that the block is part of the canonical blockchain. This can be achieved through a chain of proofs for correct validator committee transitions, or it can be effectively summarized in a zero-knowledge proof.</p><p><strong>Execution proofs </strong>provide Merkle proofs for account data, storage entries, and other execution-layer values. The client verifies these proofs locally and confirms that the data originates from a valid block.</p><p>With both proofs, a stateless client achieves the trust level of a full node or light client for the requested data, without holding chain state, performing full execution, or even syncing block headers or light client updates.</p><p>This creates a verifiable data path for applications on mobile devices, browsers, and embedded systems.</p><h3>Need for Trustless Data</h3><p>Blockchain execution is trustless, but the data paths of most applications are not. When an application receives data from an RPC endpoint, the information arrives without local validation.</p><p>This creates a single point of failure. If the endpoint provides altered balances, wrong contract state, or misleading execution data, the application cannot detect the discrepancy.</p><p>The impact grows when systems act autonomously. IoT devices, agents, and automated workflows rely on input data to trigger actions. Without verifiable data, these systems have no reliable foundation.</p><p>Trustless data access removes this dependency. Local verification ensures that all information used by the application matches the current state of the chain.</p><p>The direction aligns perfectly with the ideas in the <a href="https://trustlessness.eth.limo/general/2025/11/11/the-trustless-manifesto.html">Trustless Manifesto</a>. The document is backed by the <a href="http://ethereum.org/">Ethereum Foundation</a> and contributors, including Vitalik Buterin, and promotes direct verification as the basis for secure interaction with blockchains. Join this movement by <a href="https://trustlessness.eth.limo/general/2025/11/11/the-trustless-manifesto.html">signing the manifesto</a>, too.</p><h3>Overview colibri.stateless</h3><p><strong>Colibri.stateless</strong> verifies blockchain data using proofs rather than relying on remote endpoints. The client validates consensus information via sync-committee signatures and verifies execution data via Merkle proofs, as described above.</p><p>The system uses a modular architecture. The verifier always runs locally and checks all proofs. Proofs can be created locally or provided by a trustless proof provider. Such a proof service provides proofs on demand and improves performance by offloading proof generation without introducing new trust, since the verifier checks every proof locally.</p><p>The client has a tiny footprint and does not store chain state nor synchronize any block information. It works in mobile devices, browsers, and embedded systems as well. The design fits environments with limited bandwidth, limited memory, and intermittent connectivity.</p><p>Bindings to C/C++, JavaScript/TypeScript (WASM), Python, Kotlin/Java, Swift, and more are in development and will be released soon, and APIs allow integration with various application stacks. The client can provide verified data to wallets, dApps, agents, IoT devices, and any system that needs reliable chain information.</p><h3>Release Contents</h3><p>The production release of <strong>colibri.stateless</strong> delivers a complete verification stack for consensus and execution data. The release includes:</p><ul><li>Ethereum support in production. <br>Additional L1 and L2 networks, such as Gnosis and Optimism, are available as MVP implementations but not yet released for production.</li><li>Verification performed through a combination of consensus proofs and execution proofs.</li><li>A local prover and a prover service that generate proofs for headers, accounts, storage entries, and other chain data.</li><li>A provider mode that applications and wallets can use as a replacement for trusted RPC endpoints.</li><li>Bindings for multiple languages and environments.</li><li>A CLI for creating and verifying proofs during development and testing.</li><li>Documentation covering architecture, specification, and integration steps.</li><li>Build tools for desktop, mobile, and embedded targets.</li></ul><h3>Usage and Participation</h3><p><strong>Colibri.stateless</strong> can serve as a verification layer in applications, wallets, AI Agents, IoT devices, and services. The client replaces trusted RPC calls with locally verified data. The workflow stays the same, but every data point is checked through proofs.</p><p>Developers can install the client, run the prover service, or connect to an external prover. The verifier checks every proof, so the setup introduces no new trust. (see <a href="https://corpus-core.gitbook.io/specification-colibri-stateless/developer-guide/">developer guide</a>)</p><p>The <a href="http://repository.colibri-stateless.tech/">repository</a> is open. Contributions are welcome in proof generation, verifier logic, performance improvements, new bindings, and support for additional chains.</p><p>Projects can integrate <strong>colibri.stateless</strong> to ensure that all reads from the chain are verified before use.</p><h3>Next Steps</h3><p>Further development focuses on broader chain support, more efficient proof systems, and deeper integration into constrained environments. Upcoming work includes:</p><ul><li>Support for additional EVM chains.</li><li>Optimized consensus proofs and recursive proof aggregation.</li><li>Integration solutions for IoT systems with intermittent connectivity.</li><li>API extensions for autonomous agents and automated workflows.</li></ul><p>These steps expand the use cases of <strong>colibri.stateless </strong>and extend the reach of verifiable blockchain data.</p><p><em>For more information about </em><a href="https://corpuscore.tech/"><strong><em>colibri.stateless</em></strong></a><em>, and how to use it or to contribute, visit our </em><a href="https://corpuscore.tech/"><em>website</em></a><em> or follow us on social media (</em><a href="https://x.com/corpuscorehq"><em>x</em></a><em>, </em><a href="https://t.me/corpuscore"><em>telegram</em></a><em>, </em><a href="https://www.linkedin.com/company/corpus-core"><em>LinkedIn</em></a><em>).</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d5a88c116d1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/corpus-core-insights/colibri-stateless-production-release-8d5a88c116d1">colibri.stateless Production Release</a> was originally published in <a href="https://medium.com/corpus-core-insights">Corpus.Core Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why JavaScript is the Worst Choice for Web3 Applications]]></title>
            <link>https://medium.com/corpus-core-insights/why-javascript-is-the-worst-choice-for-web3-applications-4ce941463142?source=rss-2b84d96491a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ce941463142</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Steffen Kux]]></dc:creator>
            <pubDate>Mon, 29 Sep 2025 10:43:13 GMT</pubDate>
            <atom:updated>2025-09-29T13:06:38.445Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OI1CNg26C91rMigJrqvQzw.jpeg" /></figure><h3><strong>TL;DR</strong></h3><p>JavaScript was never designed for mission-critical or trustless systems, yet much of Web3 relies on it. Its inherent features — dynamic code execution, mutable global state, sprawling dependency chains — create systemic vulnerabilities that make supply chain attacks almost inevitable. In Web2, these risks mostly led to downtime or data leaks; in Web3, they directly cause asset theft with no recourse. Web3 requires a paradigm shift, characterized by minimal dependencies, deterministic runtimes (such as Rust/WASM), and verifiable stateless-clients to validate all data and interactions. Convenience can never outweigh security. <strong>Don’t trust. Verify. Always. Everything.</strong></p><h3><strong>Introduction</strong></h3><p>I spent nearly 20 years in the automotive industry, developing a range of software applications. In this field, any software deployed in vehicles must meet extremely high safety requirements, and the standards become even stricter when it touches safety-critical components. The same rigor applies in the banking sector, and in critical infrastructure software — for example, the control systems of nuclear power plants — which are subject to equally strict or even stricter regulations.</p><p>Would it ever be acceptable to use, in a critical control system such as automotive braking or nuclear reactor safety monitoring, a language that is insecure by design — where updating a simple user interface function could enable injected malicious code to compromise an entirely different part of the system, relying on a long chain of dependencies — each with their own dependencies — that can be modified at any time by other developers?</p><p>Now consider Web3. Applications here directly handle financial assets. In many cases, they safeguard substantial value — for example, multisig wallets managing a startup’s treasury, decentralized exchanges processing millions of Euros in daily trading volume, or lending protocols securing billions of Euros in collateral. And yet, despite these high stakes, much of Web3 is built on JavaScript: a language originally designed for quick browser scripting, not for secure, mission-critical systems. This reliance on JavaScript is a fundamental design flaw — one that makes Web3 applications dangerously vulnerable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o2awOdom4rzbkvg-U7JocA.png" /></figure><h3><strong>How Security-Critical Software Is Developed</strong></h3><p>Developing security-critical software requires an entirely different mindset and discipline compared to general-purpose application development. The goal is not just functionality, but provable safety and reliability.</p><ul><li><strong>Strict QA and Process Requirements</strong>: Every change must undergo rigorous testing, peer review, and often external audits.</li><li><strong>Minimal and Fully Verified Dependencies</strong>: External libraries are used sparingly, and only when they can be thoroughly tested and verified to be safe.</li><li><strong>Restricted Connectivity</strong>: In many cases, systems are isolated or operate under controlled environments to minimize the attack surface.</li><li><strong>No Dynamic Code Execution</strong>: Techniques like eval or runtime code generation are considered unacceptable, as they open the door to unpredictable behavior.</li><li><strong>No Runtime Overwriting of Core Logic</strong>: Self-modifying code or monkey-patching is strictly forbidden, since it undermines system integrity.</li><li><strong>Adherence to Standards</strong>: Industries follow strict standards such as ISO 26262 (automotive), DO-178C (aerospace), IEC 61508 (functional safety), or PCI DSS (banking).</li><li><strong>Formal Verification and Fault Tolerance</strong>: In many cases, mathematical methods are employed to prove correctness, and systems are designed to fail safely in the event of errors.</li><li><strong>Strict Change Management</strong>: Every modification must be traceable and documented to ensure accountability and maintain system integrity.</li><li><strong>Long-Term Maintainability</strong>: Security-critical software is often maintained for decades, making minimal dependencies and conservative updates essential.</li></ul><p>This is the standard in industries such as banking, critical infrastructure, and control software for automotive and aerospace systems, where a single flaw can have catastrophic consequences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G73yDBsInNJN7unG7FDApw.png" /></figure><h3><strong>Why JavaScript Became Popular</strong></h3><p>When JavaScript was first introduced, it was never meant to power mission-critical applications. Its original purpose was to enable simple interactivity in web browsers — validating forms, creating small animations, or enhancing the user experience without requiring a page reload. This lightweight, flexible design made it easy to adopt quickly.</p><p>As the internet grew, so did the role of JavaScript. With the rise of Node.js, developers could use the same language on both the frontend and backend, creating a unified development stack. The NPM package ecosystem exploded, offering millions of ready-to-use modules. For Web2, this was a considerable advantage: developers could move fast, ship features quickly, and rely on a vast open-source community.</p><p>Speed and flexibility were the main drivers of JavaScript’s popularity. In traditional web applications, the cost of a bug was often limited to broken functionality or poor user experience. In that context, the trade-off between safety and convenience seemed acceptable.</p><p>Despite its weaknesses, some arguments are often made in favor of JavaScript for Web3 applications, including its wide popularity and strong community support, fast iteration cycles, an established Node.js/NPM ecosystem, ongoing efforts to improve security practices, and a low entry barrier due to developer familiarity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vkjyAQfZBybKEFl3yfJ6Mw.png" /></figure><h3><strong>The Inherent Risks of JavaScript (Design Problems)</strong></h3><p>JavaScript’s design decisions, while enabling fast adoption and flexibility, introduce significant risks when the language is used in financial or trustless contexts, such as Web3. These are not implementation flaws — they are characteristics of the language itself.</p><ul><li><strong>Dynamic Code Execution</strong>: Functions like eval or new Function allow arbitrary code to run at runtime. This makes it trivial for attackers to inject and execute malicious logic.</li><li><strong>Lack of Static Typing</strong>: Without compile-time checks, incorrect or malicious calldata can flow through applications unnoticed. A single wrong parameter can redirect funds.</li><li><strong>Transitive Dependencies</strong>: Applications often rely on hundreds of NPM packages, each with its own dependencies. A compromise in any link of this chain can infect the entire project.</li><li><strong>Overwritable Globals</strong>: Core objects, such as <strong>window.ethereum</strong> or <strong>fetch</strong>, can be monkey-patched, allowing attackers to intercept API calls or alter transaction data.</li><li><strong>Prototype Pollution</strong>: Attackers can modify JavaScript prototypes globally, hijacking logic across unrelated parts of the application.</li><li><strong>No Sandboxing for Packages</strong>: Installed modules run with full access to the filesystem, network, and environment variables. Secrets, such as API keys or private data, can be exfiltrated.</li><li><strong>Environment Access</strong>: NPM packages can directly read process variables, RPC credentials, and even wallet secrets.</li><li><strong>No Verification of RPC or Blockchain Data</strong>: DApps typically trust RPC responses blindly. Fake balances, token metadata, or calldata can be displayed and then signed without verification.</li></ul><p>In Web2, these risks often lead to downtime or data leaks. In Web3, they result in drained wallets and irreversible loss of assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Glt8vbSCB6gxxkJ_mJGBMg.png" /></figure><h3><strong>Real-World Example: Supply Chain Attacks</strong></h3><p>Supply chain attacks have become one of the most dangerous threats in the Web3 ecosystem. The reason is simple: modern JavaScript development relies heavily on external dependencies. A single compromised library can cascade into thousands of applications.</p><p>One striking example occurred in September 2025, when several popular NPM packages — including <strong>chalk</strong> and <strong>debug, </strong>and more than 15 others — were compromised after an attacker gained access to a maintainer’s account. Malicious code was inserted and distributed through the standard NPM update process. Any application that pulled in the new versions automatically received the backdoor.</p><blockquote><strong>Important to note: </strong>none of these dependencies were web3, cryptography, or similar libraries.</blockquote><p>The injected code hooked into core browser and provider APIs such as <strong>fetch</strong>, <strong>XMLHttpRequest</strong>, and even <strong>window.ethereum.request</strong>. This allowed the attacker to intercept transaction data, replace recipient addresses, and manipulate calldata just before the transaction was signed. To the user, everything looked normal: the UI displayed the intended transaction, but the signed transaction was silently redirected to attacker-controlled wallets.</p><p>The attack was multi-chain in scope, targeting Ethereum, Solana, Bitcoin, Tron, and others by swapping addresses across different formats. The malicious logic even recognized specific function signatures such as ERC20 transfer or DEX interactions, ensuring maximum impact.</p><p>This case illustrates the systemic weakness of JavaScript-based Web3 development: by trusting a vast and mutable dependency tree, applications expose themselves to catastrophic compromise with no warning. A single compromised dependency is enough to drain funds at scale. What makes this even worse is that JavaScript’s own design choices — dynamic code execution, the ability to overwrite core logic at runtime, and unrestricted dependency chains — actively enable and amplify these kinds of attacks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b0b85GgnUpIp_Q7b7iBNuA.png" /></figure><h3><strong>Why This Was “Okay” in Web2 but Fatal in Web3</strong></h3><p>In the Web2 world, the consequences of JavaScript’s weaknesses were often limited. A compromised dependency or a runtime error might lead to broken functionality, data leaks, or service downtime. These issues were serious, but they were usually reversible: patches could be deployed, systems could be rolled back, and users rarely lost direct control of their money as a result.</p><p>The critical difference lies in where business logic is executed. In Web2, core logic typically runs on secure backend servers or cloud infrastructure. Even if the user interface is compromised, the backend still enforces critical rules, limiting the damage.</p><p>In Web3, much of the application logic runs locally on the client. This removes dependence on intermediaries, but it also means that security-critical logic operates in the same environment as the UI. When JavaScript is used, injected or malicious code, that is used in the UI, can directly influence transaction flow and application logic. This collapse of boundaries makes Web3 uniquely vulnerable because security logic and UI code share the same runtime environment.</p><p>Furthermore, the trustless nature of blockchain applications requires that every component be verifiable. Opaque dependency chains, dynamic code, or mutable global state are incompatible with this principle. The very properties that made JavaScript convenient in Web2 directly undermine the foundations of security and verifiability in Web3.</p><p>In Web2, backend systems are usually hardened with sandboxing, containerization, and patch management. In Web3, dApps often execute directly in the browser, relying on JavaScript from CDNs or NPM dependencies. This code runs in the same context as wallet interactions, without a trusted backend layer in between. As a result, compromising only the client can be enough to steal funds — an especially critical risk in immutable blockchain systems where rollback is impossible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ojDJToODs0u-WWimtehCXg.png" /></figure><h3><strong>What Web3 Actually Needs</strong></h3><p>If JavaScript is ill-suited for Web3, what would a secure foundation look like? Building applications that manage real value requires languages, frameworks, and architectures designed with safety and verifiability at their core.</p><ul><li><strong>Deterministic, Minimal Runtimes</strong>: Web3 applications should run in environments that minimize the attack surface. Technologies like Rust or WebAssembly (WASM) provide deterministic execution and strong memory safety guarantees.</li><li><strong>Verifiable Clients</strong>: Instead of blindly trusting RPC endpoints, applications must verify blockchain data locally to ensure integrity. Stateless stateless-clients, such as <a href="https://corpuscore.tech/"><strong>colibri.stateless</strong></a>, enable applications to request proofs and validate results without relying on intermediaries.</li><li><strong>Proof-Based Systems</strong>: Security in Web3 should be based on cryptographic proofs rather than trust in infrastructure or package maintainers. Zero-knowledge proofs and Merkle proofs can guarantee the integrity of the state and transactions.</li><li><strong>Auditable and Transparent Code</strong>: Dependencies should be minimal, thoroughly reviewed, and ideally formally verified. Every component that touches transaction flow must be open to inspection and testing.</li><li><strong>Isolation of Critical Logic</strong>: Security-critical code must be separated from UI logic to ensure security. The same process should never handle both rendering animations and preparing transaction calldata.</li></ul><p>By moving towards verifiable execution, minimal dependencies, and cryptographic assurance, Web3 can align its technical foundations with the trustless principles it aspires to uphold. Convenience arguments such as “because it’s easier,” “because others do it this way,” or “because users expect it” must never dictate choices of development environment, programming language, libraries, or dependencies. Web3 software is, in most cases, high-security software, and architectural decisions must prioritize security above all else.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2ATAEGl9eT_QdmEYKfrVDQ.png" /></figure><h3><strong>Conclusion</strong></h3><p>JavaScript, by design, is one of the worst languages for building security-critical applications. Its features — dynamic code execution, mutable global state, and sprawling dependency chains — make it fundamentally unsuitable for environments where integrity and trustlessness are essential. Web3 must urgently rethink this foundation.</p><p>If JavaScript continues to be used, strict rules must apply: dependencies must be kept to an absolute minimum, and every single one must be thoroughly reviewed and vetted. Automatic updates are unacceptable, since they open the door to supply chain compromise. Critical components should be implemented in WebAssembly (WASM) with zero external dependencies, ensuring deterministic execution and a minimal attack surface.</p><p>Equally important is the principle that <strong>all information must be verified and accurate</strong>. Data from external providers, such as RPC endpoints, cannot be trusted blindly. Internal workflows, such as signing operations with a wallet app, must also be subject to validation. Even internal modules must not assume trust among themselves. The rule is simple and absolute:</p><blockquote><strong>Don’t trust. Verify! Always. Everything.</strong></blockquote><p>Stateless-clients, such as <a href="https://corpuscore.tech/"><strong>colibri.stateless</strong></a> or modern light-clients like <a href="https://helios.a16zcrypto.com/">Helios</a> represent the next stage of Web3 application development. They not only verify blockchain data independently but can also simulate and validate interactions before they are signed. By integrating such clients, applications can achieve true self-sovereignty and eliminate hidden trust assumptions that otherwise exist in today’s JavaScript-centric ecosystems.</p><p>Ultimately, the use of JavaScript in dApps must be fundamentally questioned. As Web3 applications move toward mainstream adoption with growing user bases, security must become the highest priority. In Web2, we traded convenience for a loss of privacy; in Web3, we must not repeat a similar mistake by sacrificing security for the sake of convenience.</p><p>While some arguments in favor of JavaScript — such as its popularity, developer familiarity, and ecosystem support — are understandable, they cannot outweigh the fundamental security risks that it poses. In Web3, where real value and trustless execution are at stake, convenience must never take precedence over robust security foundations.</p><p><em>For more information about </em><a href="https://corpuscore.tech/"><strong><em>colibri.stateless</em></strong></a><em>, and how to use it or to contribute, visit our </em><a href="https://corpuscore.tech/"><em>website</em></a><em> or follow us on social media (</em><a href="https://x.com/corpuscorehq"><em>x</em></a><em>, </em><a href="https://t.me/corpuscore"><em>telegram</em></a><em>, </em><a href="https://www.linkedin.com/company/corpus-core"><em>LinkedIn</em></a><em>).</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qykrou-DqYndkIp5R27zxg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ce941463142" width="1" height="1" alt=""><hr><p><a href="https://medium.com/corpus-core-insights/why-javascript-is-the-worst-choice-for-web3-applications-4ce941463142">Why JavaScript is the Worst Choice for Web3 Applications</a> was originally published in <a href="https://medium.com/corpus-core-insights">Corpus.Core Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Layer-2 Solutions and Their Clients (4 of 9)]]></title>
            <link>https://medium.com/corpus-core-insights/layer-2-solutions-and-their-clients-4-of-9-683665534e96?source=rss-2b84d96491a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/683665534e96</guid>
            <category><![CDATA[blockchain-client]]></category>
            <category><![CDATA[layer-2]]></category>
            <category><![CDATA[stateless]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[trustless]]></category>
            <dc:creator><![CDATA[Steffen Kux]]></dc:creator>
            <pubDate>Wed, 06 Aug 2025 13:37:49 GMT</pubDate>
            <atom:updated>2026-01-23T13:16:02.780Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Target audience: Intermediate, Expert</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iEdaiGhd8jW5wuN366yuug.png" /></figure><h3><strong>TL;DR</strong></h3><ul><li>Rollups enhance scalability by offloading execution from Layer-1 (e.g., Ethereum), but require additional mechanisms for verifiable client interaction.</li><li>Stateless clients extend trustless verification across both layers.</li><li>Verifiability is delayed until rollup outputs are finalized and anchored on Layer-1, especially in optimistic systems with long challenge periods.</li><li>The <strong>colibri.stateless</strong> client implements a minimal trustless architecture to validate L1 and L2 data without persistent state or trusted RPCs.</li></ul><h3>1. Introduction</h3><p>Layer-2 (L2) solutions are protocols built on top of base-layer blockchains (Layer-1) to increase scalability, reduce transaction costs, and improve user experience. They aim to offload computational and storage burden from the main chain while preserving the underlying security guarantees. Prominent examples include Optimistic Rollups (e.g., Optimism, Arbitrum) and ZK Rollups (e.g., zkSync, StarkNet), which bundle many transactions off-chain and periodically submit state updates to Layer-1.</p><p>The motivation for L2s is rooted in Ethereum’s scalability trilemma: achieving scalability, security, and decentralization simultaneously remains challenging. While Layer-1s offer robust security and decentralization, they are often limited in throughput and latency. L2s seek to address these constraints without compromising on trustlessness.</p><p>Rollups process transactions off-chain but rely on the base chain for data availability and dispute resolution. Optimistic Rollups assume correctness by default and allow fraud proofs within a challenge period, while ZK Rollups submit succinct validity proofs (zero-knowledge proofs) that enforce correctness.</p><p>However, introducing L2s raises new challenges in client infrastructure. L2s differ in consensus assumptions, state transition models, proof systems, and data availability strategies. Traditional full or light clients for Layer-1 cannot natively verify L2 data. This creates a gap in verifiability, particularly when applications interact with multiple Layer-2s or require lightweight clients.</p><p>To preserve end-to-end verifiability, new approaches are needed — particularly stateless clients that support both Layer-1 and Layer-2 verification. While research prototypes and projects such as Helios explore parts of this direction, most existing clients still rely on persistent state or RPC trust assumptions. Stateless verification across layers remains an open frontier that requires dedicated tooling, standardized proof interfaces, and lightweight client logic. The <a href="https://corpuscore.tech/">colibri.stateless</a> client aims to address this gap directly. It is designed as a fully trustless, stateless client for EVM-compatible chains (and others in the future), capable of verifying both execution and consensus proofs without storing any blockchain state. While still in active development, it targets precisely the challenges outlined here: supporting multi-layer verification with minimal resource requirements.</p><h3>2. Stateless Verification for Layer-2</h3><p>Verifying Layer-2 data trustlessly requires bridging multiple proof layers. Stateless clients must not only validate Layer-1 consensus and execution but also verify that the Layer-2 state update is valid and originates from a legitimate rollup operator. Legitimacy, in this context, is defined by mechanisms such as the presence of sequencer signatures tied to known keys or the existence of a proof (ZK or fraud-proof) that is anchored and included on Layer-1 via verifiable execution and consensus proofs.</p><p>For ZK Rollups, this involves verifying the ZK proof published to Layer-1, which attests to the correctness of a batch of transactions. A stateless client retrieves the ZK proof, verifies it against the expected verification key, and confirms its inclusion on Layer-1 via an execution proof (with consensus proof).</p><p>For Optimistic Rollups, state transitions are assumed valid unless challenged. Stateless clients must ensure that no valid fraud proof has been submitted within the challenge window before accepting the result. This means the finality of L2 data is inherently delayed compared to ZK systems.</p><p>Importantly, the inclusion of the rollup state update on L1 must also be proven. This is achieved through a standard execution proof that demonstrates the update was included in a canonical Layer-1 block, which is itself verified through consensus.</p><p>Thus, the stateless verification stack consists of:</p><ul><li>Execution and consensus proofs for the Layer-1 block</li><li>Inclusion proof of the rollup state update or proof on Layer-1</li><li>Validation of the ZK proof or challenge window status (depending on rollup type)</li></ul><p>This model extends the trustless paradigm of stateless clients to multi-layer architectures, enabling verification of both base and rollup chains without state storage or synchronization.</p><h3>3. Trustless Access to L2 Data</h3><p>Trustless interaction with L2 systems depends on clients being able to obtain and validate relevant proofs; without access to verifiable data, stateless verification cannot function. Stateless clients rely on execution, consensus, and rollup-specific proofs to establish correctness, making reliable and standardized proof access a core requirement for L2 interoperability. Unlike L1, where standardized Merkle proofs and sync committee attestations exist, L2 ecosystems vary widely in their support for verifiable data.</p><p>Some ZK Rollups publish validity proofs to Layer-1, allowing clients to fetch and verify them. Others publish only partial state or require specialized tooling to reconstruct state transitions. Optimistic Rollups introduce additional latency and complexity due to challenge windows and sequencer assumptions.</p><p>Clients must retrieve:</p><ul><li>Rollup proof or state root update (typically from Layer-1)</li><li>Inclusion proof of the rollup data in a Layer-1 block</li><li>Consensus proof for the Layer-1 block</li></ul><p>Only by combining these elements can a stateless client trustlessly validate L2 outcomes. Inclusion of the rollup proof on Layer-1 must be confirmed via execution and consensus proof, completing the verification chain.</p><p>Rollups that do not publish sufficient data or rely heavily on centralized sequencers — such as those that do not provide Layer-1-anchored proofs or verifiable state commitments — may prevent full trustless access. This creates similar issues to RPC-based architectures, where clients are forced to trust opaque or unverifiable data feeds. Examples include rollups that publish only partial state information or significantly delay data availability, hindering real-time stateless verification.</p><h3>4. Challenges and Open Questions</h3><p>Trustless interaction with Layer-2 systems is possible but introduces new technical and architectural challenges. While stateless clients offer a path toward verifiability, their use with L2s is subject to the maturity and transparency of each rollup system.</p><p>To understand the limits and trade-offs of stateless access to rollups, it’s necessary to examine the open challenges around proof timing, finality, and data availability.</p><h4>Finality and Delayed Verifiability</h4><p>In both ZK and Optimistic Rollups, state changes on L2 become verifiable only after they are anchored on Layer-1. This means that until a ZK proof is submitted or the fraud challenge window expires (in optimistic systems), clients cannot independently verify the new state. Verifiability is inherently delayed, and fresh data is often unverifiable in real-time. For example, Optimistic Rollups typically define a challenge window of 7 days, during which the posted state can be contested. This means that although a transaction may appear finalized from the user’s perspective on the rollup, trustless clients must wait for the window to close before treating the state as final. In practice, this results in a latency of several minutes to days before a state change becomes provably valid on Layer-1, depending on the rollup protocol.</p><p>This stands in contrast to the perceived performance of rollups: although transactions are executed and reflected instantly on L2, trustless verification is only possible with delay. Applications that depend on stateless verification must be aware of this gap and may need to distinguish between “visible” and “provable” states. For instance, a transaction that appears complete on an Optimistic Rollup may still be within its 7-day challenge window, meaning its validity cannot yet be verified by a trustless client. Understanding this distinction is crucial when building systems that rely on real-time verifiability, particularly when data freshness and correctness must be independently confirmed.</p><h4>Data Availability and Sequencer Centralization</h4><p>Many rollups rely on centralized sequencers to order and publish transactions. In some systems, transaction data is only made available on Layer-1 periodically. Until then, state transitions are unverifiable. This introduces temporary opacity and potential risks of censorship.</p><p>Data availability sampling (DAS), validity-proof chains, or Layer-1-based data publication can help mitigate these risks, but they must be supported at the protocol level.</p><h4>Proof Compatibility and Tooling Gaps</h4><p>There is no standard format for rollup proofs, and tooling support varies widely. To ensure robust integration and interoperability, stateless clients must rely on well-defined, standardized interfaces that streamline the fetching, verification, and aggregation of proofs across both Layer-1 and Layer-2 environments. Without this, integration becomes bespoke and brittle.</p><h4>Conclusion</h4><p>Stateless verification is feasible for rollups, but strongly depends on protocol design. Not all rollups currently support the required transparency. Until L2s expose provable state transitions in standardized, accessible formats, stateless verification will remain limited to specific ecosystems.</p><h3>5. Use Cases and Integration</h3><p>Stateless clients for Layer-2 systems are especially useful in environments where trustless interaction and minimal resource usage are essential.</p><h4>Mobile and Web3 Wallets</h4><p>Applications such as non-custodial wallets that wish to interact with multiple L2s benefit from stateless clients. They can verify both L1 and L2 data independently without relying on RPCs or embedding heavy infrastructure.</p><h4>Cross-Layer Bridges and Aggregators</h4><p>Protocols that aggregate liquidity or data across L2s and L1 require verifiable inputs from multiple chains. Stateless verification allows them to validate inputs and coordinate state without running full nodes.</p><h4>IoT and Embedded Applications</h4><p>Devices that interact with rollup-based services (e.g., smart locks checking access lists on zk-rollups) can use stateless clients to confirm the integrity of data they retrieve — even if offline most of the time.</p><h4>AI Agents and Smart Agents</h4><p>Autonomous agents making decisions based on on-chain conditions must not rely on unverifiable state. Stateless verification provides minimal, real-time assurance that an observed state is accurate.</p><h3>6. Summary and Outlook</h3><p>Rollups are a critical component of Ethereum’s scalability roadmap, offering improved throughput and reduced costs without compromising the security of the base layer. But the trust guarantees of rollups are only preserved if the client infrastructure evolves accordingly.</p><p>Stateless clients close the verifiability gap introduced by L2 architectures. They enable end users, applications, and agents to independently validate both Layer-1 and Layer-2 data — without syncing, storing state, or relying on trusted infrastructure.</p><p>The challenges of delayed finality, data availability, and non-standardized proof formats must be addressed. Nonetheless, the trajectory is clear: rollup systems will become more transparent, and proof interfaces will standardize.</p><p>In this environment, stateless clients will play a foundational role. They support the vision of permissionless infrastructure where every application can verify what it sees — regardless of the number of layers, chains, or participants involved. Colibri.stateless exemplifies this approach by providing a minimal yet complete client architecture for proof-based access to blockchain data. Its roadmap includes full support for Ethereum and L2 integrations, establishing a reference implementation for trustless interaction in multi-chain environments.</p><p>Verifiability must scale alongside throughput. Stateless architecture is how we ensure that the multi-layer future of Ethereum remains trustless by design.</p><p>For more information, visit our <a href="https://corpuscore.tech/">website</a> or follow us on social media (<a href="https://x.com/corpuscorehq">x</a>, <a href="https://t.me/corpuscore">telegram</a>, <a href="https://www.linkedin.com/company/corpus-core">LinkedIn</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=683665534e96" width="1" height="1" alt=""><hr><p><a href="https://medium.com/corpus-core-insights/layer-2-solutions-and-their-clients-4-of-9-683665534e96">Layer-2 Solutions and Their Clients (4 of 9)</a> was originally published in <a href="https://medium.com/corpus-core-insights">Corpus.Core Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stateless Light Clients — Enabling Trustless Blockchain Interaction (3 of 9)]]></title>
            <link>https://medium.com/corpus-core-insights/stateless-light-clients-enabling-trustless-blockchain-interaction-3-of-9-934ffd0e050c?source=rss-2b84d96491a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/934ffd0e050c</guid>
            <category><![CDATA[trustless]]></category>
            <category><![CDATA[stateless]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[light-client]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Steffen Kux]]></dc:creator>
            <pubDate>Mon, 12 May 2025 13:56:57 GMT</pubDate>
            <atom:updated>2026-01-23T13:15:48.557Z</atom:updated>
            <content:encoded><![CDATA[<h3>Stateless Light Clients — Enabling Trustless Blockchain Interaction (3 of 9)</h3><p><em>Target Audience: Intermediate</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B_7e1KRAmechmrCfdOoQtg.png" /></figure><h3>TL;DR</h3><ul><li>Stateless clients verify blockchain data without storing local state or synchronizing with the network.</li><li>They use two independent proofs: an execution proof (e.g., a Merkle proof) and a consensus proof (e.g., a sync committee or a zk-proof).</li><li>They operate trustlessly and on-demand — without relying on RPC providers or persistent infrastructure.</li><li>Ideal for low-resource environments, mobile apps, IoT devices, browsers, and multi-chain applications.</li></ul><h3>1. Introduction</h3><p>Today, most blockchain applications depend on remote RPC connections to full nodes provided by central service providers. While convenient, this architecture is fundamentally flawed: It introduces trust assumptions and centralization risks and breaks the core security guarantees of permissionless blockchains.</p><p>Light clients were meant to be the solution — verifying chain state using only block headers and cryptographic proofs. But even these clients require persistent synchronization, regular online presence, and bandwidth that many applications cannot afford. In practice, light clients remain too heavy for ephemeral environments, too slow for real-time response, and too reliant on honest full nodes for data availability.</p><p>Stateless clients are the next logical step. They verify both information and consensus validity without storing any blockchain state, tracking chain progress, or participating in the peer-to-peer network. Stateless clients operate entirely on demand using compact cryptographic proofs: Merkle proofs for execution-layer data inclusion, and consensus proofs — such as sync committee attestations or aggregated zk-proofs — to validate that the block originates from the correct validator set and belongs to the canonical chain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8CK_S5S_oaBqOCmZiVPV5Q.png" /></figure><p>This proof-based model enables applications to verify all relevant blockchain data independently, without relying on trusted intermediaries. — without syncing, storing, or trusting anyone. Stateless clients provide scalable, verifiable, and secure access to blockchain across devices, networks, and chains.</p><p>This article explores how they work, what sets them apart from traditional light clients, and why stateless architecture is crucial for the future of trustless infrastructure.</p><h3>2. What Does “Stateless” Actually Mean?</h3><p>In the context of blockchain infrastructure, a “stateless” client is a client that performs verification without maintaining any persistent or historical blockchain state. Unlike full or light clients, stateless clients do not store block headers, blockchain state, or execution results. They do not participate in chain synchronization or track the progress of the canonical head. Instead, they operate purely on demand by verifying specific information using external cryptographic proofs.</p><p>A stateless client does not “know” the current state of the blockchain and does not assume that the data it receives is valid. It verifies every required fact—such as account balances, storage values, or transaction inclusion—using a proof that ties the data to a specific, proven-valid block. This block is verified through consensus proof.</p><p>Stateless clients make no assumptions, maintain no context, and validate only what is needed and when required. While some implementations may use short-term caching to improve performance or reduce proof redundancy, such cached data must not be essential for correctness or security. A stateless client must operate fully trustlessly, even without any retained data.</p><p>This architectural shift enables fully trustless interaction with the blockchain — even in environments with no available storage, intermittent connectivity, or minimal runtime guarantees.</p><h3>3. How Stateless Clients Work</h3><p>Stateless clients operate by verifying two things for every interaction:</p><ol><li>That a specific piece of data (e.g., a balance, storage slot, or transaction) is included in a particular block (execution proof).</li><li>This block is part of the canonical and finalized blockchain, also known as a consensus proof.</li></ol><p>This two-step process ensures that the client can verify both <strong>what</strong> happened and <strong>when/where</strong> it happened — without storing state, headers, or syncing with the network. Stateless clients do not rely on gossip protocols, mempools, or long-running state machines. They verify only what they are explicitly given when needed.</p><h4>Execution Proofs</h4><p>Execution proofs are typically Merkle-based or derived from authenticated data structures like Merkle Patricia Tries or Verkle trees. The goal is to prove that a value (e.g., an account balance) is part of the state root committed in a given block.</p><p>For EVM-compatible chains, such proofs follow a standard format defined in <a href="https://eips.ethereum.org/EIPS/eip-1186">EIP-1186</a>, which describes how to prove the presence of account and storage data within a Merkle-Patricia-Trie. These proofs are portable across all chains that use the Ethereum Virtual Machine and share the same state model.</p><p>For non-EVM chains, different state models may require other proof constructions. To support stateless verification in such systems, equivalent mechanisms must be available to allow the construction and verification of inclusion proofs for arbitrary state data.</p><p>Any full node with complete state access can construct these proofs. The stateless client uses the root hash (from the block header) and the proof to verify correctness without needing the entire block.</p><h4>Consensus Proofs (Ethereum-specific)</h4><p>In Ethereum’s post-Merge architecture, consensus is driven by the Beacon Chain. Each block on the execution layer is justified by a sync aggregate from a rotating sync committee.</p><p>A stateless client must not assume that a sync aggregate is valid because it appears in a block header. Instead, the client must prove — via a chain of sync committee transitions starting from a trusted checkpoint — that the current sync committee is valid and that the correct validators signed the block.</p><p>This “proof-of-consensus” can be implemented either:</p><ul><li>through direct BLS signature verification and committee history traversal, or</li><li>through recursive zk-proofs that aggregate committee transitions and signature checks across epochs.</li></ul><p>By combining both proofs, the stateless client can verify arbitrary state or transaction data, anchored in a verified block, without trusting the data provider.</p><p>For non-Ethereum Layer-1 chains, the consensus proof must be adapted to the respective consensus protocol. Stateless clients can only operate trustlessly if a cryptographic proof of block validity and chain inclusion is available or can be constructed for that protocol.</p><p>For Layer-2 systems, such as rollups, an additional proof is required: the rollup proof. In this case, a stateless client must validate both the consensus of the underlying Layer-1 and the correctness of the rollup state transition — typically verified via zk-proofs or fraud proofs anchored to the Layer-1.</p><p>An essential consideration in consensus verification is the concept of <strong>weak subjectivity</strong>. In proof-of-stake systems like Ethereum, clients cannot derive the current canonical chain solely from genesis, as long-range attacks can exploit validator set finality gaps to construct conflicting but internally valid histories. To mitigate this, a stateless client must begin verification from a <strong>weak subjectivity checkpoint</strong>: a recent block whose sync committee is assumed to be correct. From that point, the client can verify all subsequent validator transitions via BLS signature checks or recursive consensus proofs. This requirement introduces a minimal trust assumption in the form of a recent anchor point, but it preserves complete verifiability from that checkpoint onward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WATBUem_tkBZdU6WwxGwQw.png" /></figure><h3>4. Benefits of Stateless Clients</h3><p>Stateless clients offer unique benefits that address long-standing limitations in blockchain infrastructure. Unlike full or light clients, they impose almost no hardware, uptime, or sync requirements, yet still enable fully trustless verification.</p><h4>Minimal Resource Requirements</h4><p>As stateless clients do not store blockchain state, headers, or historical data, they require no persistent storage, chain sync, or peer-to-peer participation. This makes them ideal for low-bandwidth environments, embedded systems, mobile apps, and ephemeral runtimes such as browser-based dApps or smart agents.</p><h4>Full Trustlessness</h4><p>Despite having no local state, stateless clients verify all data cryptographically. As long as they receive valid execution and consensus proofs, they make no assumptions about the correctness of responses. This makes them fundamentally more trust-minimized than remote clients and equally secure as light clients — without needing continuous sync.</p><h4>Flexibility and Portability</h4><p>Stateless clients are protocol-agnostic: as long as the target chain supports execution and consensus proofs, the stateless client can operate without needing special treatment or long-term state tracking. This allows developers to design clients interacting across multiple chains or operating in dynamic, permissionless environments.</p><h4>Suitable for Modern Use Cases</h4><p>Stateless clients are well-suited for:</p><ul><li>Mobile and embedded applications</li><li>IoT devices and sensor networks</li><li>Browser-based or ephemeral dApps</li><li>AI agents that require verifiable state interaction</li><li>Applications that currently rely on RPC infrastructure, including mobile, desktop, and web dApps</li><li>Multi-chain apps and services that require verifiable data from different Layer-1 or Layer-2 chains (not limited to wallets or bridges)</li></ul><p>Stateless clients provide the necessary trust layer, allowing for the replacement of opaque RPC infrastructure with verifiable, protocol-native access for any application.</p><h3>5. Challenges and Open Issues</h3><p>While stateless clients offer compelling advantages, several challenges remain before being broadly adopted in production environments.</p><h4>Data Availability and Proof Delivery</h4><p>Stateless clients rely entirely on external sources to provide cryptographic proofs. This raises concerns about:</p><ul><li><strong>Availability</strong>: If no proof provider is reachable or willing to serve a proof, the client cannot proceed.</li><li><strong>Censorship</strong>: Selective refusal to serve specific data or block certain queries.</li></ul><p>Note: Proof providers do not need to be trusted—proofs are cryptographically verifiable. As long as a proof is delivered, it can be checked locally. The proof itself enforces the reliability and integrity of the data, not the provider&#39;s honesty.</p><p>Mitigating these risks requires building decentralized, redundant proof networks — possibly based on existing full nodes, incentivized relays, or trustless RPC gateways.</p><h4>Proof Construction Overhead</h4><p>Execution and consensus proofs must be generated for each client request. While Merkle-based execution proofs are relatively lightweight, consensus proofs (especially recursive zk-proofs or committee transition chains) can be costly to build and aggregate — especially for constrained chains or long validator histories.</p><p>Efficient proof generation, caching, and batching will be critical for real-time applications.</p><h4>Protocol Support</h4><p>Not all Layer-1 or Layer-2 chains offer execution proofs or expose consensus metadata in a form usable for stateless verification. Widespread adoption of stateless clients depends on standardizing these proof interfaces across ecosystems.</p><p>Projects without provable consensus or authenticated state structures cannot support stateless interaction without protocol changes.</p><h4>Trust Anchors and Weak Subjectivity</h4><p>Stateless consensus verification requires a weak subjectivity checkpoint to prevent long-range attacks. Since clients do not track validator history or finality epochs, they must start from a recent trusted block whose sync committee is assumed correct. Distributing these checkpoints securely — without reintroducing centralized trust — is an open challenge. Strategies may include embedding them in application updates, using social consensus mechanisms, or verifying them via multiple independent sources. Tooling and standards for propagating such trust anchors will be critical for secure stateless deployment in proof-of-stake environments.</p><h4>Developer Tooling and dApp Integration</h4><p>Stateless interaction requires changes at the infrastructure level:</p><ul><li>Replacing RPC-based reads with proof-based queries.</li><li>Embedding verification logic into frontends, agents, or devices.</li><li>Handling latency and bandwidth trade-offs for proof delivery.</li></ul><p>To enable widespread adoption of stateless clients, the surrounding ecosystem must evolve. This includes:</p><ul><li><strong>Tooling and APIs</strong>: Libraries, SDKs, and interfaces must natively support proof-based queries rather than RPC assumptions.</li><li><strong>Proof Infrastructure</strong>: Reliable and decentralized delivery of proofs must be ensured, as well as resilience against downtime, censorship, and denial-of-service attacks.</li><li><strong>Proof Efficiency</strong>: Execution and consensus proofs must be compact and fast to verify, minimizing bandwidth and client-side overhead.</li><li><strong>Consensus Aggregation</strong>: Techniques such as recursive zk-proofs or efficient BLS batching are needed to reduce the cost of verifying long validator transitions.</li><li><strong>dApp Integration</strong>: Frontends and wallets need UX patterns and data flows that seamlessly integrate verifiable interaction without persistent state or sync.</li></ul><p>Stateless interaction will only become mainstream once the entire tooling stack — from nodes to applications — treats verifiability as the default, not the exception.</p><h3>6. Outlook</h3><p>Stateless clients address architectural limitations that full and light clients cannot resolve at scale, especially in resource-constrained or dynamic environments. As applications demand more flexibility, devices get smaller, and users expect instant access, syncing large amounts of data or relying on remote infrastructure becomes increasingly unviable.</p><p>Several developments will accelerate the adoption of stateless clients:</p><h4>Verkle Trees and Stateless Execution</h4><p>Protocols like Ethereum are moving toward more efficient state representations, such as Verkle trees. These reduce proof sizes and make execution proofs easier to construct and verify, directly benefiting stateless clients by lowering bandwidth and computation requirements.</p><h4>Recursive zk-Proofs for Consensus</h4><p>Recursive zero-knowledge proofs offer a scalable way to prove long chains of validator transitions and consensus events. By condensing complex trust paths into a single verifiable object, recursive proofs can make consensus verification as cheap as a hash check.</p><h4>Trustless RPC Infrastructure</h4><p>Instead of relying on opaque RPC providers, future dApps will interact with gateways that serve proofs, not just raw data. These trustless RPCs are designed to serve verifiable proofs instead of opaque data, enabling stateless clients to independently verify every response they receive — without trusting the RPC itself.</p><h4>Stateless Clients as a Default Model</h4><p>Over time, stateless architecture will become the default interface for many classes of blockchain interaction:</p><ul><li>Browsers and wallets that want instant, sync-free access</li><li>Agents that move between chains or go online temporarily</li><li>Smart devices and mobile apps require verifiability without overhead</li></ul><p>Rather than building infrastructure around trust, stateless clients enable systems that verify every claim cryptographically and rely on no external assumptions.</p><blockquote>Trustless access must not remain an optional enhancement; <strong>it must become the new standard</strong>. In a decentralized world, verifiability is not a feature. It is the foundation. Stateless clients are how we get there.</blockquote><p>In the following article, we’ll explore how Layer-2 solutions handle client architecture — and why even rollups need trustless access: <em>Layer-2 Solutions and Their Clients</em>.</p><h3>7. References</h3><ul><li><a href="https://eips.ethereum.org/EIPS/eip-1186">EIP-1186 Specification</a></li><li><a href="https://medium.com/@chiqing/eip-1186-explained-the-standard-for-getting-account-proof-444bc1e12e03">EIP-1186 Explained — The Standard for Getting Account Proof</a></li><li><a href="https://ethereum-magicians.org/t/verkle-tree-explainer/5555">Verkle Tree Explainer — Ethereum Magicians</a></li><li><a href="https://vitalik.ca/general/2022/06/15/using_snarks.html">An approximate introduction to how zk-SNARKs work — Vitalik Buterin</a></li><li><a href="https://github.com/ethereum/consensus-specs/blob/dev/specs/altair/beacon-chain.md#sync-committee">Ethereum Consensus Specs — Sync Committee Protocol</a></li><li><a href="https://eips.ethereum.org/EIPS/eip-4444">EIP-4444 — Bound Historical Data in Execution Clients</a></li><li><a href="https://notes.ethereum.org/@vbuterin/stateless_tech_tree">Stateless Ethereum Tech Tree — Vitalik Buterin</a></li></ul><h4>Other articles in this series</h4><p>(<a href="https://medium.com/corpus-ventures/understanding-blockchain-clients-and-their-role-in-decentralized-networks-463d0271e82f">1) Understanding Blockchain Clients and Their Role in Decentralized Networks</a></p><p><a href="https://medium.com/@steffen.kux/full-nodes-vs-light-clients-trade-offs-in-security-and-efficiency-5f6f35544f63">(2) Full Nodes vs. Light Clients — Trade-offs in Security and Efficiency</a></p><p><em>For more information, visit our </em><a href="https://corpuscore.tech/"><em>website</em></a><em> or follow us on social media (</em><a href="https://x.com/corpuscorehq"><em>x</em></a><em>, </em><a href="https://t.me/corpuscore"><em>telegram</em></a><em>, </em><a href="https://www.linkedin.com/company/corpus-core"><em>LinkedIn</em></a><em>)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=934ffd0e050c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/corpus-core-insights/stateless-light-clients-enabling-trustless-blockchain-interaction-3-of-9-934ffd0e050c">Stateless Light Clients — Enabling Trustless Blockchain Interaction (3 of 9)</a> was originally published in <a href="https://medium.com/corpus-core-insights">Corpus.Core Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Full Nodes vs. Light Clients — Trade-offs in Security and Efficiency (2 of 9)]]></title>
            <link>https://medium.com/corpus-core-insights/full-nodes-vs-light-clients-trade-offs-in-security-and-efficiency-5f6f35544f63?source=rss-2b84d96491a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f6f35544f63</guid>
            <category><![CDATA[light-client]]></category>
            <category><![CDATA[clients]]></category>
            <category><![CDATA[stateless]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Steffen Kux]]></dc:creator>
            <pubDate>Thu, 10 Apr 2025 20:40:15 GMT</pubDate>
            <atom:updated>2026-01-23T13:14:07.881Z</atom:updated>
            <content:encoded><![CDATA[<h3>Full Nodes vs. Light Clients — Trade-offs in Security and Efficiency (2 of 9)</h3><p><em>Target Audience: Beginner, Intermediate</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_X0Lyn8xL2_OlctYp34J0g.png" /></figure><h3>TL;DR</h3><ul><li><strong>Full nodes</strong> store and validate the entire blockchain. They offer maximum security and full trustlessness but require significant resources.</li><li><strong>Light clients</strong> synchronize block headers and validate only the used data. They are efficient, use fewer resources, and are trustless but depend on full nodes to obtain the required information.</li><li><strong>Stateless clients</strong> do not store blockchain state and verify data using compact cryptographic proofs. They are trustless and highly efficient.</li><li><strong>Remote clients</strong> rely entirely on third-party RPC services, which are lightweight and convenient but introduce trust assumptions and centralization risks.</li></ul><h3>Introduction</h3><p>A blockchain is a distributed ledger technology that enables a decentralized network of computers (nodes) to collectively maintain a consistent and tamper-resistant ledger. Instead of relying on a central authority, the blockchain protocol ensures that all participants agree on the system&#39;s current state through cryptographic consensus mechanisms.</p><p>Each blockchain comprises a chain of blocks, each containing a list of transactions and a reference (hash) to the previous block (simplified). This structure creates a chronological and verifiable history of all transactions. Nodes in the network continuously validate, relay, and store new blocks, ensuring the integrity and availability of the data.</p><p><a href="https://medium.com/corpus-ventures/understanding-blockchain-clients-and-their-role-in-decentralized-networks-463d0271e82f">Clients</a> are the software implementations that run on these nodes. They define how a node participates in the network, including communicating with peers, validating transactions, executing smart contracts, storing state, and synchronizing data. On the other hand, dApps interact with the nodes to fetch data or publish transactions.</p><ul><li>Full nodes maintain a local copy of the blockchain state and validate all transactions and blocks according to the consensus rules. While they track the current state, only archive nodes store the entire historical state and all intermediate data.</li><li>Light clients store a reduced view of the blockchain, typically block headers only, and rely on cryptographic proofs to verify individual pieces of data.</li><li>Remote clients neither store blockchain data nor execute code; they forward queries to external RPC providers and trust their responses.</li><li>Stateless clients do not persist any state but execute or verify information and code dynamically based on provided proofs. They aim to combine the trustlessness of full nodes with the efficiency of remote access, enabling secure blockchain interaction without local storage or long synchronization times.</li></ul><p>Code execution is done in all clients that perform verification — whether on complete data, reduced data, or via externally sourced proofs. Without clients, the blockchain protocol would be a theoretical specification without practical execution.</p><p>Clients serve several critical purposes:</p><ul><li>They implement the consensus rules of the blockchain.</li><li>They maintain local copies of blockchain data.</li><li>They verify new transactions and blocks according to the protocol.</li><li>They provide interfaces for users and applications to interact with the blockchain.</li></ul><p>Clients are of different types depending on how much data they store and how they verify that data. Some operate as full peer-to-peer (P2P) network participants and enforce consensus rules directly, while others rely on cryptographic proofs or third-party data sources. Choosing the correct type of client has direct implications for trust assumptions, resource requirements, decentralization, and scalability.</p><p>Full and light clients actively participate in the P2P network by propagating and receiving blocks, transactions, or reduced information. Remote and stateless clients, by contrast, access blockchain data indirectly—via RPC providers or networks and proof delivery systems—and are not active peers in the network.</p><p>This article discusses all four main types of clients: full nodes, light clients, remote clients, and stateless clients. We explore their differences in architecture, performance, and security — and what that means for users and developers building on decentralized infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AJNNGGBcSboZN-ka8CuWtw.png" /><figcaption>Different Client Types</figcaption></figure><h3>1. What Is a Full Node?</h3><p>A full node is a blockchain client that independently validates all blocks and transactions according to the protocol rules and maintains a local copy of the blockchain state. Full nodes are critical for decentralization as they enforce the consensus rules without relying on third parties. Every node stores a redundant copy and can validate the blockchain independently without any dependency on an intermediary, guaranteeing trustless access.</p><p>There are different variants of full nodes:</p><ul><li><strong>Pruned Full Nodes</strong> validate the entire chain but discard older state data, retaining only the minimum necessary to validate new blocks. This mode is sufficient for most applications as it allows for complete security and protocol compliance without the overhead of historical data. They do not store historical states or transactions beyond a certain depth.</li><li><strong>Archive Nodes </strong>maintain the complete history of the blockchain, including all intermediate states, historical storage slots, and complete transaction logs (including event logs and receipts). Although archive nodes are rarely needed in practice, they are essential for block explorers, historical queries, indexing services, and protocol development.</li></ul><p>The resource requirements for running a full node vary widely depending on the blockchain protocol. Ethereum, for example, is explicitly designed to allow ordinary users to run full nodes. Pruning, efficient data structures, and protocol constraints aim to limit hardware demands. In contrast, some Layer-1 chains with very short block times, high throughput, or monolithic designs require significant computing power and storage to operate a full node, effectively centralizing infrastructure in data center-grade hardware.</p><h4>Key Features</h4><ul><li><strong>Complete Protocol Validation</strong>: Full verification of every block and transaction.</li><li><strong>Enforcement of Consensus Rules</strong>: No reliance on external inputs or assumptions.</li><li><strong>Optional Data Retention</strong>: Archive vs. pruned storage modes.</li><li><strong>Participation in P2P Network</strong>: Propagates and relays blocks and transactions.</li><li><strong>On-Chain Code Execution</strong>: Executes all state transitions, including smart contracts.</li></ul><h4>Ethereum Client Architecture: Consensus and Execution</h4><p>In Ethereum, a full node consists of two distinct components:</p><ul><li>a <strong>Consensus Client</strong> and</li><li>an <strong>Execution Client</strong>.</li></ul><p>The consensus client handles the peer-to-peer networking, block propagation, and consensus logic defined by the Beacon Chain. The execution client is responsible for managing the state, executing smart contracts, and maintaining the EVM (Ethereum Virtual Machine). Both clients communicate through a defined API (Engine API) and must stay in sync to ensure correct operation.</p><p>This separation was introduced with the Ethereum Merge, enabling modularity, client diversity, and protocol upgrades. However, for this article, we treat the combination as a single full node and will not explore consensus-execution separation further.</p><h4>Security and Trust Considerations (Full node)</h4><p>Full nodes offer the highest level of trustlessness. They do not outsource verification and thus do not depend on the honesty or availability of other nodes. Running a full node gives users or applications direct access to validated data, critical for censorship resistance, protocol transparency, and decentralized governance.</p><h3>2. What Is a Light Client?</h3><p>A light client is a blockchain client that verifies the validity of blockchain data without storing or processing the entire blockchain. Instead of executing every transaction and maintaining the whole state, a light client only synchronizes block headers and selectively verifies specifically needed data using cryptographic proofs such as Merkle proofs.</p><p>In the Ethereum ecosystem, light clients track the canonical chain by following the block headers with the highest total difficulty (pre-Merge) or the head of the finalized chain (post-Merge). They rely on full nodes or external services to provide Merkle proofs for account balances, contract storage, or transaction inclusion. These proofs allow the light client to confirm that a particular piece of data exists within a specific block without needing access to the entire state, thus providing trustless access.</p><p>Several protocols have been developed for light client communication, including:</p><ul><li><strong>LES (Light Ethereum Subprotocol)</strong>: A protocol that allows light clients to request data and proofs from full nodes via a structured and bandwidth-efficient format.</li><li><strong>Helios</strong> and other modern clients pull proofs via RPC or external APIs.</li></ul><p>Light clients do not participate in the consensus mechanism or propagate transactions and blocks in the P2P network. They focus on efficient access and local verification, making them ideal for use cases where resources are limited but continuous block information is needed.</p><p>In post-Merge Ethereum, light clients use data from the Beacon Chain’s sync committee to efficiently verify the validity of the latest block headers. The sync committee consists of a rotating subset of validators who sign checkpoints to help light clients stay synchronized without downloading every header. This mechanism enables lightweight clients to track the finalized head with minimal data, reducing bandwidth and computation requirements.</p><h4>Limitations and Practical Challenges</h4><p>In practice, it has become evident that even light clients will be too resource-intensive for most applications. Although they avoid storing the full blockchain, they must still synchronize the ongoing stream of block headers. This continuous sync process can significantly burden devices or applications with limited bandwidth, processing power, or intermittent connectivity.</p><p>For example, if a light client has been offline for a while, it must process and verify missed headers before confirming the latest state or responding to a query. This delay can make light clients impractical in scenarios requiring immediate availability or quick response times.</p><p>Another limitation is data availability: light clients depend on full nodes to serve requested proofs or data fragments (e.g., account state, storage slots, receipts). Suppose the light client cannot find a responsive or honest full node to provide this information. In that case, it cannot complete the verification process, even though the protocol is trust-minimized.</p><h4>Security and Trust Considerations (light client)</h4><p>Light clients can independently verify the correctness of blockchain data as long as they have synchronized the necessary block headers. They use cryptographic proofs to confirm the inclusion and validity of data without trusting the data source, making them trustless concerning data correctness.</p><p>However, they rely on full nodes to serve the required data (e.g., account state, receipts, storage slots). If this data is unavailable or withheld, light clients cannot proceed with verification, even though the proof system itself is sound. Thus, their security is strong, but their practical usability depends on the availability of honest and responsive full nodes.</p><h3>3. What Is a Remote Client?</h3><p>Remote clients are blockchain clients that do not verify or store blockchain data locally. Instead, they access blockchain information and broadcast transactions through Remote Procedure Call (RPC) interfaces provided by third-party full nodes or infrastructure providers. Nowadays, this setup is widely used in web applications, wallets, and dashboards due to its simplicity and low resource requirements.</p><blockquote>Although commonly referred to as a “client type,” remote clients are not independent participants in the blockchain protocol. They delegate all responsibilities for state management, verification, and consensus enforcement to external infrastructure. The local system simply acts as an interface that forwards requests and displays responses — without enforcing any protocol rules itself. As a result, remote access introduces critical trust assumptions and cannot be considered trustless in the Web3 sense.</blockquote><p>However, remote clients introduce a complete trust assumption: the user depends entirely on the service provider&#39;s correctness and availability. The client has no independent way to verify that the information received (e.g., balance, contract state, transaction inclusion) is accurate. Some retrieve information from different service providers to reduce dependency on a single provider and increase availability.</p><p>Despite these limitations, remote clients are currently the dominant architecture for most blockchain-based applications because they are easy to integrate, are fast to deploy, and require no local sync or storage. For dApp developers, using a hosted RPC endpoint or a service provider often seems like the only practical choice.</p><p>This convenience comes with significant trade-offs:</p><ul><li>Users cannot detect censorship or manipulation.</li><li>RPC providers could selectively deny access or return modified responses.</li><li>Any provider outage breaks the dApp’s blockchain access.</li><li>There is no cryptographic proof behind the data shown to the user.</li><li>Malicious or compromised service providers could provide wrong data.</li></ul><p>While remote clients are a practical bridge for adoption, they are incompatible with Web3&#39;s core principle of trustlessness. In the long term, infrastructure must move toward models that allow users and applications to verify data rather than trust it blindly. Remote access to blockchain data must become verifiable through mechanisms like light clients, stateless clients, or trustless RPC gateways.</p><h4>Key Features</h4><ul><li><strong>Zero Local Verification</strong>: Trusts the RPC provider completely.</li><li><strong>Minimal Resources Needed</strong>: No storage, low compute.</li><li><strong>Instant Setup</strong>: No sync time.</li></ul><h4>Security and Trust Considerations (remote client)</h4><p>Remote clients are the least secure and least trusty option. Since they cannot verify data, users/dApps must trust that the RPC provider is honest and available. Censorship, data manipulation, and availability issues are risks.</p><h3>4. What Is a Stateless Client?</h3><p>Stateless clients are blockchain clients that verify data without storing any long-term state or participating in the synchronization process. Unlike full or light clients, they do not track blockchain history, maintain block headers, or store account states. Instead, they consume cryptographic proofs delivered alongside the data they wish to verify.</p><p>To verify any piece of data, a stateless client must validate two things:</p><ol><li>The data is correctly included in a particular block (execution proof), and</li><li>The block is valid and part of the canonical, finalized chain (consensus proof).</li></ol><p>The data can be accepted as trustworthy if both conditions are cryptographically proven.</p><p>These proofs may use Merkle trees, Merkle Patricia tries, Verkle trees, or zero-knowledge proof systems and must be anchored in a proven valid block via a consensus mechanism.</p><blockquote>In practice, a stateless client architecture often consists of two distinct components: the <strong>proofer</strong>, responsible for constructing and delivering the required cryptographic proofs, and the <strong>verifier</strong>, which runs on the local device and independently validates the proofs. This separation allows the verifier to remain lightweight and efficient, while the heavy computation and data retrieval are handled externally. The verifier must trust neither the data nor the source, as all verification is based on cryptographic guarantees.</blockquote><h4>Stateless Verification Process</h4><p>A typical stateless verification process includes two interdependent stages:</p><ol><li><strong>Execution Proof Verification</strong>: The client receives a data payload (e.g., an account balance or contract storage value) along with a cryptographic proof that this data exists in a specific block. The proof is checked against the state root or execution payload of that block’s header. In EVM chains, these proofs are provided according to EIP-1186.</li><li><strong>Consensus Proof Verification</strong>: The client then verifies that the block header is part of the finalized canonical chain. In Ethereum, this involves checking that the sync committee that signed the header is the correct committee, derived from a known trusted checkpoint. The consensus proof demonstrates that all sync committee transitions from the anchor block to the present are valid according to protocol rules.</li></ol><p>If both verifications succeed, the client can trust the data as correct and finalized without storing any local state or blockchain history.</p><p>In the case of a Layer-2 chain, a rollup proof is also being evaluated (this will be the topic of a later article).</p><p>This model avoids persistent storage and sync overhead, making it ideal for:</p><ul><li>Mobile or browser-based clients that run temporarily</li><li>IoT devices with limited bandwidth or memory</li><li>AI agents or bots needing verifiable facts without infrastructure</li><li>Multi-chain applications interact with several L1s or L2s in parallel.</li></ul><p>Stateless clients differ from light clients because they do not track the canonical chain or maintain any synchronization process. They operate on demand, are proof-based, and do not require prior context.</p><blockquote>While stateless clients do not require a trusted source, they <strong>do depend on the availability of valid proofs</strong>. The RPC endpoint or data provider must supply the required execution and consensus proofs alongside the data, but the client does not need to trust the provider — only the validity of the proofs is relevant. This decouples data provenance from data trustworthiness.</blockquote><h4>Challenges and Infrastructure Requirements</h4><p>The main challenge for stateless clients is obtaining the required proofs:</p><ul><li><strong>Execution proofs</strong> must be provided by external services capable of constructing Merkle or zk-proofs for arbitrary data.</li><li><strong>Consensus proofs</strong> require access to a verifiable history of sync committee transitions or anchor points.</li></ul><p>Because the client itself does not hold any chain data, these proofs must be delivered by <strong>proof providers</strong> or <strong>RPC gateways</strong>. As the proofs can be verified by the client independently, the client doesn’t need to trust the provider of the proofs.</p><p>In addition, complex proofs (e.g., deeply nested Merkle trees or zk-SNARKs/zk-STARKS) may demand significant local computation on the provers&#39; side, while verifying on the client side is highly efficient. Still, the trade-off is often justified by the ability to avoid all long-term data management.</p><h4>Stateless Clients as Infrastructure for Web3</h4><p>Stateless clients are a foundational building block for the future of Web3 infrastructure. Applications that rely on RPC-based remote clients introduce critical trust assumptions and centralization risks. To preserve blockchain systems&#39; trustless and decentralized nature, these applications must gradually migrate to architectures based on stateless clients. Only by enabling end-to-end verifiability without local state or centralized intermediaries can scalable, secure, and permissionless interaction with blockchain data be achieved.</p><h4>Key Features</h4><ul><li><strong>No Persistent State</strong>: All required data is proven at runtime.</li><li><strong>Verifies via Compact Proofs</strong>: Uses Merkle or zk-based proofs.</li><li><strong>Low Storage &amp; Sync Overhead</strong>: Ideal for ephemeral or lightweight environments.</li><li><strong>Full Trustlessness</strong>: No reliance on centralized infrastructure.</li></ul><h4>Security and Trust Considerations (stateless client)</h4><p>When both consensus and execution proofs are provided and verified, stateless clients offer the same level of security and trustlessness as light clients — without requiring any persistent state, local synchronization, or full protocol tracking. Their ability to validate block inclusion and chain membership ensures full correctness, assuming reliable proof sources.</p><p>This architecture enables efficient, low-footprint blockchain access across various applications and devices. As proof infrastructure matures and becomes more accessible, stateless clients will become a critical foundation for secure, decentralized systems that scale without compromising on verification or independence.</p><h3>5. Summary and Outlook</h3><p>Each client type presents a different balance of trust, efficiency, and resource needs. Full nodes are the most secure but are expensive and consume many resources and bandwidth. Light clients provide reasonable trade-offs. Nevertheless, they still need to sync and are connected to the peer-to-peer network. Remote clients are convenient but trust-dependent. Stateless clients aim to combine trustlessness with minimal resource usage — and are likely a key component of the future of a trustless infrastructure in Web3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J0W1BkY9JTwUZL5iQSoH3w.png" /></figure><blockquote>Stateless Clients, which rely solely on cryptographic proofs without requiring full synchronization or trust in external data sources, offer a promising path forward for scalable and secure blockchain access not only in resource-constrained environments.</blockquote><p>In the following article, we’ll examine <strong>stateless clients in more detail</strong>, including how they work, which proofs they rely on, and what makes them crucial for verifiable and scalable blockchain interaction.</p><p>For more information, visit our <a href="https://corpuscore.tech/">website</a> or follow us on social media (<a href="https://x.com/corpuscorehq">x</a>, <a href="https://t.me/corpuscore">telegram</a>, <a href="https://www.linkedin.com/company/corpus-core">LinkedIn</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f6f35544f63" width="1" height="1" alt=""><hr><p><a href="https://medium.com/corpus-core-insights/full-nodes-vs-light-clients-trade-offs-in-security-and-efficiency-5f6f35544f63">Full Nodes vs. Light Clients — Trade-offs in Security and Efficiency (2 of 9)</a> was originally published in <a href="https://medium.com/corpus-core-insights">Corpus.Core Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Blockchain Clients and Their Role in Decentralized Networks (1 of 9)]]></title>
            <link>https://medium.com/corpus-core-insights/understanding-blockchain-clients-and-their-role-in-decentralized-networks-463d0271e82f?source=rss-2b84d96491a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/463d0271e82f</guid>
            <category><![CDATA[decentralized-network]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[trustless]]></category>
            <dc:creator><![CDATA[Steffen Kux]]></dc:creator>
            <pubDate>Thu, 27 Mar 2025 13:45:08 GMT</pubDate>
            <atom:updated>2026-05-14T19:44:59.407Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Target Audience: Beginner</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*INh_c4BkySC7BM1zZ92p0A.png" /></figure><h3><strong>TL;DR</strong></h3><ul><li>A blockchain client runs the blockchain protocol, validates transactions, and maintains consensus.</li><li>The blockchain network consists of nodes (clients) that store and propagate blockchain data.</li><li>Users interact with the blockchain by accessing a client or via RPC services.</li><li>There are different types of clients: Full Nodes, Light Clients, Remote Clients, and Stateless Clients.</li><li>Trustless clients are essential for decentralization, security, and censorship resistance.</li></ul><h3><strong>Introduction to the Article Series</strong></h3><p><em>This series primarily focuses on Ethereum clients, as Ethereum has the most diverse client ecosystem and a wide range of use cases. However, the principles discussed here apply to other Layer-1 (L1) and Layer-2 (L2) networks. Where relevant, comparisons and extensions to other blockchain ecosystems will be included.</em></p><p><em>Each article is designed for a different level of technical knowledge:</em></p><ul><li><strong><em>Beginner:</em></strong><em> Covers fundamental concepts and basic understanding of blockchain clients.</em></li><li><strong><em>Intermediate:</em></strong><em> Explores technical implementations, security considerations, and trade-offs between different client types.</em></li><li><strong><em>Advanced:</em></strong><em> Discusses cutting-edge developments like stateless clients, cryptographic proofs, and multi-chain interoperability.</em></li></ul><p><em>The intended audience level will be specified at the beginning of each article. This first article is aimed at </em><strong><em>beginners</em></strong><em> and provides an overview of blockchain clients and their role in decentralized networks.</em></p><h3><strong>1. What Are Blockchain Clients?</strong></h3><p>A blockchain is a distributed network of nodes communicating in a peer-to-peer (P2P) system. Each node redundantly stores blockchain data, validates transactions, and ensures consensus. The blockchain itself exists as a state, maintained collectively by the clients running the protocol.</p><p>A blockchain client is software that implements this protocol, participating in transaction verification, smart contract execution, and data propagation. Users interact with the blockchain by accessing a client, whether by running their own node or using an external service.</p><p>Anyone can run a client to contribute to network security and decentralization in permissionless and trustless blockchains like Ethereum. However, running a client requires processing and storing blockchain data, which affects accessibility and scalability.</p><h3>2. The Role of Clients in Blockchain Networks</h3><p>Blockchain clients <strong>are</strong> the network. They execute the blockchain protocol, validate transactions, propagate data, and maintain consensus. There is no blockchain without clients — only a set of protocol rules without execution.</p><p>Users interact with a client to read blockchain data or submit transactions. This can be done in several ways:</p><ul><li>Running their own node (full node or light client)</li><li>Accessing remote clients via RPC services</li></ul><p>Full nodes validate all transactions and maintain the entire blockchain history, ensuring maximum decentralization and security.<br>Light Clients and Stateless Clients reduce or even eliminate the need for synchronization and reduce resource requirements by verifying only necessary cryptographic proofs.<br>Many applications still rely on RPC services to interact with the blockchain without running a client themselves, but this introduces centralization risks.</p><p>A diverse client ecosystem strengthens network resilience, prevents single points of failure, and ensures censorship resistance. Over-reliance on centralized service providers weakens these properties.</p><h3>3. Security and Trust Considerations</h3><p>The security of a blockchain network is directly tied to the types of clients running in the system. Full nodes provide the highest security guarantees by verifying all transactions independently. However, due to high computational and storage demands, most applications are not running on full nodes.</p><p>However, trustless clients are critical to preserving blockchain integrity. Relying on centralized RPC requires trust in an intermediary to relay correct blockchain data, which leads to the paradox of accessing a decentralized network using centralized gateways.</p><h3>4. Types of Blockchain Clients</h3><p>Blockchain clients can be categorized as follows:</p><ul><li><strong>Full Nodes</strong>: Store and validate the entire blockchain. It offers the highest security but is resource-intensive.</li><li><strong>Light Clients</strong>: Use cryptographic proofs to verify transactions. Lower resource requirements but depend on full nodes for data.</li><li><strong>RPC Clients</strong>: Retrieve blockchain data from third-party providers. It is convenient but introduces trust assumptions.</li><li><strong>Stateless Clients</strong>: Verify blockchain data without storing historical state, reducing storage and computational requirements.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-DNozdZKZBSlCZNUwFQUjg.png" /><figcaption><strong>Figure: Comparison of blockchain client types</strong></figcaption></figure><p>The graphic compares Full Nodes, Light Clients, Remote Clients, and Stateless Clients across three key dimensions: storage requirements, synchronization/bandwidth needs, and trustlessness. Full nodes require the most resources but offer maximum trustlessness and security. Light clients reduce storage while retaining trustless verification. Remote clients rely entirely on third parties, sacrificing trustlessness. Stateless clients minimize storage and bandwidth while maintaining trustless operation through cryptographic proofs.</p><h3>5. Centralization Risks and the Need for Trustless Clients</h3><p>Decentralization is a core principle of blockchain networks, but reliance on centralized infrastructure undermines it. Many applications depend on a few RPC providers, leading to:</p><ul><li><strong>Censorship risks</strong>: RPC providers can restrict access to particular transactions or accounts.</li><li><strong>Data manipulation risks</strong>: A compromised provider could serve incorrect blockchain data.</li><li><strong>Single points of failure</strong>: If an RPC service goes down, dependent applications lose access to the blockchain.</li><li><strong>Limited Privacy</strong>: A centralized provider can log a lot of information.</li></ul><p>Trustless clients mitigate these risks by allowing direct blockchain interaction. Stateless clients, for example, use cryptographic proofs to verify blockchain data without storing unnecessary state. Expanding the use of trustless clients is critical for maintaining network resilience and decentralization.</p><h3>6. Upcoming Articles in This Series</h3><p>This article introduces blockchain clients and their role in decentralized networks. The following articles will explore key topics in more detail:</p><blockquote>- <a href="https://medium.com/@steffen.kux/full-nodes-vs-light-clients-trade-offs-in-security-and-efficiency-5f6f35544f63">Full Nodes vs. Light Clients — Trade-offs in Security and Efficiency</a><br>- <a href="https://medium.com/corpus-ventures/stateless-light-clients-enabling-trustless-blockchain-interaction-3-of-9-934ffd0e050c">Stateless Light Clients — Enabling Trustless Blockchain Interaction</a><br>- <a href="https://medium.com/corpus-ventures/layer-2-solutions-and-their-clients-4-of-9-683665534e96">Layer-2 Solutions and Their Clients</a><br>- <a href="https://medium.com/corpus-core-insights/multi-chain-applications-and-the-importance-of-stateless-clients-5-of-9-194b816d7bcd">Multi-Chain Applications and the Importance of Stateless Clients</a><br>- Blockchain Clients for IoT — Overcoming Resource Constraints<br>- AI Agents and Blockchain Clients — Security and Permission Management<br>- The Corpus Core Colibri Client — A stateless client for Ethereum and other Blockchains</blockquote><p>Understanding blockchain clients is essential for developing secure, efficient, and decentralized applications. By choosing an exemplary client architecture, users and developers can enhance trust minimization, censorship resistance, and network reliability.</p><p>For more information, visit our <a href="https://corpuscore.tech/">website</a> or follow us on social media (<a href="https://x.com/corpuscorehq">x</a>, <a href="https://t.me/corpuscore">telegram</a>, <a href="https://www.linkedin.com/company/corpus-core">LinkedIn</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=463d0271e82f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/corpus-core-insights/understanding-blockchain-clients-and-their-role-in-decentralized-networks-463d0271e82f">Understanding Blockchain Clients and Their Role in Decentralized Networks (1 of 9)</a> was originally published in <a href="https://medium.com/corpus-core-insights">Corpus.Core Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[dm3 — the web3 Messaging Protocol — decentralized and scalable by design]]></title>
            <link>https://medium.com/corpus-ventures/dm3-the-web3-messaging-protocol-decentralized-and-scalable-by-design-ce73b2fca7e1?source=rss-2b84d96491a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce73b2fca7e1</guid>
            <category><![CDATA[communication-protocol]]></category>
            <category><![CDATA[messaging-protocol]]></category>
            <category><![CDATA[scalability]]></category>
            <category><![CDATA[web3-messaging]]></category>
            <category><![CDATA[decentralization]]></category>
            <dc:creator><![CDATA[Steffen Kux]]></dc:creator>
            <pubDate>Thu, 29 Feb 2024 23:45:07 GMT</pubDate>
            <atom:updated>2024-03-01T04:26:52.253Z</atom:updated>
            <content:encoded><![CDATA[<h3>The dm3 Protocol — Web3 Messaging — Decentralized and Scalable by Design</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2fGwM_oT11nEQZZhbuiVjA.png" /></figure><h3><strong>Abstract</strong></h3><p><em>Designed to address the complexities of the web3 messaging ecosystem, the </em><a href="https://dm3.network/"><strong><em>dm3 protocol</em></strong></a><em> pioneers technological innovation by merging layer-0 and layer-1 approaches to set new standards for interoperability and scalability. By rigorously analyzing existing architectures — from centralized services to broadcast networks to blockchain-based and message relay networks — the protocol identifies and addresses the fundamental challenges of security, privacy, censorship resistance, and scalability. <br>At its core, the adoption of a Message Relay Network architecture represents a strategic move toward a decentralized, secure, and scalable messaging infrastructure. <br>The </em><strong><em>dm3</em></strong><em> protocol enables direct integration with a wide range of existing messaging services, networks, and applications, fostering a cohesive ecosystem without compromising security or privacy. Its modular and flexible architecture is designed to support scalable expansion to meet the increasing throughput demands of Web3 communications and beyond. As the foundation for enhanced connectivity and interoperability within the messaging space, the </em><strong><em>dm3</em></strong><em> protocol is set to redefine the landscape and embody a critical advancement toward a more interconnected digital future.</em></p><p>The <a href="https://medium.com/corpus-ventures/dm3-web3-messaging-encryption-decentralization-interoperability-2c6c426aca2">previous article</a> emphasized the importance of interoperability for sustainable web3 messaging solutions. The <strong>dm3</strong> protocol is a combined layer-0 and layer-1 messaging protocol that can be seamlessly integrated with other messaging protocols, services, networks, and applications without compromising security and privacy, and can be used as a core protocol for new messaging solutions as well.</p><p>This paper discusses the critical importance of decentralization and how to achieve the necessary scaling to handle the number of messages that today’s messengers can deliver. It also covers the requirements for building an interoperability protocol.</p><h3><strong>Messaging architectures</strong></h3><p>There are many different possible architectures for implementing a messenger service. While many of the existing and currently successful messenger services are usually operated as central cloud services, there are other interesting approaches, particularly in the web3 landscape. Each of these approaches has its strengths and weaknesses, and in the following, some of these approaches are compared and evaluated regarding properties essential for secure, private, and self-sovereign communication.</p><h4><strong>Centralized Service</strong></h4><p>Centralized messaging services are commonly built based on a client-server architecture, a model in which client devices communicate with a central server over the Internet. The central server acts as the central access point for all communications and is responsible for processing, storing, and routing messages between clients.</p><p>When a user sends a message using a centralized messaging service, the client device sends the message to the central server. The server receives the message and performs various tasks, including:</p><ul><li><strong>Authentication and Verification:</strong> Since user accounts are managed by the service, the server first verifies the identity of the user who sent the message to ensure that they have the necessary permissions to use the service. Typically, this is done by checking the user’s credentials or session information.</li><li><strong>Message Routing:</strong> Once the user’s identity has been verified, the server uses its messaging protocol to determine where the message needs to be sent. The server keeps track of all connected clients and their status, so it knows which clients are currently online and available to receive messages.</li><li><strong>Message Storage:</strong> The server stores the message in a database or message queue until it can be delivered to the intended recipient. Depending on the solution, messages may be persisted on the server or only be cached until they are delivered to the recipient.</li><li><strong>Message Delivery:</strong> When the recipient’s device comes online, it connects to the server to check for new messages. If there are new messages, the server sends them to the recipient’s device.</li><li><strong>Acknowledgment and Confirmation:</strong> The server can also send an acknowledgment or confirmation message back to the sender to indicate that the message was successfully delivered. Also, instant information like “user is writing…” can be transmitted.</li></ul><p>However, often other applications (e.g. social media applications) also have integrated messenger functionality, which is integrated into their applications. These messaging functions are often realized as centralized services as well.</p><p>One of the main advantages of centralized messenger services is convenience — that they can provide a consistent and reliable user experience across multiple devices and platforms. Users can access their messages from anywhere, and they don’t have to worry about managing message delivery or synchronization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yw-p4AkLFoSlQf7aeduMhg.png" /><figcaption>Centralized Messaging Service (Principle)</figcaption></figure><p>Centralized messenger services do have by design some limitations, including concerns about</p><ul><li><strong>Security:</strong> End-to-end encryption is nowadays a common standard for most of these services used in the Western world although various messengers may offer the option to disable this without the user’s consent. Other messengers have known backdoors for monitoring communications by public authorities or similar. It is not uncommon for political decision-makers and law enforcement agencies to demand that encryption be softened accordingly. In some regions of the world, solutions with secure encryption are even prohibited. Many applications use embedded messaging (community internal communication, support, …). Even today, these messaging solutions are not securely encrypted.</li><li><strong>Privacy: </strong>Even with fully end-to-end encrypted communication, the connection data (i.e., who sent something to whom and when) and the chronological flow of the communication can be traced by the solution provider and thus evaluated if necessary.</li><li><strong>Censorship:</strong> Since the entire service is operated by a company or organization, including the management of users and their identity data, the latter can restrict the user at any time (e.g., not deliver messages) or even lock the user out of the service entirely. In particular, if the operator can be forced to do so due to legal requirements or other obligations, censorship cannot be prevented.</li><li><strong>Single-Point-of-Failure: </strong>With centralized services, there is always a risk that if the central server or another centrally used resource fails or is not accessible, the entire service will fail. This is often counteracted by redundant components and high-availability solutions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZeZFlATXGC7CUoLDHvmh8Q.png" /><figcaption>Message-Flow in Centralized Service</figcaption></figure><p>If the number of users of the service increases, the service provider must ensure that the required bandwidth and storage capacity is available by expanding the resources accordingly. Some well-known services have hundreds of millions of users, the market leader even has over 2 billion with a volume of over 100 billion messages per day. Through linked server clusters and with suitable load balancing, the service can meet these requirements.</p><h4><strong>Broadcast Networks</strong></h4><p>In the web3, decentralized and distributed networks are the common standard. Blockchain networks such as the Bitcoin blockchain or Ethereum consist of many independent nodes that are connected to other nodes in a distributed network and exchange data (e.g., transactions). Each node has equal rights. The failure of individual nodes does not significantly affect the network, as all data is kept redundant. A user can connect to any node and thus interact with the network without additional permissions needed.</p><p>As part of the Ethereum ecosystem, <a href="https://cryptoadventure.com/what-is-ethereum-whisper-a-guide-for-beginners/">Whisper</a> was designed as a secure and private peer-to-peer messaging protocol. The core concept is that messages are passed encrypted to nodes of the network and then distributed in this network. The receiver and any other user can fetch the messages from any node in the network but only the designated receiver can decrypt it.</p><p>Now, many other protocols like <a href="https://waku.org/">Waku</a>, <a href="https://xmtp.org/">xmtp</a>, and others are using similar approaches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GdVQ7tcP3q54jq8MXDICrA.png" /><figcaption>Decentralized Messaging Broadcast Network (Principle)</figcaption></figure><p>As there is no centralized service involved, all tasks are performed in the network, including:</p><ul><li><strong>Authentication and Verification:</strong> Since these networks are permissionless, often there is no authentication needed to connect to the network and to deliver messages or read information from the network. As only the real receiver can read the content, no additional verification is needed. For performance and additional security reasons, these networks can also restrict who is allowed to connect to the nodes.</li><li><strong>Message Routing:</strong> Messages that are published to any node in the network are distributed to all nodes of the network. There is no receiver information needed as the receiver can fetch potential messages from any node of the network.</li><li><strong>Message Storage:</strong> Messages are published in the network and stored on the nodes. If a client needs information, it connects to the network and fetches potential messages. As it is not known by the node if a message is delivered or not, it needs to store it directly or at least need to be able to get this information from other nodes of the network. Nevertheless, redundancy is needed to have no single points of failure.</li><li><strong>Message Delivery:</strong> Clients connect to the network to fetch potentially relevant messages. As all messages in the network are encrypted without any information about who the receiver is, it is the responsibility of the client to get and evaluate the messages.</li><li><strong>Acknowledgment and Confirmation:</strong> This information is also what the client needs to extract from the information in the network.</li></ul><p>Messaging protocols and applications based on broadcast networks have some advantages.</p><ul><li><strong>Decentralization: </strong>As they are built on distributed networks, they are decentralized without a single point of failure.</li><li><strong>Privacy:</strong> Also, as there are no direct transmission paths, that can be tracked, high privacy is given by design. Users can access their messages from anywhere by connecting to one of the nodes.</li><li><strong>Censorship Resistance:</strong> Like blockchain networks, these distributed messaging networks are censorship-resistant by design, as long as no entity or group is controlling all nodes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KsCv0RvHjhTxiBYdDw9zxA.png" /><figcaption>Message-Flow in Broadcast Network (simplified)</figcaption></figure><p>Messaging protocols based on broadcast networks do have by design some limitations as well, including concerns about</p><ul><li><strong>Scalability:</strong> As these distributed networks share all messages redundantly, scaling is not possible by adding additional nodes to the network (same as it is for blockchain networks). Technologies like Sharding are envisioned as possible solutions but are not yet available in production.</li><li><strong>Resource hungry: </strong>As nodes of this network must handle all messages (maybe also including attachments and multimedia content), these nodes must be powerful enough with high bandwidth connections to handle this data. Without a good strategy how to handle old data efficiently, these nodes must grow very strong. Operating such a node will be challenging even if this would be permissionless.</li><li><strong>Real Decentralization:</strong> Because of the challenges mentioned above, the number of running nodes can be restricted which can result in networks with only a few nodes operated by a few players. This might also influence the censorship resistance.</li></ul><h4><strong>Blockchain (On-Chain Messaging)</strong></h4><p>Instead of using a separate network, special solutions are built on top of a blockchain directly. Sending messages is done by sending a transaction. As this is in most cases not feasible to do so on the Bitcoin or Ethereum blockchain, special application chains (like a layer-2 or layer-3 chain, a Polkadot Parachain, or similar) can be used.</p><p>This approach focuses on special use cases. Messages once sent, can’t be manipulated, or revoked. This communication often is less focused on privacy than on transparency. Instead of storing the message information on-chain (which will be in most cases too ineffective or expensive), it can be stored in a decentralized storage and only the hash is stored on-chain.</p><p>Most tasks are handled differently:</p><ul><li><strong>Authentication and Verification:</strong> If permissionless and public networks are used, there is no authentication needed to connect to the network and to deliver messages or read information from the network. Encrypted messages can only be read by the owner of the accompanying keys.</li><li><strong>Message Routing:</strong> Messages are published by sending a transaction. As soon as this transaction is added to the blockchain and if needed data is stored in decentralized storage, the receiver can access it from any node.</li><li><strong>Message Storage:</strong> Messages are stored in the network (in a few special cases on-chain or in decentralized storage).</li><li><strong>Message Delivery:</strong> Clients connect to the network to fetch potentially relevant messages.</li><li><strong>Acknowledgment and Confirmation:</strong> As a message is delivered with a transaction, by monitoring these transactions it can be evaluated if a message was transmitted.</li></ul><p>Blockchain-based messaging protocols have some advantages, which come from using a blockchain:</p><ul><li><strong>Decentralization: </strong>As they are built on a distributed blockchain network, they are decentralized without any single point of failure.</li><li><strong>Transparency:</strong> Each transaction is reproducible in the blockchain. So are the messages, too. While the content is encrypted, the metadata information (from and to addresses and time) is transparent.</li><li><strong>Manipulation safe: </strong>Once a message is sent, it can’t be altered anymore. Also, it can’t be deleted.</li><li><strong>Censorship-free:</strong> If it is based on a public and permissionless blockchain, no censorship is possible.</li></ul><p>While these on-chain messaging protocols are mainly focused on special use cases, some characteristics must be considered critically for certain applications.</p><ul><li><strong>Privacy:</strong> As the messages sent are anchored in the blockchain by transaction, this information is generally not confidential (even if the content is encrypted and therefore not publicly readable). If the encrypted messages are stored on-chain or in public decentralized storage, the content is only secure as long as the encryption has not been broken. However, since the encrypted data is irrevocably publicly available, there is no guarantee that the encryption will remain secure in the future, meaning that this data is potentially public. Confidential data should therefore not be stored on-chain or in public decentralized storage.</li><li><strong>Performance:</strong> The performance depends on the underlying blockchain. As a transaction must be executed, this is also a decisive limitation for performance, even if the chain is particularly fast. Even more critical is when more messages need to be sent than transactions can fit in the next block.</li><li><strong>Scalability:</strong> If a blockchain is the base layer for the messages sent, the blockchain is also the limiting factor. If more messages are to be sent than the blockchain can process, the scaling of the messaging application depends on the scalability of the blockchain.</li></ul><h4><strong>Message Relay Networks</strong></h4><p>In contrast to broadcast networks or blockchain-based approaches, peer-to-peer relayer networks are made up of nodes that do not communicate directly with each other. Messages that are sent to a relay node are therefore not forwarded to the other nodes in the network but are only temporarily stored by this node until they are picked up by the authorized recipient.</p><p>The choice of nodes to which recipients wish to have their messages sent is defined exclusively by the recipients themselves. Since recipients can use several relays of their own choice in the network, sufficient decentralization is ensured. In addition, everyone can operate their nodes to be completely self-sovereign.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pQ1DgX7q7dbdw7lRbCaTIA.png" /><figcaption>Messaging Network with Message Relays (Delivery Service) (Principle)</figcaption></figure><p>As there is no centralized service involved, all tasks are performed in the network, including:</p><ul><li><strong>Authentication and Verification:</strong> Relay nodes can be permissionless or may require authentication. Users can run their nodes or connect to existing services. Which nodes are used is defined by the users themselves. Nodes can store any message or only messages of authenticated users.</li><li><strong>Message Routing:</strong> Messages are sent directly to relay nodes designated in the user’s profile. No routing to other nodes is needed.</li><li><strong>Message Storage:</strong> Relay nodes only temporarily store messages until the receiver retrieves them. After successful delivery, these messages are deleted. The storage of the conversations is the responsibility of the clients.</li><li><strong>Message Delivery:</strong> Clients connect to the designated relay nodes to fetch messages addressed to the receiver. As all messages in the network (and stored on the relay nodes) are end-to-end encrypted, only the receiver can read the content.</li><li><strong>Acknowledgment and Confirmation:</strong> The relay nodes can send notifications to the recipient if they have messages ready for him. Confirmations are additional service messages sent the same way to relay nodes of the original sender of the message.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cqaDtE-guF79pl0x0PJrZw.png" /><figcaption>Message-Flow in Message-Relay Network (simplified)</figcaption></figure><p>Messaging protocols, based on message relays, have some advantages:</p><ul><li><strong>Decentralization: </strong>The network is sufficiently decentralized as users can connect to several relay nodes of their own choice and everyone is allowed to run their nodes.</li><li><strong>Censorship-free:</strong> There is no central instance that can censor messages. If a relay node refuses to accept a message, the sender can always use another node.</li><li><strong>Scalability:</strong> Since the network consists of independent nodes that do not (have to) communicate with each other and do not hold redundant data, the capacity can be increased simply by adding more nodes.</li><li><strong>Lean Core Protocol and simple infrastructure: </strong>The core protocol can be realized as a very lean protocol. Also, the core infrastructure is very simple and can be built step by step.</li><li><strong>Interoperability:</strong> Relay-based messaging infrastructures are well suited to establish interoperability with other networks and services. Contrary to centralized services no trust to a central instance is needed. Special relay nodes can act as a gateway to other services. Also, these gateway nodes must not provide other functions as it would be necessary if those nodes were part of a broadcast network.</li></ul><h3><strong>The dm3 network</strong></h3><p>The dm3 protocol provides a messaging infrastructure based on a message relay network. The relay nodes (called delivery service nodes) form a network of independent message relays. All <strong>dm3</strong> users decide which nodes they want to be connected to, including running one or even more self-hosted delivery service nodes. Publishing to which delivery services the user is connected to, allows the sender to determine where to deliver a message.</p><p>Delivery service nodes can also act as gateways to other messaging services, protocols, or networks. These gateway nodes are on the <strong>dm3</strong> side like any other delivery service but are also connected to the other solution. So, these nodes can receive based on the dm3 protocol and inject it into the other service or network and vice versa. With this approach, the <strong>dm3</strong> protocol provides a standardized way to connect messaging solutions to build a connected messaging ecosystem without compromising the privacy and security of existing solutions.</p><h3><strong>Decentralization</strong></h3><p>To build a connected messaging ecosystem that links big and small players, decentralization is essential. It is neither possible nor desirable for a centralized messaging service to act as an authority for interoperability. Others would have to submit to its dictates or at least trust it. This could even reinforce monopolization, as it would give this player additional power.</p><p>The path currently being taken by some services due to regulatory requirements to open up their ecosystem to the outside world through APIs is also not a practicable way to meaningfully build an interoperable messaging ecosystem, as this puts large solutions in an unjustifiably better position than small ones, which would then have to implement a large number of different APIs and would themselves have little chance of the market leaders also addressing their API.</p><p>With a decentralized interoperability protocol, all players are on an equal footing, so interoperability can be implemented by each solution connecting to the ecosystem and leaving it up to its users to decide how they would like to communicate.</p><p>However, a decentralized messaging core protocol that is intended to serve as the foundation for a connected messaging ecosystem must already be able to meet the throughput requirements that are necessary to integrate existing solutions, in addition to security and privacy, in terms of its architecture and infrastructure.</p><h3><strong>Scalability</strong></h3><p>Scalability plays an — if not the decisive role. While niche solutions (as many web3-based solutions currently are) can cope very well with the fact that they cannot currently be scaled to the extent that the market-dominating solutions would require, the situation is different for an interoperability protocol. If this were to break or collapse if successful, it would not only not be suitable but would actually harm the aim of a connected messaging ecosystem.</p><p>The dm3 approach is by design scalable right from the start. The network of independent delivery service nodes (message relays) can be expanded without restriction depending on requirements. If more solutions are integrated (be it new clients that are based directly on <strong>dm3</strong> as the core protocol or existing solutions that are linked via a gateway) and the existing resources (nodes) are not sufficient to handle the traffic, the <strong>dm3</strong> network can be extended accordingly with additional nodes so that the required capacities are available.</p><h3><strong>Conclusion</strong></h3><p>There are various approaches to realizing good messaging solutions. While the currently most popular messengers are implemented as centralized services with closed ecosystems that are currently unable to exchange messages and some even have potential privacy limitations, there are several new solutions, particularly in the web3 environment, that promote decentralized solutions based on web3 technology.</p><p>To achieve interoperability and thus come closer to the goal of a connected messaging ecosystem, a decentralized core protocol is needed that is scalable in addition to the properties of security, good encryption, and privacy.</p><p>The <strong>dm3</strong> protocol is a lean messaging interoperability protocol that is structured as a message relay network. It is built as a decentralized and scalable architecture and can be used as a core messaging protocol for new solutions as well as efficiently integrating existing services and messaging networks without compromising security or privacy.</p><p>The <strong>dm3</strong> protocol is a public good and can be freely used as a messaging core protocol or integrated into existing protocols, services, or applications.</p><blockquote><strong><em>The mission of dm3 is not to replace but to connect!</em></strong></blockquote><p>Learn more about the<a href="https://dm3.network/"> <strong>dm3</strong> protocol</a> and connect with us on<a href="https://twitter.com/dm3protocol"> Twitter</a>, <a href="https://warpcast.com/dm3">Farcaster</a>, or<a href="https://www.linkedin.com/company/dm3-protocol/"> LinkedIn</a>, and join our community on<a href="https://app.cg/community/E8D4eQJbyr?ref=QjkmkNcL"> Common Ground</a> or <a href="https://t.me/dm3protocol">Telegram</a> to stay updated on the latest developments. If you’re interested in integrating <strong>dm3</strong> into your messaging application, don’t hesitate to<a href="https://calendly.com/steffenkux"> schedule a call with us</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce73b2fca7e1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/corpus-ventures/dm3-the-web3-messaging-protocol-decentralized-and-scalable-by-design-ce73b2fca7e1">dm3 — the web3 Messaging Protocol — decentralized and scalable by design</a> was originally published in <a href="https://medium.com/corpus-ventures">Corpus</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>