Common Knowledge of Blockchains retweeted
Our last post explained how blockchain oracles work using @chainlink as an example.
Specifically, how DeFi apps fetch price data through Chainlink’s data feeds.
Today, we’ll go beyond simple price data and explore how oracles can resolve subjective, human-verifiable truths 🧵👇
Most oracles, like Chainlink, continuously push verified data onchain—e.g., ETH/USD prices—so DeFi apps can fetch it at will whenever they need it.
That’s great for objective data that can be pulled from APIs, but what about subjective data that requires human judgment?
This is precisely the type of data that enables innovative decentralized protocols, including onchain prediction markets and RWA and insurance protocols.
Onchain prediction markets like @Polymarket let users bet on real-world outcomes, such as which candidate won a mayoral election or which team won a soccer match.
DeFi protocols like @MakerDAO, @centrifuge, @goldfinch_fi , and @maplefinance tokenize off-chain assets such as T-bills, invoices, and loans.
This means they need to verify human-reported facts, such as whether an offchain loan payment was made or how a diversified T-bill portfolio is performing.
These facts can’t be fetched via an API in real time; instead, they rely on attestations, audits, and other forms of human verification.
In these cases, @UMAprotocol's optimistic oracle comes into play.
Instead of constantly pushing verified data onchain like Chainlink does, UMA flips the model:
It assumes most people act honestly and that disputes are rare, hence the name “optimistic.”
Here’s how it works 👇
When a piece of data needs to be verified—say, “Who won the NYC mayoral election?” or “Did the borrower repay their loan this week?”—anyone can propose an answer to UMA’s oracle.
This proposer must stake collateral (usually $UMA tokens) as a bond with their submission.
This stake acts as skin in the game: if they lie, they lose it.
Once the proposal is submitted, a short challenge window—typically 24 to 48 hours—opens.
If no one disputes the answer, it’s automatically accepted as true, pushed onchain, and the issue is settled.
However, if someone believes that the initially proposed answer is wrong, they can dispute it by posting their own bond as collateral.
If this happens, UMA escalates the dispute to its Data Verification Mechanism (DVM)—a decentralized onchain voting system.
The DVM is composed of $UMA stakers who independently review off-chain evidence, including news, reports, or transaction data, and vote on what’s true.
These votes aren’t coin flips—they require informed judgment.
For instance, to resolve the “Who won the NYC mayoral election?” market on Polymarket, DVM voters check the official election results from the NYC Board of Elections and vote accordingly.
That’s where Schelling-point game theory kicks in.
Voters are rewarded for aligning with the answer they believe most other voters will consider correct.
Since everyone expects the majority to rely on official sources, the safest (and most profitable) move is to vote for the objectively true outcome.
This makes the system self-stabilizing: honest proposers earn rewards, dishonest ones lose their bond, and disputers are rewarded for catching lies but penalized for false challenges.
In short, UMA replaces continuous data feeds with incentive-driven truth discovery.
For prediction markets, it means events can resolve transparently and cheaply.
For RWA and insurance protocols, it means real-world data can be verified without relying on a single trusted intermediary.
Common Knowledge of Blockchains retweeted
Our previous thread explained what blockchain oracles are and why they’re an essential piece of infrastructure for smart contract-enabled chains.
In this one, we’ll dive deeper into how they’re architected to ensure data accuracy and the integrity of onchain data delivery.
🧵👇
First and foremost, it's important to recognize that not all blockchain oracles are created equal or serve the same purpose.
There are considerable design differences among various oracles, such as @chainlink, @UMAprotocol, @BandProtocol, and @.
However, for the sake of simplicity, we will focus on Chainlink—the largest blockchain oracle provider—as our primary example to illustrate how blockchain oracles function.
In our previous thread, we explained why DeFi protocols like @aave can’t rely on a single onchain source such as Uniswap for price feeds.
If they do, they expose themselves to manipulation.
Asset prices on decentralized exchanges are determined by liquidity-pool ratios, which can be distorted by malicious traders making large swaps using flash loans or their own capital.
That’s why protocols like Aave turn to oracle providers such as Chainlink, which—at first glance—seem to solve this problem entirely.
After all, Chainlink doesn’t rely on a single exchange like Uniswap; it aggregates price data from many venues, filters it, and delivers the median value onchain.
But there’s a deeper layer of risk many people overlook.
Even if the underlying data—be it asset prices, weather data, or anything else—is aggregated from dozens of sources, it’s all for nothing if it’s delivered by a single oracle.
Trusting a single offchain actor to behave honestly and remain online reintroduces the same single point of failure as relying on a single data source in the first place.
If that oracle goes down, gets compromised, or acts maliciously, every onchain protocol depending on it is instantly exposed.
This is why Chainlink and most other blockchain oracle providers are designed with decentralization in mind.
More specifically, Chainlink isn’t a single oracle but a heterogeneous network of many decentralized oracle networks (DONs).
Each DON provides a unique oracle service tailored to its users’ needs.
For instance, one DON may provide the ETH/USD price to the Ethereum blockchain, another may provide price feeds for Liquid Staking Tokens (LSTs) to Arbitrum, and a third may transfer tokens cross-chain between Polygon and Solana.
Furthermore, each DON comprises multiple nodes run by different operators, often using their own infrastructure and data sources. These may include Web2 telecommunications providers such as Vodafone, leading data providers, and Web3 infrastructure providers such as Infura.
These nodes independently fetch, sign, and report data before it’s aggregated into a single, consensus-verified value.
For example, a DON consisting of 31 nodes may have each node independently fetch the price data for ETH in USD across multiple centralized and decentralized exchanges and generate its own median value.
Then, all the nodes’ medianized price data is aggregated into a single data point (an oracle report) and delivered by the DON to the intended recipient—e.g., a blockchain app like Aave.
To aggregate the data from multiple nodes into a single data point, Chainlink uses a protocol called Off-Chain Reporting (OCR).
OCR is a system that allows nodes to reach consensus offchain on a single data point.
Here’s how it works:
First, each node in a DON independently fetches data from its chosen sources and shares its signed report with the rest of the network through a peer-to-peer communication layer.
For instance, Node A may report that the price of ETH is $3,120, Node B may say it’s $3,125, Node C may say it’s $3,118, etc.
Once enough reports are collected, the nodes use a consensus algorithm to agree on a single aggregated price of ETH—typically a median of all submissions.
Only one compact report, containing the final result (a single price for ETH in USD) and the aggregated signatures of the participating nodes, is then published onchain.
Once the report is submitted, smart contracts verify its authenticity using those aggregated signatures before accepting it as valid input.
This closes the loop, ensuring that no unsigned or tampered data can ever be injected into the blockchain.
This design drastically reduces gas costs and improves scalability while maintaining full decentralization and verifiability.
Of course, decentralization only works if the nodes within a DON can’t easily collude to manipulate the results.
If a handful of them could coordinate to submit false data, all of this would be for nothing.
To prevent this, Chainlink relies on a combination of cryptographic guarantees, economic incentives, and transparency mechanisms.
👉Each node cryptographically signs its response, making every submission verifiable and publicly auditable onchain. This ensures that any deviation from expected behavior can be traced back to the responsible operator.
👉On top of that, nodes are economically incentivized to report accurately. They stake LINK tokens and earn fees for good performance, but also risk losing revenue, reputation, and potentially staked assets if they behave dishonestly.
Finally, all oracle activity—data updates, node identities, feed parameters, and historical performance—is fully transparent.
Anyone can inspect the onchain reports to verify which nodes participated, when updates occurred, and how results were aggregated.
If certain nodes misbehave or don’t function properly, their reputation (and potentially their revenue) will take a hit, and nobody will rely on them in the future.
In essence, Chainlink’s architecture replaces trust with verification.
By decentralizing data sourcing, aggregation, and delivery—and securing each layer with cryptographic proofs, economic incentives, and full transparency—it ensures that blockchain apps can interact with the real world without sacrificing security or reliability.
Common Knowledge of Blockchains retweeted
Our previous thread gave a bird's-eye overview of onchain prediction markets, focusing on the most popular one, Polymarket.
This one will examine oracles—a critical piece of blockchain infrastructure that makes prediction markets and many other decentralized apps possible. 🧵👇
Let’s start with the basics. 📖
A blockchain oracle is a secure piece of middleware that connects blockchains with off-chain systems, including web APIs, cloud and data providers, enterprise backends, payment systems, and even other blockchains.
They’re a valuable piece of tech because, without them, blockchains can’t access external data on their own. They’re self-contained, deterministic systems designed for security.
Certain blockchains that are primarily focused on payments, like Bitcoin, don’t need them, but smart contract platforms that strive to build expansive DeFi ecosystems can’t really exist without them.
The best way to understand the utility of blockchain oracles is through a practical example. 👇
Imagine you want to borrow 1,000 USDC onchain, using the decentralized money market Aave.
To do this, you need to post some form and amount of collateral.
Aave requires over-collateralization because crypto assets are volatile, and there’s no traditional credit system or credit checks.
It can’t know whether you have the money to pay the loan back, so it requires you to lock up an asset worth more money than you’re borrowing up front.
The protocol does this to protect itself from loans becoming under-collateralized if prices fall—ensuring lenders’ funds remain secure despite market swings.
Now, suppose you only have 1 ETH in your wallet and use it as collateral.
To protect the USDC lenders, Aave must constantly track your loan-to-value (LTV) ratio and make sure the value of your ETH never drops below the safety threshold before liquidation kicks in.
For this to work, Aave obviously needs to know the market price of ETH.
This may sound like a trivial task until you realize that blockchains don’t have a built-in mechanism to know “the price of ETH in USD.”
On Ethereum, ETH is just a native token; the chain itself doesn’t have a concept of “dollars” or “price.”
Like any other asset, ETH’s price is derived from exchange rates on various venues, including off-chain centralized exchanges like Coinbase, Kraken, and Binance, as well as on-chain decentralized exchanges like Uniswap.
Moreover, depending on the liquidity, trading volumes, and other factors, the price of ETH in USD always slightly (or, sometimes, not so slightly) varies between different exchanges.
Now, we already said that blockchains can’t access external data—like the price of ETH on centralized exchanges—on their own, but what about data that’s already onchain, like the price of ETH on Uniswap?
This is indeed possible, but relying solely on the price of ETH on Uniswap is a bad idea for several reasons, including:
1️⃣The price on Uniswap doesn’t reflect the broad market price of ETH, and
2️⃣Uniswap’s price reflects the ratio of tokens in its ETH:USDC liquidity pool (LP), which makes it susceptible to price manipulations.
The second point is especially important.
A trader could, for example, distort the LP’s ratio by swapping a large amount of tokens (relative to the pool’s liquidity), making ETH appear far more or less valuable than it really is.
A malicious borrower could exploit this by artificially pushing ETH’s price on Uniswap, borrowing more USDC from Aave using ETH as collateral, and then letting the pool revert once the transaction is done.
This kind of flash-loan-based price manipulation has caused major exploits in DeFi, and is precisely why Aave doesn’t rely on a single on-chain DEX for prices.
Instead, it uses oracle providers like @chainlink, which aggregate data from many exchanges and data sources, apply outlier filtering and time-weighted averaging, and then deliver a tamper-resistant, consensus-secured price feed to the protocol.
As we’ve seen, both the accuracy of the data and the integrity of how it’s delivered onchain are vital to keeping protocols like Aave securely functional.
In fact, DeFi protocols like Aave are only as secure as the oracles they rely on, which means oracles have a huge responsibility to perform flawlessly.
In the next thread, we’ll break down how oracle are designed to handle that responsibility and deliver trustworthy data onchain.
Common Knowledge of Blockchains retweeted
1/ As part of my work I like to test out privacy products and figure out what works and what doesn’t so I can abuse any design flaws for my investigations.
With the recent hype around Zashi & its Near Intents integration I tested it for Zcash.
Common Knowledge of Blockchains retweeted
The rise of prediction markets might be the clearest sign of product-market fit crypto has had since DeFi.
Where else should the wisdom of the crowd live, if not on open, transparent ledgers?
It’s a match made in heaven.
Yet, many still don’t get what all the fuss is about 🧵👇
Prediction markets are where information meets incentives.
Instead of arguing about what will happen, you bet on it, and prices reveal what the crowd truly believes.
It’s the purest expression of the “put your money where your mouth is” principle.
Oh, you’re sure Powell won’t lower rates at the next Fed meeting? 🤔
There’s an onchain market for it. Bet on it. 🫵
You want to know the odds of something happening?
You can safely ignore the “experts,” the polls, and the biased pundits—prediction markets are where it's at.
The aggregate bets of many people with skin in the game tend to reflect real-world probabilities more accurately than any single expert.
Unlike polls, which capture a static snapshot of sentiment, prediction markets update in real time as events unfold, offering a continuous and more dynamic view of public opinion.
Moreover, people often lie to pollsters, whereas on prediction markets, there’s real money at risk, meaning they’re only expressing high-conviction opinions.
Can the crowd be wrong? Of course, but the point is, it’s statistically way less likely than single experts.
Now, how do onchain prediction markets work?
Obviously, @Polymarket is currently the most popular and liquid onchain prediction market, so we’ll use it as an example.
On Polymarket, each market corresponds to a Yes/No question with a future outcome.
For example: “What will the Fed’s decision regarding interest rates be in October?”
Outcomes:
a) 50+ bps decrease
b) 25 bps decrease
c) No change
d) 25+ bps increase
For each outcome, you can buy “Yes” shares (if you think it will happen) or “No” shares (if you think it won’t).
Each “Yes” share trades between $0 and $1, where the price reflects the implied probability of that outcome.
Moreover, each share in the market represents a claim that pays $1 if true, and $0 if false.
For example, the market is currently pricing the “Yes” shares for the “25 bps decrease” outcome at 95 cents, implying the crowd believes there’s a 95% chance the Fed cuts rates by 25 bps in October.
If you think the crowd is wrong, you could, for example, buy 20,000 “No” shares at 5¢ each with $1000.
If the Fed doesn’t cut rates by 25 bps, those “No” shares will each pay out $1, turning your $1,000 into $20,000.
The cool part? There’s no bookie, no middleman, no back office tracking who owes what; it’s all handled by smart contracts on the Polygon blockchain.
And instead of an order book, Polymarket uses a special automated market maker (AMM) built specifically for binary outcomes, powered by the Logarithmic Market Scoring Rule (LMSR) formula.
Think of it as Uniswap for Yes/No shares. 🙂
Under the hood, each market starts with a pool of USDC collateral.
As traders buy and sell, the AMM automatically adjusts prices so the total probabilities hover around 100%.
More “Yes” buyers → price goes up → higher implied probability.
More “No” sellers → price goes down → lower implied probability.
This ensures two things:
👉Dynamic probabilities: Prices instantly reflect new information.
👉Continuous liquidity: You can enter or exit anytime, no need to wait for the market to resolve.
Perhaps more importantly, you’re not betting against the “house” like in traditional sports betting, but against other people.
Meaning, there’s no “house” to ban you for winning too big. 😉
However, if there’s no house, then who decides which outcome actually happened?
Using our earlier example, once the Fed announces its decision, the Polymarket question needs to be resolved so the smart contract knows which outcome came true and how to settle the shares.
That’s where @UMAprotocol's Optimistic Oracle comes in.
On Polymarket, anyone can propose an outcome (e.g. “The Fed raised rates by 25 bps”) by putting up a bond in USDC.
If the proposal is wrong or dishonest, that bond is forfeited—a built-in deterrent against bad actors.
If nobody disputes the proposal during a short challenge window, the oracle accepts it as truth, and the smart contract automatically pays out the winning shares.
But if someone does dispute it (also by posting a bond), UMA’s dispute-resolution layer steps in.
Here, UMA tokenholders who’ve staked their tokens vote on which side—proposer or disputer—was correct.
After voting ends, the majority decision becomes the onchain “truth.”
As you might’ve noticed, UMA plays a key role in Polymarket, turning real-world facts into onchain truth.
And it’s not just prediction markets; oracles like @chainlink and UMA are at the heart of the entire DeFi ecosystem.
That’s why our next deep dive will focus on how oracles work and why they matter. ⚙️
Common Knowledge of Blockchains retweeted
Replying to @ckbsamurai @CommonKnowledg_
Every time the chart mentions anonymity sets in the Zcash context, it's wrong.
Once you enter the shielded pool, your anonymity set becomes 1 in 3 million. Doesn't matter how many people use the network around the same time.
Common Knowledge of Blockchains retweeted
With $ZEC pumping 140% in a week, you're probably wondering why? And perhaps, why not Monero? What are the differences between the two?
Here's a quick comparison 👇
Common Knowledge of Blockchains retweeted
Welcome to Part 6️⃣ of our Onchain Privacy series! 🥷💰
After covering Bitcoin and Ethereum privacy protocols, then diving into Zcash, we now turn to another privacy-first blockchain: Monero.
It’s the original privacy coin, and remains king among the category for good reasons 👇
Launched in 2014—two and a half years before Zcash—Monero was the first privacy-focused blockchain to gain real traction.
A decade later, despite growing competition, it remains the most widely adopted privacy coin.
Unlike its biggest rival, Zcash, which comes with opt-in privacy, Monero has full-on privacy by default.
To achieve this, it uses several cryptographic primitives:
👉 Ring signatures hide the sender;
👉 Stealth addresses hide the receiver;
👉 Confidential transactions hide the amounts;
👉 The Dandelion++ protocol obscures the IP address of the devices producing the transactions.
Here’s how each component works 👇
⭕🖊️ Ring signatures are a cryptographic technique that let someone authorize a transaction without revealing which key they actually used.
Instead of pointing directly to a single past output, like Bitcoin does, Monero transactions reference a “ring” — a group of possible outputs consisting of the real one plus several decoys pulled from the blockchain. All outputs in the ring appear equally likely to be the real spend to outsiders.
To spend the output, the sender produces a linkable ring signature that proves two things:
1️⃣ They control one of the outputs in the ring.
2️⃣ That output has not been spent before (enforced via a unique “key image” fingerprint).
Result: Outsiders can’t tell which output was real and which were decoys, ensuring the sender’s anonymity.
🥷📨 Stealth addresses are a clever cryptographic construction that ensures that a recipient’s true wallet address never appears on the blockchain.
Unlike Bitcoin, where an address corresponds to a single public–private key pair, a Monero address is made of two public keys: 1️⃣the view key, which allows the owner to scan the blockchain for payments, and 2️⃣the spend key, which is required to actually spend those funds.
When a sender transfers XMR, they don’t post the recipient’s address directly. Instead, they generate a random value (an ephemeral scalar) and use it with the recipient’s public view key to derive a transaction public key, which is included in the transaction.
From this, they create a one-time destination key that looks like a completely unrelated, random address on the blockchain.
Then, the receiver can scan the chain with their private view key and recognize that this one-time output belongs to them. Once identified, they use their private spend key to calculate the matching one-time private key that unlocks the funds.
Result: To outsiders, each output looks like it belongs to a brand-new random address, making it impossible to link payments to the recipient’s actual wallet.
💰🔒 Confidential transactions hide the amounts being transferred while still allowing the network to verify that no coins are being created or destroyed.
Unlike Bitcoin, where every output clearly states the number of coins it holds, the coin amounts in Monero are hidden inside commitments.
You can think of these cryptographic commitments as tamper-proof envelopes: everyone can see the envelope onchain, but nobody can peek inside.
A cool feature of these envelopes is that they’re mathematically verifiable: if you add all the “input envelopes” and subtract all the “output envelopes” plus the fee, the math balances.
This means that the network can verify that the transaction isn’t creating coins out of thin air, even though it can’t see the actual XMR amounts hidden inside the commitments.
To outsiders, every transaction amount looks like a random blob of data—nobody can tell whether the transaction is sending 10 or 50 XMR.
🥷🛜 Dandelion++ changes how transactions are broadcast across Monero’s network, making it far more difficult to trace them back to the IP address of the sender.
In Bitcoin and many other cryptocurrencies, wallets immediately broadcast new transactions to all their peers, which potentially allows network observers to correlate timing and link it back to its origin.
Monero avoids this by first sending the transaction along a random, single-node “stem” path, where it quietly or stealthily hops between a few nodes—and only then is it broadcast widely to the entire network.
This two-stage process further breaks the direct link between a transaction and its source, adding another strong layer of anonymity on top of Monero’s on-chain privacy features.
The ultimate result?
A cryptocurrency where every transaction is unlinkable, untraceable, and confidential, offering the strongest privacy guarantees of any blockchain in use today.
Common Knowledge of Blockchains retweeted
Enter Part 5️⃣of our Onchain Privacy series! 🥷
In our previous posts, we covered Bitcoin's CoinJoin and Ethereum's TornadoCash and RAILGUN privacy protocols.
Today, we’ll dig into Zcash—an L1 chain built for privacy from the ground up.
Let's jump right in 👇
Launched in October 2016, Zcash is a privacy-focused cryptocurrency that has undergone several protocol updates since its inception and still remains under continuous development.
Fun trivia 👇
Zcash originally required a trusted setup because its zk-SNARK proving system needed public cryptographic parameters derived from a secret random value.
If that value survived, it could let someone forge proofs and mint counterfeit $ZEC undetectably.
To prevent this, Zcash held a global multi-party ceremony where participants each contributed randomness and destroyed their share of the secret.
The idea was that, as long as one person was honest, the secret could never be reconstructed.
The event became legendary, with Edward Snowden revealing in 2022 that he was one of the participants.
For all of you nerds out there, this podcast on The Ceremony is an awesome listen: radiolab.org/podcast/ceremon…
Now, the tech 👇
In 2022, Zcash introduced Orchard, its latest shielded pool, which utilizes the Halo 2 proof system to facilitate private transactions without requiring a trusted setup.
Because Zcash started as a fork of Bitcoin, the easiest way to understand it is by comparing it to Bitcoin.
In Bitcoin, coins are represented as unspent transaction outputs or UTXOs.
Each UTXO is locked to a public key (an address). To spend one, you present a valid signature proving you own the corresponding private key.
A Bitcoin transaction is a list of inputs (spent UTXOs) and outputs (new UTXOs).
Because the entire Bitcoin ledger is public, everyone can see:
→ Which inputs are being spent,
→ Which addresses receive the new outputs,
→ And how many satoshis are transferred.
This transparency makes Bitcoin easy to audit, but it also means anyone can trace your transaction history.
Zcash differs in that it has two types of addresses:
→ T-addresses, which are public, and work exactly like in Bitcoin (UTXOs)
→ Z-addresses, also known as shielded addresses, which are entirely private and hide the sender, the recipient, and the amount of ZEC transferred.
So, if all coins in Bitcoin exist in a single transparent value pool, in Zcash, coins exist in two value pools: one transparent (UTXOs) and one private (notes and commitments).
You can think of the value pools as bookkeeping categories at the consensus level that the chain uses to enforce supply balance or keep track of the total coin supply.
This means that every transaction moves $ZEC either:
→ Inside the same pool (transparent to transparent, or shielded to shielded), or
→ Transfers between pools (transparent to shielded, and vice versa).
When coins are transferred between different pools, the amount transferred is revealed, allowing the chain to track the coin supply.
Inside shielded pools, value is carried as notes rather than UTXOs.
A note is like a locked envelope containing:
→ The amount of $ZEC being transferred
→ The destination z-address (shielded payment address)
→ Random data to ensure uniqueness
Notes are created as outputs (think private UTXOs) of shielded transactions every time you send ZEC to a shielded address.
And every time one is created, a note commitment—a cryptographic fingerprint derived from the note’s contents (amount, recipient, randomness)—is published onchain.
The note commitment is essentially a verifiable public marker that says, “this note is real and part of the ledger,” without disclosing its contents.
Then, when you spend a note (send your $ZEC to a z-address), you don’t directly reference the commitment (like Bitcoin consumes inputs to create outputs with UTXOs), but instead publish a nullifier.
The nullifier is a one-time, serial-number-like value derived from the note and your secret key.
Once revealed, the nullifier marks that note as “spent.”
Crucially, no one can link the nullifier back to the original note commitment, which prevents double-spending without compromising privacy.
Besides the note commitment and the nullifier, every shielded transaction also contains a zk-SNARK proof that ties everything together.
This proof, published onchain as part of the transaction data, convinces all network nodes that:
→ The inputs you’re spending really exist in the shielded pool.
→ You actually own them (you know the right keys).
→ You haven’t spent them before.
→ The total inputs equal total outputs (no money creation).
Obviously, the zk-SNARK proof does this without revealing which notes you spent, who you’re paying, or how much you’re transferring.
What makes Zcash unique, especially compared to Monero, is that its privacy is optional and flexible.
You can choose to send transactions transparently, just like on Bitcoin, or you can transact entirely in the shielded pool, where amounts and addresses remain private.
Even when you opt for full privacy, Zcash gives you the ability to selectively share information later.
With viewing keys, you can grant someone access to see only your incoming deposits, or both your deposits and withdrawals.
This feature enables auditability and regulatory compliance when needed—without sacrificing privacy as the default.
🧵🔚
Stay tuned for our next explainer on Monero!
Common Knowledge of Blockchains retweeted
Enter Part 4️⃣ of our Onchain Privacy series! 🥷
Our previous thread examined @TornadoCash and how it allows you to break the onchain link between your Ethereum accounts.
Today is all about RAILGUN, a multi-chain privacy protocol much more potent than Tornado 🌪️
Check it 🧵👇
@RAILGUN_Project is a zero-knowledge smart contract system that allows users to privately interact with DeFi protocols on Ethereum, BSC, Polygon, and Arbitrum.
You can think of it as a Tornado on steroids.
Unlike Tornado, where you can make fixed-amount deposits from one address and withdraw them to another without linking the two, with RAILGUN, you can deposit any ERC-20 token or ERC-721 NFTs, use them across the DeFi entirely privately, and then withdraw any amount and token to a fresh account.
This means that you can trade and yield farm onchain without anyone being able to track your activities.
Here’s how it works 👇
Suppose you want to swap 5 ETH for USDC privately.
Step 1️⃣ — Download a RAILGUN-powered wallet
Interacting with the protocol requires you to use a RAILGUN-powered wallet or a frontend.
There is no single official wallet; instead, you can choose any of the apps or frontends listed at railgun.org/wallets.
Your current best option is the @Railway_xyz for iOS, Android, Windows, and macOS.
Creating a RAILGUN-powered wallet gets you a designated 0zk address, along with a seed/backup and two keys: a viewing key and a spending key (derived from the seed).
It is essential to understand that the 0zk address is neither an Ethereum EOA (Externally Owned Account), a smart contract, nor an Account Abstraction (AA) account.
Instead, you can think of the 0zk address as your RAILGUN identity inside the shielded pool.
Step 2️⃣— Deposit (shield) your ETH into RAILGUN
On the UI side:
When you open the Railway wallet, you’ll be asked to import or connect your existing Ethereum wallet, or create a fresh one.
After you do:
> select the tokens you want to shield (5 ETH) from your public 0x wallet
> click on the SHIELD/DEPOSIT button
> approve the transaction inside your MetaMask wallet
When you click the “Private Mode” button inside the Railway app, you’ll see your shielded ETH in your private 0zk address.
In the background:
What has actually happened onchain is that your ETH is transferred to a RAILGUN smart contract on Ethereum (or some of the other supported chains).
The contract mints an encrypted note (commitment) for your 0zk address and inserts it into a Merkle tree.
The note’s existence is public (as a commitment), but who owns it and its plaintext (amount/token/recipient) are hidden.
Only you can decrypt the note inside the Railway wallet.
How it looks onchain:
Your onchain deposit of 5 ETH to the RAILGUN contract is obviously public—there’s no hiding L1 transactions.
However, once you’ve deposited your assets into the contract, anything you do from there is private.
And when you withdraw your assets to a fresh Ethereum account, it's practically impossible for anyone to link your deposit address with your withdrawal address—just like with @TornadoCash.
Step 3️⃣— Privately swap ETH for USDC
On the UI side:
Go to dApps section in your Railway wallet and choose the “Railway DEX.”
This is a @0xProject-powered DEX that taps into the liquidity of over 150 exchanges.
Then, prepare to swap 5 ETH for USDC and click on the “review order” button.
When you do, you’ll see an option to choose between “self broadcast” and a “public broadcaster.”
Pick the latter, and execute the transaction.
A public broadcaster is essentially a relayer—an EOA owned by someone else that signs and pays the gas for your private transaction for a fee, so you don’t have to dox your public 0x account.
Under the hood, your Railway wallet:
→ Picks your private ETH “notes” that add up to ≥ 5 ETH.
→ It builds one zk-proof that basically says “these notes are mine, unspent, and the math checks out (inputs = outputs + relayer fee)” without revealing which notes or amounts.
→ Inside that proof, it also says “call Uniswap to swap 5 ETH to USDC and send the resulting USDC back into RAILGUN.”
→ The wallet creates new private outputs or new encrypted notes for the USDC sent to your 0zk address, and the fee note to the relayer’s 0zk for the service. This way, the relayer or “public broadcaster” also gets paid privately for broadcasting your transaction.
→ It bundles the proof + encrypted outputs + Uniswap call data into one package and hands it to the relayer off-chain to submit on-chain (or you could submit yourself, but that exposes your 0x gas payer account).
Step 4️⃣— Broadcast & Execution
The relayer (their 0x):
→ Sends your package to the RAILGUN contract and pays the gas.
Onchain, the RAILGUN contract:
→ Checks the proof (notes were yours, unspent, math balances, allowed to call Uniswap).
→ Consumes your notes (marks their nullifiers as used).
→ Executes the swap (RAILGUN > Uniswap > Back to RAILGUN)
→ Issues new private notes: USDC for your 0zk, and a fee note for the relayer’s 0zk address (both encrypted).
Outsiders can only see that the RAILGUN contract has interacted with Uniswap, the swap amounts, and the gas payer’s 0x address.
Because the gas payer is a relayer's 0x and not yours, the transaction can't be traced back to public 0x account.
Nobody can know who triggered the swap, or which notes were spent, or who got the USDC note.
Essentially, the link between the public swap and any specific user or deposit is obscured.
Aftermath:
Inside RAILGUN, your 0zk address, which only you can inspect and control via the Railway wallet, holds the USDC as private nodes.
From here, you have numerous options:
👉Keep your USDC shielded and keep trading onchain privately.
👉Pay someone privately with your shielded USDC inside RAILGUN. All they have to do is provide you with their 0zk address.
👉Withdraw your USDC to a fresh 0x address, breaking the link between the public account you used to deposit into RAILGUN and your new public account.
How good is RAILGUN’s privacy?
Like with any other similar protocol, it depends on the anonymity set.
If there are millions in ETH deposits and USDC withdrawals from hundreds of accounts, then your privacy is essentially guaranteed.
However, if you’re the only one who has deposited PEPE and withdrawn the same amount of PEPE to a fresh 0x address, then it would be to connect your deposit and withdrawal addresses.
In short, your privacy grows the longer your assets stay shielded inside RAILGUN and the more people use RAILGUN to privately transact or interact with DeFi.
🧵🔚
Stay tuned for our next post, where we'll dig into privacy coins like Monero and Zcash.
Common Knowledge of Blockchains retweeted
Dear Blockchain: Say Hello to RISC-V
youtu.be/QHjmykiyT5Q
Common Knowledge of Blockchains retweeted
Enter Part 3️⃣ of our Onchain Privacy series! 🥷
In Part 2, we examined CoinJoin transactions—the most popular primitive for maintaining privacy on Bitcoin.
Today, we’ll explore privacy on Ethereum, starting off with its most popular privacy protocol, Tornado Cash.
🧵
First, the problem 👇
Privacy on Ethereum is tricky because user accounts are sticky.
Unlike Bitcoin—where you’re encouraged to generate a fresh address for each payment—Ethereum ties you to a single, persistent, public account.
Your account being public means your full transaction history and balance are always visible.
Anyone can look it up in seconds on a blockchain explorer like Etherscan.
Every time you share your Ethereum address—whether with a friend, a client, or a business partner—you’re effectively doxing your wallet and revealing your entire onchain financial history.
Imagine if giving someone your bank account number allowed them—and everyone else, really—to see your liquid net worth, income, spending habits, where you went on holiday last summer, where your kids attend school, your medical bills, and more.
That would be insane, right?
But that’s the reality of Ethereum today.
🌪️ This is exactly what Tornado Cash was created to solve 🌪️
It’s a privacy protocol that allows users to break the onchain link between a depositing address and a withdrawing address using zero-knowledge proofs.
If your wallet gets doxed, Tornado allows you to move your funds to a fresh wallet without anyone being able to link the two.
Here’s how it works 👇
1️⃣You pick a fixed-denomination pool, e.g., 0.1, 1, 10, 100 ETH, or a token pool like DAI. Forcing everyone to deposit and withdraw the same amount makes it much harder to do “amount fingerprinting” and link deposits to withdrawals.
2️⃣Your wallet locally creates a so-called “deposit note” by generating two secrets (a nullifier and a secret) and hashing them into a commitment.
3️⃣You deposit the pool amount (say, 1 ETH) and submit the commitment to the Tornado smart contract. The contract inserts the commitment into the Merkle tree, updates the Merkle root, and records the deposit. The dApp displays a note string (an export of your secrets) for you to save securely.
4️⃣Now, you wait. As more people deposit into the same pool, the “crowd” you blend into grows. Ten self-deposits into a quiet 1 ETH pool, followed by ten withdrawals from the same wallet, are trivial to link. However, if you wait until hundreds of unrelated deposits have accumulated, linking your deposit and withdrawal becomes much harder.
5️⃣When you decide to withdraw your funds to a fresh wallet, you or a relayer on your behalf will call the contract with a zk-SNARK proof (the note the dApp gave you to save) that shows:
👉Your deposit commitment exists somewhere in the contract’s Merkle tree (meaning, you did indeed deposit);
👉You haven’t withdrawn the deposit before (you aren’t attempting to double-spend);
👉The contract should pay the fixed amount to your recipient address (ideally, a fresh address you’re providing) and optionally a fee to a relayer.
If the proof verifies, the contract marks that nullifier as spent and transfers the funds.
6️⃣Optionally, but also highly recommended, if your fresh address has no ETH to pay for gas, you can use a relayer. For a small fee, the relayer will broadcast the withdrawal transaction for you, allowing you receive the funds in a fresh address without ever funding it with ETH for gas.
What outsiders see? 👀
Observers monitoring the chain, specifically the 1 ETH Tornado pool, see a number of deposits from various addresses being added to the pool, as well as a corresponding number of withdrawals from different addresses being removed from the pool.
Because the proofs hide which deposit was whose, and all the deposits are the same amount, your withdrawal could be any earlier deposit in that pool.
That’s your “anonymity set.”
What could break the privacy? 🔍
👉Depositing and withdrawing in a tight window can potentially correlate you.
👉Funding the new address from your old wallet.
👉Using the fresh wallet to interact with old wallets later.
👉Small/quiet pools (low TVL/volume) = small anonymity set.
Is Tornado legal to use?
Depends on your jurisdiction, but generally, yes.
In August 2022, the US Treasury Department added Tornado smart contracts to the sanctions (SND) list, prohibiting US citizens from using it.
However, in March of this year, the Treasury Department lifted the sanctions, following a 2024 court ruling that determined Tornado Cash's immutable smart contracts could not be considered "property" of a foreign entity and therefore were beyond the scope of sanctions.
It is currently legal for US citizens to use Tornado.
Is using Tornado considered money laundering?
No.
Money laundering is about concealing criminal proceeds.
Using a privacy tool with legitimate funds is perfectly legal.
🧵🔚
Stay tuned for our next explainer on privacy wallets, stealth payments, and zk-apps & layer 2s with privacy features.
🫡
Common Knowledge of Blockchains retweeted
Enter Part 2️⃣of our Onchain Privacy series! 🥷👀
In the previous thread, we highlighted the radical transparency of public blockchains and explained why onchain privacy is essential.
Today, we’ll dig into CoinJoin—the most popular privacy-preserving primitive on Bitcoin.
But first, some context: Bitcoin’s privacy solutions are built on the unspent transaction output (UTXO) model.
Unlike Ethereum’s account-based system, which works like a bank account tracking balances, the UTXO model is more like cash, where each output functions as a distinct banknote that can be spent independently.
Put simply:
➡️ On Ethereum, accounts hold balances.
➡️ On Bitcoin, individual coins (UTXOs) have owners.
The first puts accounts at the center; the second puts coins at the center.
And this fundamental difference shapes how privacy is pursued on each chain:
➡️ On Ethereum, privacy means breaking the link between accounts.
➡️ On Bitcoin, privacy means breaking the trail of transaction history.
How UTXOs work:
Transactions in a UTXO-based blockchain consist of inputs and outputs.
Inputs are previously created UTXOs being spent, while outputs are the new, unspent “coins” generated by the transaction.
Each transaction consumes one or more UTXOs as inputs and produces new UTXOs as outputs.
What your Bitcoin wallet shows as a single “balance” is actually an abstraction—the software simply aggregates all the UTXOs linked to your public key. When you spend, your wallet selects the necessary UTXOs and unlocks them with a valid signature.
Why UTXOs aren’t private:
Since all Bitcoin transactions are public, anyone can map the entire UTXO graph and trace the flow of coins forward and backward throughout the chain.
Using different heuristics, analysts can build transaction graphs that cluster addresses and potentially deanonymize users.
For example, if two UTXOs are combined in the same transaction, it’s highly likely they belong to the same wallet.
Moreover, if you want to spend 0.7 BTC but only have three UTXOs worth 0.3 each, you must combine them. The transaction will consume all three inputs and create two outputs: 1️⃣ 0.7 BTC to the recipient, and 2️⃣0.2 BTC change back to you.
Keen observers can often identify which output is the change, linking it to your wallet cluster.
And that’s exactly the problem CoinJoin was created to solve. 🥷
CoinJoin is a trustless method for combining multiple Bitcoin payments from multiple spenders into a single transaction, making it far harder for outsiders to see who paid whom.
Each participant in a CoinJoin transaction provides inputs (their UTXOs) and defines their intended outputs.
The transaction is then constructed in such a way that, from the outside, it’s nearly impossible to tell which inputs correspond to which outputs, breaking the transaction trail.
Different CoinJoin implementations, such those by the Wasabi or Samourai wallets, have their own unique twists, but the underlying principle remains the same.
Here’s what it looks like in practice: 👇
1️⃣Users coordinate for the CoinJoin transactions: Several people agree to combine their payments into one big Bitcoin transaction, which usually involves joining a centralized coordinator (server) or a marketplace (e.g., JoinMarket), which assembles the single joint transaction without ever taking custody of the funds. The connection typically goes over Tor, so that users don’t leak their IP addresses to the coordinator or anyone else.
2️⃣Users pick a “plan”:
👉Equal-amount style (e.g., Samurai’s Whirlpool): All participants in the CoinJoin transaction target the same output size, such as 0.25 BTC. This maximizes ambiguity because many identical outputs appear.
👉 Variable-amount style (e.g., Wasabi/WabiSabi): The output amounts for each participant can differ. For example, Alice may send a 0.3 BTC input, and withdraw any combination of denominations (e.g., 3 x 0.1 BTC or 2 x 0.15 BTC). At the same time, Bob may input 0.4 BTC and receive two outputs of 0.2 BTC each. This method requires the coordinator to issue anonymous credentials (using blind signatures and zero-knowledge range proofs) for each input.
3️⃣Register inputs: Each participant proves they control specific UTXOs (inputs) and commits to join the round.
4️⃣Register outputs: Participants submit fresh addresses for their outgoing coins. Modern CoinJoin designs allow this to be made privately, without the coordinator learning which outputs belong to whom.
5️⃣The coordinator builds the single transaction combining all participants’ inputs, the agreed outputs, and any change outputs left.
6️⃣Each participant then inspects the unsigned transaction (usually a PTSB) and signs their own inputs.
7️⃣Once all signatures are collected, the coordinator broadcasts the fully signed transaction to the Bitcoin network to be picked up by a miner and included in a valid block.
On-chain, observers see a multi-input, multi-output transaction with many indistinguishable outputs.
(The anonymity set grows with the number of participants, and especially with the number of indistinguishable outputs.)
Because the outputs are indistinguishable, they can’t be mapped to their “corresponding” inputs, breaking the transaction trail.
To summarize 👇
CoinJoin transactions break the clean ownership trail of Bitcoin’s UTXO model, allowing users to move funds into new wallets without outsiders being able to link inputs and outputs.
While not a perfect solution (change outputs, timing, or poor wallet practices can still leak info), CoinJoin remains the most widely used primitive for improving privacy on Bitcoin today.
In the next part of our Onchain Privacy series, we’ll explore privacy solutions on Ethereum.
Stay tuned. 🔒
Common Knowledge of Blockchains retweeted
Enter Part 1️⃣of our Onchain Privacy series! 🥷👀
Why are blockchains such surveillance hellscapes? Why is onchain privacy so important? How do privacy protocols like TornadoCash, CoinJoin, or Aztec work, and is it even legal to use them?
This thread pulls back the curtain 🧵👇
In Bitcoin’s early days—when it was the currency of choice on darknet markets—many users wrongly assumed that pseudonymity meant anonymity.
The myth of “cryptocurrency=privacy” was widespread.
Luckily, today, we know better: blockchain and privacy often exist on opposite ends of the spectrum.
Public blockchains, such as Bitcoin and Ethereum, are radically transparent at the protocol level: all transactions are recorded on an immutable ledger and remain visible to everyone forever.
This feature is a double-edged sword; on one hand, it’s what makes blockchains trustless, auditable, and censorship-resistant, on the other, it’s a privacy hellscape for the users.
➡️Wallet addresses (public keys)
➡️Transaction amounts, timestamps, and sender and recipient addresses
➡️Total wallet balances (if address is reused)
➡️Smart contract calls (e.g., DEX swaps, LP deposits, interactions with privacy protocols like Tornado)
All of the ☝️ information is publicly visible and can be tracked, aggregated, and analyzed, often deanonymizing users over time.
And if you’re one of those people who don’t care about onchain privacy because they’ve “got nothing to hide,” here’s why that line of thinking is wrong and potentially even dangerous 👇
⚠️You live under a totalitarian regime and have donated to a politically undesirable entity or cause? Straight to jail.
⚠️You’re a journalist receiving funding from abroad to report on government corruption? Labeled a foreign agent.
⚠️You’re LGBTQ+ in a country where it’s criminalized, and bought a sex toy using crypto? That purchase is now public forever.
⚠️You bought abortion pills using crypto in a U.S. state where it’s illegal? Straight to jail.
⚠️You’re a freelancer who gets paid in crypto? Now every client knows your income, holdings, and spending patterns.
⚠️You’re a company that pays its employees in crypto? Now, everyone, including your direct competitors, is aware of your payroll.
The list goes on and on, but if you’re still unfazed, just look into the recent wave of phishing and wrench attacks on unsuspecting crypto users.
Crypto holders whose personal information had been exposed (often through data breaches at centralized exchanges or CeFi platforms they KYC’d with) are now facing relentless phishing, impersonation, and harassment by scammers and criminals.
Even worse, in just the past few months, there have been dozens of reported cases where crypto holders were attacked, kidnapped, or even tortured—targeted solely because criminals deanonymized their wallets and saw how much they held.
To put it bluntly, onchain visibility can be lethal, even if you think you’ve got “nothing to hide.”
To help you stay safe and private, the rest of this series will break down the leading onchain privacy protocols—how they work, what they protect, and where their limitations lie.
Stay tuned 🧵
Common Knowledge of Blockchains retweeted
Enter Part 4️⃣of our Bitcoin Rollup series!
In our previous threads, we provided a broad overview of the Bitcoin “rollup” space and conducted in-depth analyses of @citrea_xyz and @AlpenLab.
Today, we’re spotlighting @buildonvia. 🧵👇
Via markets itself as a Bitcoin modular sovereign zk-rollup.
It runs an EVM-compatible zkEVM built upon the ZK Stack (the open‑source framework behind zkSync) for execution, uses Celestia for data availability (DA), and anchors batches/proofs to Bitcoin.
Similar to Celestia and Alpen, Via users pay L2 gas fees in BTC.
Being EVM-compatible means devs can port their Ethereum contracts to Via with minimal to no changes.
Via calls itself a “sovereign rollup” because it puts its batch data/proofs on Celestia and only anchors commitments/attestations to Bitcoin, while correctness and finality (fork choice) are decided by Via itself or its verifier network, not an L1 contract.
Here’s the high-level picture of its architecture:
▶️Sequencer: Processes L2 transactions and aggregates them into batches. It’s also responsible for submitting transaction data to Celestia and inscribing relevant data to the Bitcoin blockchain.
➡️Prover: Generates validity (SNARK) proofs that attest to the correctness of the transactions processed off-chain. Instead of posting the full proof to Bitcoin, Via inscribes a reference (blob id) to Bitcoin while storing the entire proof and calldata on Celestia.
➡️Verifier Network: Fetches the proof & data from Celestia, verifies the proof off-chain, and inscribes the attestations to Bitcoin. It also processes L2➡L1 withdrawals.
Currently, the sequencer and prover are both run by Via, and the the Verifier Network (a set of designated verifier nodes) is permissioned.
So, what does this modular setup achieve?
👉 Via itself handles the execution and settlement.
👉Celestia, which has high throughput and cheap transaction fees, serves as the DA layer, storing the full transaction and proof data.
👉Bitcoin is relied upon only for finality but does not verify proofs. According to Via’s rules, an L1 batch is final once a majority of verifiers attest that its ZK proof is valid, with those attestations anchored on Bitcoin for decentralized auditability.
For the uninitiated, finality means that the batch’s transactions and state changes are treated as permanent and irreversible.
Here’s what this means in terms of security assumptions:
➡️The sequencer is centralized, meaning it can censor, reorder, or halt transactions.
➡️Bitcoin doesn’t verify proofs; the permissioned Verifier Network attests to them, which means that if the verifiers collude, they could attest to invalid proofs.
➡️The MuSig2 bridge is currently fully custodial. The current testnet setup requires all verifiers to sign (withdrawal transactions) for liveness, and only one honest verifier for safety. This means that if any verifier is offline, withdrawals are halted.
Moreover, the current design lacks slashing and dynamic membership and requires a coordinator to manage signing sessions. Consequently, if all verifiers collude or the coordinator is compromised, they could potentially steal funds.
This concludes our overview of Via.
Stay tuned for our next 🧵, where we'll put Citrea, Alpen, and Via head-to-head and compare their security assumptions.
Common Knowledge of Blockchains retweeted
Enter Part 3️⃣of our Bitcoin Rollup series! 🗞️
Part 1 provided a bird's-eye overview of so-called "rollups" in the context of Bitcoin, whereas Part 2 covered the longest-running Bitcoin rollup on testnet, @citrea_xyz.
Today, we're digging into @AlpenLabs 🧵👇
Alpen is an EVM-compatible validity rollup that runs a Type 1 zkEVM (fully Ethereum-equivalent, meaning developers can port their Ethereum contracts to Alpen with zero changes) based on the Reth execution client.
It currently runs on a private Bitcoin testnet (signet), which uses AlbenLabs-operated full nodes, sequencer, and bridge operators.
Unlike Citrea, which utilizes Bitcoin for data availability and validity, Alpen uses Bitcoin solely for consensus and data availability.
Here's what that means 👇
Alpen currently runs a centralized sequencer that orders transactions based on fees (the default algorithm used by the Reth client) and builds blocks every five seconds.
Each new block is executed against the current Alpen chain state, and after verification, it's added to the chain and propagated to Alpen full nodes that are listening for new blocks.
The sequencer groups the recent L2 blocks into a "batch," where the first block of the new batch immediately follows the final block of the previous batch.
A batch is a collection of Alpen blocks associated with a single "checkpoint," a compressed data structure inscribed onto the Bitcoin blockchain that contains the batch information, state commitment, and proof.
When the sequencer creates a new batch, a prover takes this batch and generates a recursive validity proof.
This proof enables clients to verify that all state transitions from the genesis block to the latest block are valid, by only needing to check the most recent batch proof.
The sequencer packages the proof + batch metadata + new state root into a compressed "checkpoint," then posts it to Bitcoin via a commit-and-reveal (Taproot envelope) transaction pair.
Once the Bitcoin transaction revealing the checkpoint has six confirmations, Alpen full nodes treat that batch (and its L2 blocks) as finalized.
Now, here comes the kicker 👇
Unlike Citrea, which utilizes BitVM to orchestrate a fraud-proof game executable in Bitcoin script (and enforced by L1 miners) to enforce disputes on-chain, Alpen doesn’t arbitrate L2 correctness on Bitcoin.
Instead, proofs are verified entirely off-chain by Alpen clients.
So, what happens if the prover posts a bogus proof to Bitcoin?
The clients/full nodes will reject it and the chain won’t advance until a prover posts a checkpoint with a valid proof.
In other words, the L2’s liveness can stall, but its safety won’t be compromised.
This is what we meant when we said "Alpen uses Bitcoin for DA and consensus, not for validity."
To be clear: Alpen currently uses Bitcoin only for anchoring or storing state commitments—not full transaction data.
This means that Alpen clients cannot yet reconstruct the chain’s state from genesis from the data posted on Bitcoin alone—this is planned for future updates.
The only time Alpen does lean on Bitcoin for validity is bridging.
It’s two-way BTC peg uses a BitVM2-style challenge game where a single honest verifier can block a bogus withdrawal.
To conclude, and tie it back with our previous thread:
➡️Citrea: Uses ZK proofs + a BitVM dispute game for L1 enforcement of validity.
➡️Alpen: The ZK proofs are checked off-chain; Bitcoin is used only for state anchoring and bridge disputes—not for L2 proof arbitration.
Stay tuned for our next 🧵on @buildonvia.
Common Knowledge of Blockchains retweeted
Enter Part 2 of our Bitcoin Rollups series! 🔍
Part 1 unpacked the controversy surrounding the “rollup” term when suffixed to Bitcoin and the breakthroughs that made rollup-like solutions possible on Bitcoin.
Today we spotlight @citrea_xyz 🧵👇
Common Knowledge of Blockchains retweeted
This is the first post in our educational series on Bitcoin rollups, where we’ll deliver a deep dive into the state of play of the Bitcoin rollup space.
We’ll cover three prominent projects—@citrea_xyz, @AlpenLabs, and @buildonvia —and see how they compare.
Let’s dig in 🧵👇
Bitcoin’s programmability and scalability limitations have spurred a new generation of scaling solutions that aim to bring smart-contract functionality and high transaction throughput to the oldest, most decentralized, and secure blockchain.
Some of these scaling projects market themselves as “Bitcoin rollups,” which is a highly contentious term in the Bitcoin context.
So, before we dig into the projects separately, let’s pinpoint exactly where this contention arises 👇
Namely, “rollup” is a term originally borrowed from the Ethereum scaling ecosystem.
It’s defined as a Layer-2 scaling solution that executes transactions off-chain, but derives security from the base layer by:
1️⃣posting the data needed to reconstruct L2 state on Ethereum , and
2️⃣letting Ethereum enforce correctness via onchain proofs: either validity (ZK) proofs or optimistic commitments subject to permissionless fraud/fault proofs.
Rollups periodically commit a state root to Ethereum, and because data and proofs reside on L1, users can force-withdraw their funds from the L2 via trust-minimized bridges even if the rollup operators fail or censor.
This is what separates rollups from other Layer 2 scaling solutions like validiums, which keep data off-chain, or sidechains, which rely on their own consensus mechanisms for finality.
👉 The term “rollup” is contentious when applied to Bitcoin because the base layer cannot yet verify arbitrary proofs.
On Ethereum, a “rollup” means L2 blocks are proven on L1; Ethereum smart contracts can directly verify ZK/fraud proofs and enforce the correct state.
Bitcoin Script, on the other hand, lacks the general-purpose primitives to verify modern ZK proofs efficiently onchain.
So, instead, most of today’s “Bitcoin rollups” either:
1️⃣Verify proofs off-chain, while only anchoring roots or state commitments to Bitcoin, or
2️⃣Use optimistic/interactive constructions like BitVM that require an honest challenger and lengthy dispute games rather than straightforward L1 verification.
Because of this, many pundits argue that these systems don’t meet the strict definition of a rollup.
Instead, as you’ll notice during our exploration of the specific systems, the marketing term “Bitcoin rollup” currently denotes a spectrum of designs with varying trust assumptions and rollup-like features.
However, whether they meet a “strict” or a “loose” definition of a rollup is less important.
What’s more important is that these systems, which call themselves Bitcoin rollups, represent a significant step up from the L2 scaling solutions of the past.
What made them possible today and not years ago are several key elements:
➡️Taproot (2021): Gave Bitcoin more flexible scripts and cheaper (Schnorr) signatures—useful for bridges, dispute systems, and committing data/logic in taproot trees.
➡️Ordinals/Inscriptions (Took off in early 2023): Normalized publishing large payloads in witness data and anchoring commitments on L1. Many “Bitcoin rollups” use this to pin state roots, proofs, or proof references.
➡️BitVM (V1 in 2023; V2 in 2024, V3 in 2025): Gave a concrete way to do interactive/fault-proof style verification and build trust-minimized Bitcoin bridges without new opcodes or requiring soft/hard forks, giving way for optimistic rollup-like designs.
➡️Breakthroughs in ZK proving performance: Drastically cut proving time and costs, and enabled recursive aggregation of my ZK proofs into one smaller proof, making zkVMs practical and giving way for ZK-rollup-like designs.
The combo of all of these elements made today’s Bitcoin rollup-like systems feasible. Before that, the cryptography, scripting, and verification playbook wasn’t quite there.
That's it for today.
In the next post, we'll dig into the first Bitcoin rollup on testnet, @citrea_xyz.
Stay tuned!








