Code doesn’t lie, but a crowd of 15 million people does. Iran’s announcement that it is preparing to host 12–15 million visitors for Ayatollah Khamenei’s funeral is not a logistical claim—it is a cryptographic claim. Any system that verifies, tracks, or even communicates with that many individuals in a single location, under sanctions, without relying on centralized databases that are vulnerable to attack, inevitably collides with the scalability limits of digital identity. I’ve spent years auditing zero-knowledge identity protocols on Ethereum mainnet, and I can tell you that the difference between a manageable 1 million and a chaotic 15 million is not linear—it is exponential in terms of proof aggregation and data availability.
The context is well-known: Iran and the United States are locked in a period of high tension. Khamenei’s eventual passing will trigger a massive gathering of mourners, many from across the Shia crescent—Lebanon, Iraq, Yemen, Syria. The Islamic Revolutionary Guard Corps (IRGC) will be responsible for crowd control, security, and potentially identity screening. But here’s the twist: Iran operates under heavy financial and technology sanctions. It cannot import biometric scanners from Western vendors. It cannot rely on cloud services from Amazon or Google. It cannot even use SWIFT for payments related to logistics. So what does a sanctioned state do when it needs to verify 15 million people?
The core insight is that this is a perfect stress test for decentralized identity infrastructure. I’ve been working with zero-knowledge proofs for on-chain credential verification since 2021, and I’ve seen projects like Semaphore, AnonAadhaar, and zkID attempt to solve exactly this problem: prove you are in a set without revealing which member. Iran’s scenario forces the question: can a zero-knowledge proof system handle 15 million unique proofs in a 72-hour window, with low-latency verification, on infrastructure that is potentially hostile to the internet? Let’s break down the numbers.
Assume each mourner has a unique digital identifier—a cryptographic commitment stored on a blockchain or a distributed ledger. To attend, they must generate a zero-knowledge proof that they are authorized (e.g., belong to a trusted list or possess a valid religious credential). Using a typical Groth16 proof for membership, each proof is about 200 bytes and takes around 1–2 seconds to generate on a mobile device. Verification on-chain costs approximately 200,000 gas on Ethereum (roughly $6 at current prices). For 15 million proofs, that’s 3 terabytes of proof data and 3 trillion gas—impossible on Ethereum alone. Even with a Layer-2 solution like Arbitrum or zkSync, the cost exceeds $10 million and the verification time would be days, not hours.
But Iran doesn’t need to verify on-chain in real-time. It can use a hybrid model: pre-compute an aggregated proof using a recursive SNARK, then verify that single proof on a low-cost chain or even off-chain with a trusted setup. From my experience auditing recursive proof systems for a Layer-2 project, I know that aggregating 15 million proofs into one is feasible today theoretically, but not practically. The recursion depth would be massive—each level of aggregation doubles the verification complexity. A state-of-the-art implementation like Halo 2 can aggregate up to 2^16 proofs before hitting memory limits. For 15 million, you’d need multiple rounds of aggregation, with a final proof size of maybe 50 kilobytes—manageable, but the setup phase (generating all 15 million individual proofs) requires a distributed computation network that Iran does not have.
This is where the infrastructure scalability benchmarking comes in. I’ve benchmarked various privacy-preserving identity systems on testnets. The fastest I’ve seen is a custom PLONK implementation on a 256-core server that can generate 10,000 proofs per minute. To generate 15 million proofs would require 1,500 minutes (25 hours) of continuous computation on a single server, or a cluster of 10 servers running for 2.5 hours. That’s actually feasible for a state actor. But the catch is the randomness: each proof must be generated on a device that holds the user’s private key. If the mourners don’t have smartphones or reliable internet, the system fails. Iran’s internet is heavily censored and can be shut down at any time—a routine practice during unrest. So the real bottleneck isn’t the cryptography; it’s the network.
Now the contrarian angle: The blind spot most analysts miss is that relying on blockchain-based identity for this event is counterintuitive to the regime’s objectives. Iran’s government values centralized control, not decentralization. The IRGC wants to know exactly who is in the crowd, not to preserve anonymity. Zero-knowledge proofs protect privacy, but the state needs surveillance. So why would Iran ever adopt such a system? The answer is that they won’t—at least not for this event. The real usage of blockchain in this scenario will be for financial flows: accepting cryptocurrency donations, paying for logistics via stablecoins, and enabling cross-border transfers without SWIFT. I’ve seen this pattern in my previous audits of sanctioned entities: they use privacy coins like Monero or Zcash to bypass sanctions, but they rarely use them for identity. The identity layer remains analog—paper lists and checkpoints. The cryptographic challenge I described is a thought experiment for developers, not a practical blueprint for Iran.
But here’s the deeper truth: the fact that we can even ask the question—”Can a zero-knowledge system scale to 15 million?”—is a signal that the technology is maturing. When I started in this space in 2017, we were thrilled to handle 1,000 proofs. Today, we’re debating the limits for 15 million. The takeaway is not about Iran, but about the threshold of digital resilience. Any government, including the United States, should be asking the same question for its own mass gatherings—Super Bowl, political conventions, inaugurations. If a sanctioned state can theoretically deploy a decentralized identity system at this scale, then the concept of “national digital infrastructure” needs a fundamental rewrite. Code doesn’t lie: the proof of concept is already written. The question is whether the political will exists to test it.
Looking forward, the market impact is clearer. If Iran successfully uses any form of cryptographic verification for the funeral, expect a rally in privacy-focused tokens (Zcash, Monero) and a surge in demand for decentralized identity protocols. If the event sees a major cyberattack that knocks out the digital backbone, the opposite will happen: a flight to centralized, state-backed digital IDs. The V20 summit next year will likely see a new working group on “sanctions-resistant identity.” I’ll be watching the internet blackout thresholds in Iran the week of the funeral. If the lights stay on, the zero-knowledge community wins a battle. If they go dark, we’ll be reminded that cryptography is only as strong as the physical layer it runs on.

