PPoS Dex
_______ _______ ______ ______
|_ __ \|_ __ \ .' ____ \ |_ _ `.
| |__) | | |__) | .--. | (___ \_| | | `. \ .---. _ __
| ___/ | ___// .'`\ \ _.____`. | | | |/ /__ \[ \ [ ]
_| |_ _| |_ | \__. || \____) | _| |_.' /| \__., > ' <
|_____| |_____| '.__.' \______.' |______.' '.__.'[__]`\_]
The Algorand Pure Proof of Stake Decentralization Index (by cusma): how decentralized the stake securing Algorand is, measured from the ledger and published on-chain every day.
Start Here
- The index: what PPoS Dex is, why it measures decentralization the way it does, and its definition.
- The data: the published history as timeseries, the latest data point as a snapshot, and the related projects that look at Algorand from other angles.
- The CLI: install it to publish data points, plot them, or export them for your own analysis.
Contributions are welcome, see the contributing guide.
Algorand PPoS Decentralization Index
PPoS Dex is the Algorand Pure Proof of Stake (PPoS) Decentralization Index.
This project defines the index and provides a CLI tool to monitor it.
The monitoring tool is trustless: anyone can autonomously read the Algorand blockchain, do some client-side math, and publish the index on-chain.
The official Algod and Indexer APIs serve only the current account balances: the published data points are the record of the past ones. Historical state APIs, like Nodely Time Travel, serve the balances of any past round instead: PPoS Dex uses them to recompute the metrics added after a data point was published, checked against what it published.
Open index data are published daily by the PPoS Dex Oracle and then plotted as timeseries and snapshots.
PPoS Dex CLI provides also simple data analytics plots.
So, what “Decentralization Index” actually means?
Warning
Disclaimer: PPoS Dex has not been audited nor officially approved by the Algorand Foundation. This project is just a personal attempt to provide some metrics on Algorand’s decentralization to the community. Algorand’s decentralization is a common good, but will not happen by itself: the community as a whole should embrace the path towards the decentralization jointly with the Algorand Foundation, committing to preserve it.
Introduction
Blockchain technology arose to fulfill the promise of creating and exchanging digital native value in a disintermediated, censorship-resistant, secure and scalable way.
Billions of people on Earth (and maybe on the Moon or Mars) could transact without borders, barriers or discrimination, on a distributed computational infrastructure that removes the need for trusted parties in between.
Just as the exchange of digital information in the Internet era relies on Communication Protocols, the exchange of digital value relies on Consensus Protocols. Combining distributed computation, cryptography and game theory into a mathematical equilibrium, Consensus Protocols are the engines that power blockchains, keeping the history of digital value unique, consistent, trustless and tamper-proof on a distributed public ledger.
A blockchain’s performance depends on its Consensus Protocol. At the beginning of this technological journey, the Proof of Work (PoW) consensus powered the first generation of blockchains, with the historic merit of proving that digital native value can exist.
PoW secures the ledger by making validation costly on purpose: miners compete to validate the next block of data, committing computational and energy resources to the system, as the name “Proof of Work” suggests. This cost is what makes rewriting the history so expensive, and it is a deliberate design choice. The same design, however, bounds how many transactions can be finalized, how fast, and with how much energy: scaling PoW blockchains has proven hard, and mining has tended to concentrate in large, specialized facilities.
The ultimate output of a blockchain infrastructure is reaching consensus to finalize the state transitions of a distributed permissionless system in a secure, scalable and decentralized way.
The history of engineering teaches us that any technology evolves towards higher efficiency and scalability: whoever obtains the same useful output with fewer resources and less time survives.
Is PoW the only way to reach consensus and securely finalize the state transitions of a distributed permissionless system?
Is the foundational blockchain promise doomed by the Buterin trilemma?
Here is where Algorand steps in.
Algorand Pure Proof of Stake Consensus
Prof. Silvio Micali combined distributed computation, cryptography and game theory into the Algorand Pure Proof of Stake (PPoS) consensus protocol, to keep the promise of blockchains.
PPoS runs a cryptographic sortition based on a Verifiable Random Function (VRF): a fair, tamper-proof and provable lottery, open to anyone holding Algorand’s native cryptocurrency, ALGO.
Each ALGO online in consensus is a ticket of this lottery. For every new block, the lottery runs secretly on each participating node, with minimal hardware requirements and negligible energy consumption, to:
- randomly and secretly elect a block proposer;
- randomly and secretly elect a committee of validators for every proposed block.
At its core, PoW is a random leader election: no one can predict which miner will first find a nonce hashing below the target, and anyone can verify it with a single hash. PPoS achieves the same core properties in an elegant and purely cryptographic way, based on stake instead of work. The election is unpredictable, since no one knows who is elected before they reveal it, and provable, since each elected participant proves it with the VRF output that anyone can verify. The VRF draws a random leader, and a random committee, with odds proportional to the stake online.
Participants keep their ALGO: they do not delegate their votes, do not need a minimum stake to take part, and do not bond their ALGO. Protocol staking rewards are paid only to accounts holding between 30,000 and 70,000,000 ALGO.
PPoS aims to solve the blockchain trilemma, achieving at the same time:
The point is: can we measure these properties?
Tip
Useful references:
- Algorand, the original paper
- Algorand PPoS Video
- Algorand Efficiency Video
Scalability
Scalability is the easiest of the three properties to measure: the ledger and the protocol parameters tell it, and anyone can check them. It can be quantified in several ways:
- Finality latency: a block is final as soon as it is appended, with no confirmations to wait for, unlike the probabilistic finality of PoW, where confidence grows with each block appended after it. Since the dynamic round times upgrade, MainNet appends a block about every 2.8 seconds (2.76 seconds on average over the last million rounds, as of November 2026).
- Throughput: a block holds up to 5 MiB of transactions, about 25,000 payments: at the current block time, a ceiling of about 9,000 transactions per second.
- Transaction cost: the minimum fee is 0.001 ALGO, and fees rise above it only when blocks are congested.
- Energy consumption: there is no computational race. Each node is a single server, and its consumption does not grow with the stake it validates.
- Node hardware: a validator node needs 8 vCPU, 16 GB of RAM, and 100 GB NVMe SSD (Algorand docs): a mid-range server, not specialized hardware.
Scaling has trade-offs too. A network can also scale by raising the hardware its nodes need, leaving fewer people able to run one: that is the trilemma at work, trading decentralization for scalability. This is why node requirements belong among the scalability metrics, and why the Nodes Hardware Decentralization looks at the same nodes from the decentralization side.
So Algorand’s scalability can be measured, and verified by anyone.
Security
Security has no single metric, and quantifying it is out of the scope of this project. Its foundations, though, can be stated precisely, and the main one is about stake.
Honest Supermajority
PPoS is secure as long as more than 2/3 of the online stake is in honest hands. How few accounts it would take to break this assumption is a measure of decentralization: the Nakamoto Coefficient counts them, and the PPoS Dex v3 publishes it every day.
Under this assumption:
- No forks: at most one block is certified per round, so a block is final as soon as it is appended, and the history cannot be reorganized. If the network is partitioned, the consensus stops rather than fork, and resumes once the network heals.
- Secret election: the sortition runs privately on each node. Every step of the agreement is run by a new committee, whose members stay secret until they send their first and only message (player replaceability): by then, it is too late to DDoS, corrupt or threaten them.
- Forward security: the participation keys voting on blocks are separate from the spending keys, and the ephemeral key of each round is deleted once used (participation keys): an attacker compromising a node later can neither move its funds nor sign past rounds again.
These are not just design claims. The Algorand Agreement (Chen, Gorbunov, Micali and Vlachos, 2018) is proven to reach agreement under a > 2/3 honest majority, and to be resilient to network partitions of any length. Benhamouda, Blum, Katz, Leung, Loss and Rabin (ACM CCS 2023) analyze the protocol as deployed on MainNet: they prove it provides consistency (no forks) under arbitrary network conditions, except with negligible probability, and liveness under intermittent network partitions, characterizing the network conditions and parameters this requires.
Tip
Academic references:
- Algorand, Chen and Micali (2016)
- Algorand Agreement: Super Fast and Partition Resilient Byzantine Agreement, Chen, Gorbunov, Micali and Vlachos (2018)
- Analyzing the Real-World Security of the Algorand Blockchain, Benhamouda, Blum, Katz, Leung, Loss and Rabin (ACM CCS 2023)
Liveness
The consensus makes progress only if enough of the online stake votes: a coalition holding more than 20% of it could, conservatively, stall the consensus by not voting. Online stake whose node is down weakens liveness just the same. Since the staking rewards upgrade (January 2025), online accounts that fail to propose as often as their stake predicts, or to answer random challenges, can be suspended and taken offline.
State Proofs
Every 256 rounds (about 12 minutes), Algorand State Proofs commit to the transactions of the interval, signed by the online accounts with post-quantum resistant Falcon signatures: other chains and light clients can verify Algorand’s history without trusting an intermediary.
Track Record
At the time of writing (November 2026), Algorand reports no downtime since its genesis block (June 2019), and, being fork-free, its history has no reorgs.
Decentralization
Defining a quantitative Decentralization Index for a blockchain network running on Proof of Stake (PoS) consensus is not simple: a precise and rigorous definition of such a metric could easily be the subject of academic research (which is not the intent of this project).
So, how can we quantify PPoS decentralization?
Here is a proposal.
Consensus Protocol as Blockchain “Engine”
To present our arguments for the definition of a Decentralization Index, let’s compare blockchain networks running on PoS Consensus Protocols with engines, exploring the concept of efficiency of a machine.
When mathematicians search for the solutions of equations, or when physicists do not know how to measure physical properties, they usually start by investigating whether such solutions or properties have upper or lower bounds.
In 1824 the French physicist Nicolas Léonard Sadi Carnot discovered that the efficiency of any classical thermodynamic engine, converting heat into work (or vice versa), must be lower than a theoretical upper bound: the efficiency of a purely ideal machine, named Carnot engine after him. Such a “perfect” engine is just a theoretical construct and cannot be built in practice.
This is probably the most elegant and general result in Classical Physics: it implies that any system undergoing any kind of thermodynamic cycle can only tend to the efficiency of a Carnot engine operating under the same conditions, never reach it, no matter how cleverly that system has been designed.
In the same way, we try here to define an equivalent of a “Carnot engine” for PoS consensus decentralization.
Does such a theoretical decentralization upper bound even exist?
When should we say that a blockchain running on PoS consensus is completely decentralized?
Decentralization Factors
To reach a common understanding of what measuring decentralization even means, we should agree on some definitions.
We consider three different factors of decentralization that concur to define a Decentralization Index (\(DEX\)) of PoS networks:
- Nodes Hardware Decentralization (\(d_N\))
- Network Topology Decentralization (\(d_T\))
- Stake Decentralization (\(d_S\))
We have to quantify each of these three factors as a bounded per-unit metric, so that the Decentralization Index can express “how far” a PoS blockchain network is from “purely theoretical decentralization”.
The index can range from 0 (completely centralized) to 1 (completely decentralized):
\[ DEX = d_N \cdot d_T \cdot d_S \]
Let’s first define an ideal theoretical condition of decentralization for each of these three per-unit factors. Then, everything deviating from those conditions will make a PoS blockchain more real, and far from platonic ideality.
Nodes Hardware Decentralization
The first factor for the evaluation of a network’s decentralization is the rate of growth of the overall “nodes’ hardware” connected to the network.
It is important to remark that this metric takes into account the nodes’ “growth rate” rather than just their “absolute number”, for the following reason: one could easily say that 10 nodes are better than 1 node, or that 100 nodes are better than 10 nodes. But are 1.5 million nodes really much better than 1 million nodes?
What we are trying to state here is that the number of nodes should be analyzed as a growth phenomenon, which tends to reach a steady state after which adding more nodes does not really impact decentralization in a linear and proportional way.
Sigmoid functions, like the Logistic function or the Error function, are a good way to model growth phenomena. Their characteristic S-shaped curve perfectly models a system, like a network, that progresses from small beginnings, accelerates, and approaches a climax over time.
Cumulative Distribution functions, similarly, contain information on how a phenomenon grows or is distributed before or after a certain “inflection point”.
We propose to model the Nodes Hardware Decentralization as a Cumulative Distribution:
\[ d_{N} = 1 - e^{-\left(\frac{N}{\lambda}\right)^k} \]
which can theoretically range from 0 (no hardware growth) to 1 (complete hardware growth).
The parameters \(k\) and \(\lambda\) should be calibrated to best fit the growth phenomenon with respect to the growth “inflection point”:
- \(k\) defines the speed of growth of the phenomenon;
- \(\lambda\) defines the order of magnitude of the inflection point for a given growth phenomenon.
How to tune \(\lambda\) for a blockchain network could be debated around the following question:
What is the reasonable order of magnitude of nodes at which we can say that a blockchain network has grown sufficiently?
Our opinion is that a meaningful decentralization “inflection point” for a blockchain network should be greater than a few dozen or a few hundred nodes. In particular, given the context of the analysis, we think it adequate and reasonable to set:
- \(k = 2\) for the speed of growth;
- \(\lambda = 10^4\) for the inflection point magnitude.
\[ d_{N} = 1 - e^{-\left(\frac{N}{10^4}\right)^2} \]
The chart shows the curve for \(\lambda = 10^4\), next to \(\lambda = 10^3\) and \(\lambda = 10^5\), and the range of nodes Algorand had in 2024–2026 (see below). With \(\lambda = 10^4\), the Nodes Hardware Decentralization stays low up to a few thousand nodes, and saturates past twenty thousand:
| Nodes \(N\) | 1,000 | 3,000 | 5,000 | 10,000 | 20,000 |
|---|---|---|---|---|---|
| \(d_N\) | 0.01 | 0.09 | 0.22 | 0.63 | 0.98 |
A Necessary Condition
The number of nodes alone does not make a network decentralized: a thousand nodes run by the same operator, or hosted by the same provider, are not a thousand independent ones. But it bounds decentralization: \(N\) nodes are at most \(N\) independent points of failure, however the stake is spread. Few nodes guarantee concentration; many nodes make decentralization possible, without proving it.
Stake metrics cannot see this bound. Two examples:
- Many accounts on one node: participation keys of many accounts can be hosted on the same node (possible, though not recommended). The accounts look like independent validators, yet a single failure, compromise or wrong upgrade of that node takes them all offline together.
- Few API nodes: if only a few nodes accept transactions, a few providers can censor, throttle or fail to serve them, whatever the stake distribution.
\(d_N\) is then an upper bound, like the efficiency of the Carnot engine: it is low with few nodes, and saturates when more nodes no longer change the picture. The saturation also limits how much counting nodes can be gamed: pseudonymous nodes cost little to add, but past the inflection point adding them barely raises \(d_N\). The other side, how independent the nodes are, is measured by their distribution: see Infrastructure Diversity.
The inflection point \(\lambda\) remains a judgment call: with \(\lambda = 10^3\) instead of \(10^4\), a few thousand nodes would already be close to \(d_N = 1\).
Counting the Nodes
Algorand nodes are pseudonymous: anyone can run one, and no registry lists them. They can only be observed, from the relays they connect to: as of 2025, each node keeps a connection to four relays at a time, and swaps the slowest for a random one every four minutes: nearly twenty relays in an hour. Counting the distinct IP addresses a few relays see is no longer reliable: home nodes change address, and short-lived bots connect and leave.
Nodely estimates instead the full-time node equivalents: a node online half of the time counts as half a node. Every hour, a sample of relays records the nodes connected to them, and the Chao-1 estimator infers from it how many nodes no relay saw.
Chao-1 Estimator
Ecologists face the same problem when counting the species of an environment: some are too rare to be found in a sample. Anne Chao’s estimator uses the rarest ones found to estimate those missed.
The relays recording the nodes, the observers, are only a few of those a node connects to in an hour: chance decides whether a node meets several observers, one, or none. A node seen by a single observer was nearly missed: one encounter less, and no observer would have seen it.
- Many near misses, compared with the nodes seen by two observers, mean the nodes rarely meet an observer: the chance that left many of them with a single observer left others with none.
- Few near misses mean most nodes meet several observers: to be missed, a node must avoid them all, and few do.
Chao-1 turns this into a number. Given the \(S_{obs}\) nodes observed, of which \(F_1\) were seen by a single observer and \(F_2\) by exactly two:
\[ S_{Chao1} = S_{obs} + \frac{F_1^2}{2 F_2} \]
For example, the observers see 2,000 nodes in an hour:
| Seen by | No observer | 1 observer | 2 observers | 3 or more |
|---|---|---|---|---|
| Nodes | ? | 300 | 200 | 1,500 |
\[ S_{Chao1} = 2000 + \frac{300^2}{2 \cdot 200} = 2000 + 225 = 2225 \]
The 1,500 nodes seen by three observers or more count in \(S_{obs}\), but tell little about the missed ones: the nodes no observer saw were the hardest to see, like the 500 seen by one or two. With 50 nodes seen by a single observer instead of 300, the missed would be just \(50^2 / (2 \cdot 200) \approx 6\).
The formula comes from a simple model. If every node met the observers at the same rate, \(\lambda\) times an hour on average, the shares of nodes seen by none, one and two observers would be \(e^{-\lambda}\), \(\lambda e^{-\lambda}\) and \(\frac{\lambda^2}{2} e^{-\lambda}\): a Poisson distribution. The nodes seen by one and two observers then reveal the rate, and the nodes seen by none, \(F_0\), follow:
\[ \lambda = \frac{2 F_2}{F_1}, \qquad F_0 = \frac{F_1}{\lambda} = \frac{F_1^2}{2 F_2} \]
In the example, \(\lambda = 2 \cdot 200 / 300 = 4/3\): for every four nodes seen once, three were seen by none, 225 in all.
Nodes do not all meet the observers at the same rate, though: one online for a few minutes meets fewer relays. The missed nodes meet them even less than those seen once or twice, so more are missed than the model infers: the estimate is a lower bound. It also makes up for having few observers: with fewer of them, fewer nodes are seen, but more by a single observer, which raises the estimate of the missed ones. Nodely averages the hourly estimates over 7 days, to smooth out the hours of the day.
Note
The estimate counts IP addresses, not machines: nodes sharing an address (behind NAT) count as one, and nodes changing it within the hour as many. Nodes connected only to private relays are missed, and the observers may not be representative of the whole network.
Which Nodes Count
The estimate counts every node connecting to the relays: validator nodes, which vote with the online stake, but also API, archival and idle nodes, which only follow the chain. It is the hardware running the network, not the number of validators.
The ledger cannot tell the validators either: it shows the online accounts, not the nodes hosting them. A node can host the participation keys of many accounts, and an operator can run many nodes. The Nakamoto Coefficient of operators groups the online accounts likely run by the same operator, from the stake side.
The two examples above call for two different counts, neither of which could be observed as of 2026: the nodes hosting online stake, for the validators, and the nodes accepting transactions, for the access to the network. A refined \(d_N\) should count them separately.
Full-Time Nodes on Algorand
The estimate ranged from about 1,200 to 3,700 full-time nodes between 2024 and 2026: see the Nodely dashboard. With \(\lambda = 10^4\), that is a Nodes Hardware Decentralization \(d_N\) between 0.01 and 0.13: how to calibrate the inflection point remains an open question.
Note
PPoS Dex v1 and v2 consider a perfect Nodes Hardware Decentralization (\( d_N = 1 \)), leaving the refinement of the calculation of this decentralization factor to future works.
Growing the Nodes
Two factors drive the growth of the nodes:
- Hardware: a validator node runs on a mid-range server (see Scalability), so the hardware is not a barrier to entry;
- Incentives: running a validator node takes time and care. The staking rewards, live since January 2025, pay block proposers holding between 30,000 and 70,000,000 ALGO, because fewer ALGO holders ran validator nodes than the network’s security needed.
Node Versions
Algorand upgrades its consensus protocol when more than 90% of the stake agrees. Nodes still running a version that does not support the live protocol cannot follow the consensus anymore: the share of nodes on an incompatible version tells how many fell behind the last upgrade. Nodely’s upgrade stats show it.
Software Diversity
Every node announces its software to the peers it connects to: the
go-algorand node sends a
User-Agent with its version, operating system and CPU architecture, for
example algod/5.1 (stable; ...) linux(amd64). Relays can therefore observe
how many nodes run on each operating system (such as Linux or macOS) and on
each architecture (such as amd64 or arm64), the same way they observe the
node versions.
Platform diversity limits correlated failures: a bug specific to an operating system or an architecture affects only the nodes running on it.
Geographical Distribution
Where the nodes run, by hosting network and by country, is part of the network topology: see Infrastructure Diversity.
Network Topology
A blockchain’s public ledger is distributed across multiple nodes in a network. All these nodes work together, using the same set of software rules (the Consensus Protocol), to verify transactions that are eventually added to the finalized ledger.
To keep the state of such a distributed system unique, coherent and synchronized, information must flow across the network, ensuring efficient paths of communication between the nodes.
So, how nodes are connected to each other, forming a network, is the second relevant factor of decentralization, commonly known as Network Topology.
Messages can be passed through the network by routing the traffic with different techniques. In Algorand, information is spread across the network through “message gossiping”, handled by the Relay Nodes and by a peer-to-peer network running alongside them. Relay Nodes route blocks to all connected nodes, finding highly efficient communication paths and reducing communication hops, while the peer-to-peer network adds direct communication paths between nodes.
Paths of communication are therefore essential to ensure that no one is excluded from the communication: everybody should be able to talk and listen to each other without relying on a few dominant paths.
The more communication paths between nodes, the more robust and decentralized the network.
Let’s try to visualize some examples of communication paths between two generic nodes \(N_1\) and \(N_2\), connected through graphs that are intuitively different from each other:
We can intuitively glimpse the difference between networks \(A\), \(B\), \(C\) and \(D\) with respect to the concept of “topology decentralization”. Graph \(D\) is intuitively “more decentralized” than graph \(A\), since it offers a larger set of communication paths between nodes \(N_1\) and \(N_2\).
Graph theory and network analysis define rigorous indicators of centrality, distribution and decentralization of a distributed system, assigning numbers or rankings to nodes within a graph according to their network position.
Networks in which traffic is obliged to pass through a few dominant nodes, for example, are less “decentralized” than networks in which the traffic is free to flow through several possible communication paths.
Other metrics like Betweenness Centrality or Closeness Centrality are measures of centrality in a graph based on the evaluation of the shortest paths.
One possible metric that fits our requirements for Network Topology Decentralization well (being a per-unit metric bounded between 0 and 1) is the Central Point Dominance (\(CPD\)), which measures the maximum centrality of a node in a graph. This metric ranges from 0 to 1:
- 0 represents a network in which there is no node such that all shortest paths have to pass through it;
- 1 means all routes have to pass through that node.
Network \(C\) in the examples above, for instance, is a graph with Central Point Dominance equal to 1, since any message must pass through the central node to reach the others.
To stay consistent with the rest of the decentralization metrics used in this project (1 meaning maximum decentralization), we consider the one’s complement of the Central Point Dominance:
\[ d_T = 1 - CPD \]
Algorand Topology
The Algorand node implementation (go-algorand) shapes the graph with two kinds of nodes:
- Relays listen for incoming connections (up to 2,400 by default) and forward the messages they receive. Each relay also keeps outgoing connections to other relays: together, they form a mesh.
- Non-relay nodes, including the validator nodes, accept no incoming connections by default: each keeps up to 4 outgoing connections to relays, and regularly swaps the slowest for a random one.
Messages between non-relay nodes always pass through at least one relay: the relays are the hubs of the graph, the nodes with the highest centrality. The mesh between them offers many paths, so that no single relay lies on all of them. Relays route the messages: relaying needs no stake, and a relay cannot forge the votes, which validators sign.
Nodes can also enable the peer-to-peer (P2P) network. With P2P, any node that listens for connections can relay messages, and other nodes find it through the DHT (see below): relaying is no longer limited to the relays in the DNS list. Hybrid relays and nodes use both networks, and a hybrid node keeps up to 4 outgoing links on each.
In the example above, the nodes on the left use WebSocket only, with 4 links to the relays each. The nodes on the right mix WebSocket and P2P links, some of them to a relay serving P2P only. Thick links connect the relays to each other, thin ones the nodes to the relays.
Finding the Relays
By default, a node finds the relays in DNS records published under the network’s bootstrap domain. This list is a default, not a permission. Any node configured to listen relays messages, and node operators can add relays to their own phonebook, or point their node to another bootstrap domain: relays run by third parties outside the list serve the network too.
The P2P network, built on libp2p, also bootstraps from DNS, where the hybrid relays are listed. Nodes enabling it can then discover other peers accepting connections through a distributed hash table (DHT), beyond the DNS list.
Who runs the relays, where they are hosted, and how many nodes rely on the default list are measurable properties of the topology: see Infrastructure Diversity.
Measuring the Topology
The \(CPD\) requires the whole graph, which is not public: nodes are pseudonymous, and their connections change over time. This is why PPoS Dex does not compute \(d_T\) yet.
Infrastructure Diversity
Graph metrics measure how the nodes are connected, not where they run. Nodes hosted by the same network (the same cloud provider or Internet service provider) can fail together in an outage, or be cut off together by its policies; nodes in the same country answer to the same jurisdiction.
The same question as the Nakamoto Coefficient applies to infrastructure, counting nodes instead of stake: how few hosting networks, or countries, host more than 10%, 20% and 1/3 of the nodes? The Nodely dashboard shows the nodes by hosting network and by country.
Important
Nodes are not weighted by stake: a node with no stake online counts as much as one with millions of ALGO. Infrastructure diversity tells how resilient the network that relays the messages is, not who votes.
Note
Network Topology Decentralization does not consider the infrastructure diversity. More insights on the geo-delocalization of the physical infrastructure can be found in Analyzing Algorand Blockchain Data with Databricks Delta. For the scope of this project, we consider a perfect Network Topology Decentralization (\( d_T = 1 \)), leaving the refinement of the calculation of this decentralization factor to future works.
Stake Decentralization
Since in PoS the probability of being elected as a block proposer or as a validator is directly proportional to validators’ stakes, the distribution of such stake into the system is the last fundamental factor of PoS Blockchains decentralization.
We will say that the stake is “completely decentralized” (\(d_S = 1\)) if and only if:
- All the stake in circulation is participating in the PoS validation;
- All the validators participating in PoS validation hold the same amount of stake.
The first condition is quantified by the Stake Participation Index (\(S_P\)) while the second conditions is quantified by the Stake Inequality Index (\(S_I\)).
One could still argue that even if all the participating stake is equally distributed among validators, a PoS consensus could still be centralized due to the concentration of stake in a few accounts. So an additional Account Participation Index (\(A_P\)) is introduced.
Therefore:
\[ d_S = S_P \cdot S_I \cdot A_P \]
Stake Participation Index
The Stake Participation Index (\(S_P\)) measures stake participation rate in PoS validation. It can be quantified as:
\[ S_P = S_{dyn} \cdot S_{p}\]
Where:
- Stake Dynamics \(S_{dyn}\): is the fraction of circulating supply (\(S_c\)) over the genesis supply (\( S_g\)). It only applies to fixed genesis supply Blockchains;
- Stake Participation \(S_{p}\): is the fraction of validation supply (\(S_v\)) over the circulating supply (\( S_c\)).
\(S_P\) can theoretically range from 0 (no participation in PoS validation) to 1 (complete participation in PoS validation).
How the circulating supply is measured depends on the Blockchain: see the PPoS Dex for Algorand.
Note
On Algorand, as of 2026, \(S_{dyn}\) has reached 0.98 and barely moves: the stake participation \(S_{p}\) drives \(S_P\).
Stake Inequality Index
The Stake Inequality Index (\(S_I\)) measures validators’ inequality. We can borrow from Macroeconomics well-known wealth inequality or concentration indexes, such as: the Gini Index, the Theil Indexes or the Herfindahl–Hirschman Index. Those indexes are indicators of concentration, used mainly to measure the degree of inequality in a society or the degree of competition in a given market.
Gini Index
Gini Index is a measure of statistical dispersion intended to represent the wealth inequality within a nation or any other group of people.
Given a stake distribution \(S\) over a set of \(N\) validators, the Simple Gini Index \(GI\) can be calculated as:
\[ GI(S) = \frac{2}{N} \frac{\sum_{i=1}^{N} i y_i}{\sum_{i=1}^{N} y_i} - \frac{N+1}{N} \]
where \( y_1 \le y_2 \le … \le y_N\) are the sorted validators’ stake.
\(GI\) can theoretically range from 0 (complete equality) to 1 (complete inequality), therefore it one’s complement \((1 - GI)\) is a good candidate for the \(DEX\) index.
Note
On Algorand, the Gini Index tracks how many small validators take part more than how concentrated the stake is: it rises when small validators join. It stayed flat through the January 2025 surge, when online accounts grew fivefold and the effective number of validators tripled.
Entropy
Theil’s Indexes, the entropy equivalent and the evenness below build on one concept, borrowed from physics and information theory: entropy. Picture picking a single ALGO at random from the stake, and guessing who holds it. Entropy asks: “How uncertain am I about who owns a randomly selected unit of stake?”
If a single validator holds all the stake, there is nothing to guess. If 16 validators hold the same stake, each of them is as likely as the others. If one of them holds 80%, betting on it is right 4 times out of 5: there is some uncertainty, but little.
Counting Arrangements
The word comes from physics. In 1865 Rudolf Clausius named entropy, from the Greek for transformation, a quantity that never decreases as heat spreads. Ludwig Boltzmann explained it by counting: the entropy of a gas measures how many arrangements of its molecules look the same from outside, \(S = k \ln W\). A gas spread across a box can be arranged in far more ways than one squeezed in a corner, and, left alone, a gas spreads: toward its maximum entropy.
The stake can be counted the same way. Label four ALGO from 1 to 4, and share them between two validators, A and B:
A can hold all four in a single way; three in four ways, as the one left to B can be any of the four; two each in six. The more evenly the stake is shared, the more arrangements match it, and the less its shares tell about who owns a given ALGO.
Counting Questions
In 1948 Claude Shannon measured information by the uncertainty it removes. His formula had the very form of the entropy of statistical physics, and took its name: John von Neumann reportedly advised it, since nobody really knows what entropy is, and Shannon would win any debate.
Shannon counted information in bits: the yes/no questions it takes to find the answer. With 16 validators holding the same stake, finding the owner of a random ALGO takes 4 questions, halving the candidates each time: from 16 to 8, 4, 2 and 1. If one of them holds 80%, the first question, “is it the largest?”, is enough 4 times out of 5: fewer than 2 questions on average. Less uncertainty, lower entropy.
Given the stake shares \(s_i\) of the \(N\) validators, the entropy of the stake is:
\[ H(S) = - \sum_{i=1}^{N} s_i \ln s_i \]
Each validator adds the surprise of finding it the owner, \(-\ln s_i\), weighted by how often it is the owner: little for a validator holding 80%, \(-\ln 0.8 \approx 0.22\), much more for one holding 1%, \(-\ln 0.01 \approx 4.6\). The entropy is the average surprise. With many ALGO, it is also Boltzmann’s count: the logarithm of the arrangements, per ALGO. The two views agree.
PPoS Dex uses the natural logarithm, as physics does: entropy is then measured in nats, and a nat is about 1.44 bits. The unit changes the numbers, not the comparisons.
Minimum and Maximum
The entropy of \(N\) validators ranges between two extremes:
- Minimum, 0: a single validator holds all the stake. Its share is 1, and \(\ln 1 = 0\): a single arrangement, no question to ask.
- Maximum, \(\ln N\): the validators hold the same stake, \(1/N\) each: the most arrangements, and no owner likelier than another.
Every other distribution lies in between: the more concentrated the stake, the lower. The maximum grows with the validators, but slowly: doubling them adds one bit, a single question more. With two validators, the entropy rises from 0, when one holds all the stake, to its maximum, \(\ln 2\), when they hold half each:
In 1967 the economist Henri Theil borrowed entropy to measure inequality by its shortfall from the maximum: the uncertainty lost to concentration.
Theil Indexes
Theil’s Indexes, called Theil’s T and Theil’s L, measure the inequality of a stake distribution \(S\) over a set of \(N\) validators from its entropy.
Theil’s T asks: “How much of that uncertainty have we lost because the stake is concentrated?” It is the gap between the maximum entropy and the entropy of the stake, as the examples show:
\[ T_T = \ln N - H(S) = \frac{1}{N} \sum_{i=1}^{N} \frac{y_i}{\mu} \ln{\left(\frac{y_i}{\mu} \right)} \]
Theil’s L asks the mirror question, picking a validator instead of a unit of stake: “How far below an equal share does its stake fall?” On a logarithmic scale, the smallest stakes fall the furthest:
\[ T_L = \frac{1}{N} \sum_{i=1}^{N} \ln{\left(\frac{\mu}{y_i}\right)} \]
where \(y_i\) is the validator’s stake and \(\mu\) is the mean stake, the equal share:
\[ \mu = \frac{1}{N} \sum_{i=1}^{N} y_i\]
Weighing each validator by its stake, Theil’s T is more sensitive to differences at the top of the distribution (large stakes); weighing them all the same, Theil’s L at the lower end (small stakes).
Both \(T_T\) and \(T_L\) are 0 with complete equality, and grow with inequality: \(T_T\) up to \(\ln N\), when a single validator holds all the stake, \(T_L\) without bound, as the smallest stakes shrink. They represent two different evaluations of inequality, depending on what we tend to consider worse: having even a few small stakes among many large ones or having even a few large stakes among many small ones.
Note
Theil’s Indexes have no fixed upper bound, so are not good candidates for the \(DEX\) index. For sake of completeness we will evaluate them separately.
Theil’s T measures the gap to a maximum, \(\ln N\), that grows with the validators: it can grow even when the stake spreads across more of them. The entropy equivalent turns it into a count that does not.
Herfindahl–Hirschman Index
Herfindahl–Hirschman Index is another indicator of concentration, mainly used to measure the degree of competition in a given market.
Given a stake distribution \(S\) over a set of \(N\) validators, the \(HHI\) index can be calculated as:
\[ HHI(S) = \sum_{i=1}^{N} {s_i}^2 \]
where \(s_i\) is the stake share of validator \(i\) in the total validating stake \(S\).
The \(HHI\) asks: “How likely is it that two randomly selected units of stake have the same owner?” Both land on validator \(i\) with chance \(s_i \cdot s_i\), so the squares add up to the chance they share an owner. Squaring weighs the largest validators the most: one holding 80% adds 0.64, one holding 1% adds 0.0001.
Read another way, \(HHI = \sum s_i \cdot s_i\) is the average share of the owner of a randomly selected unit of stake: the same random pick as the entropy, which averages the surprise \(-\ln s_i\) instead of the share itself. Its logarithm, \(-\ln HHI\), is an entropy too, which weighs the largest validators more than \(H\) does.
The \(HHI\) of \(N\) validators ranges between the same two extremes as the entropy, the other way round:
- Minimum, \(1/N\): the validators hold the same stake. It tends to 0, a perfectly competitive market, as the validators grow.
- Maximum, 1: a single validator holds all the stake, a monopoly.
In the examples, it falls from 0.643 with one validator at 80% to 0.01 with 100 equal ones. Its one’s complement \((1 - HHI)\) is therefore a good candidate for the \(DEX\) index.
Note
The \(HHI\) implicitly considers both the stake distribution among the validators accounts and the absolute number of validators accounts. Therefore, in order to avoid double counting of the account participation factor, \(A_P = 1\) when \(S_I = 1 - HHI\).
On Algorand, \(1 - HHI\) stays between 0.96 and 0.99, so it barely moves: the HHI equivalent reads its changes better.
Effective Number of Validators
Counting the validators tells how many there are, not how much each one weighs in consensus: a thousand validators where one holds almost all the stake are barely more decentralized than a single validator.
The effective number of validators answers a more telling question: how many validators, all holding the same stake, would be exactly as decentralized as the actual ones? With equal stakes it is the number of validators, and it drops as the stake concentrates, down to 1 when a single validator holds it all.
Entropy Equivalent
The entropy equivalent asks: “How many validators, holding the same stake, would leave me just as uncertain?” The entropy of \(n\) equal stakes is \(\ln n\), so a distribution with entropy \(H\) is as uncertain as \(e^H\) equal validators: its entropy equivalent. Since the Theil T index is how far the entropy is from its maximum, \(T_T(S) = \ln N - H(S)\), it can be computed as:
\[ N_{H} = e^{H(S)} = N \cdot e^{-T_T(S)} \]
HHI Equivalent
\(n\) equal stakes have \(HHI = 1/n\), so the HHI equivalent is:
\[ N_{HHI} = \frac{1}{HHI(S)} \]
Squaring the shares weighs the largest stakes more, so the HHI equivalent is always the lowest of the three counts:
\[ N \geq N_{H} \geq N_{HHI} \]
Note
A participant can control many accounts: counting accounts, the effective numbers are an upper bound for the participants behind them.
Stake Evenness
The effective numbers grow both with how many validators there are and with how evenly they share the stake. Their ratios keep the evenness alone: a network ten times larger, with stakes shared the same way, has the same ratios.
The overall evenness is the entropy equivalent as a share of the validators:
\[ E = \frac{N_H}{N} = e^{-T_T(S)} \]
so the entropy equivalent is the number of validators times their evenness, \(N_H = N \cdot E\). The top evenness is the HHI equivalent as a share of the entropy equivalent:
\[ E_{top} = \frac{N_{HHI}}{N_H} \]
Both are 1 when all the validators hold the same stake, and lower the less even the stake is. Small validators joining lower the overall evenness, as they raise the Theil T index, and the top evenness less: the HHI weighs them little, so the top evenness tells how much the largest validators outweigh the rest. In ecology, where they measure the diversity of species, these ratios are the evenness of the Hill numbers.
Important
Evenness is not decentralization: it ignores how many validators there are. 20 equal validators are as even as 100, and a single validator holding 80% of the stake is more even at the top than one holding 30% among 70 small ones: see the examples. Read it next to the effective numbers, not as a score.
Nakamoto Coefficient
The Nakamoto Coefficient (\(NC\)) counts the fewest validators holding together more than a share \(q\) of the stake: the smallest coalition able to threaten the consensus. Given the validators’ stakes sorted from the largest, \( y_1 \ge y_2 \ge … \ge y_N\):
\[ NC_q(S) = \min \left\{ k : \sum_{i=1}^{k} y_i > q \sum_{i=1}^{N} y_i \right\} \]
Unlike the inequality indexes, it measures the stake against the thresholds of the consensus. On Algorand, four thresholds matter:
| Coefficient | Threshold | Meaning |
|---|---|---|
| Veto | \(NC_{10\%}\) | A coalition above it can block protocol upgrades |
| Liveness | \(NC_{20\%}\) | A coalition above it can stall the consensus by not voting, conservatively |
| Nakamoto | \(NC_{33\%}\) | A coalition above it breaks the honest majority assumption of the consensus |
| Upgrade | \(NC_{90\%}\) | How many accounts it takes to reach the broad supermajority protocol upgrades need |
Together they are the PPoS Dex v3. The higher the threshold, the more accounts it takes: \(NC_{10\%} \le NC_{20\%} \le NC_{33\%} \le NC_{90\%}\).
Accounts rekeyed to the same address, or registering their participation keys with the same validity window, are likely run by the same operator. Merging them gives the Nakamoto Coefficient of operators: a heuristic, lower than or equal to the accounts one.
Tip
Related projects look at these thresholds from other angles: Valar Decentralization names the operators the heuristic cannot see, like custodians and staking providers running many accounts; Partlife shows when the participation keys of the online accounts expire, a risk to liveness; and Ⱥ Surf Upgrades shows how each consensus upgrade reached its supermajority.
Examples
Six stake distributions, from a single dominant validator to 100 equal ones:
- One at 80%: the largest validator holds 80% of the stake, the next 5 hold 2% each, the remaining 10 hold 1% each;
- Six at 15%: the 6 largest validators hold 15% each, the remaining 10 hold 1% each;
- 20 equal: 20 validators hold 5% each;
- One at 30%: the largest validator holds 30% of the stake, the remaining 70 hold 1% each: a whale among many small validators;
- 20 large, 80 small: 20 validators hold 4% each, 80 hold 0.25% each: a long tail, the shape of real networks;
- 100 equal: 100 validators hold 1% each.
Compared by every metric:
| Metric | 1. One at 80% | 2. Six at 15% | 3. 20 equal | 4. One at 30% | 5. 20 large, 80 small | 6. 100 equal |
|---|---|---|---|---|---|---|
| Validators \(N\) | 16 | 16 | 20 | 71 | 100 | 100 |
| Gini \(GI\) | 0.769 | 0.525 | 0 | 0.286 | 0.600 | 0 |
| Entropy \(H\) | 1.03 | 2.17 | 3.00 | 3.58 | 3.77 | 4.61 |
| Theil L \(T_L\) | 1.34 | 0.82 | 0 | 0.29 | 0.83 | 0 |
| Theil T \(T_T\) | 1.74 | 0.60 | 0 | 0.68 | 0.83 | 0 |
| HHI | 0.643 | 0.136 | 0.05 | 0.097 | 0.0325 | 0.01 |
| Entropy equivalent \(N_H\) | 2.8 | 8.7 | 20 | 36.0 | 43.5 | 100 |
| HHI equivalent \(N_{HHI}\) | 1.6 | 7.4 | 20 | 10.3 | 30.8 | 100 |
| Overall evenness \(E\) | 0.18 | 0.55 | 1 | 0.51 | 0.44 | 1 |
| Top evenness \(E_{top}\) | 0.56 | 0.84 | 1 | 0.29 | 0.71 | 1 |
| Veto \(NC_{10\%}\) | 1 | 1 | 3 | 1 | 3 | 11 |
| Liveness \(NC_{20\%}\) | 1 | 2 | 5 | 1 | 6 | 21 |
| Nakamoto \(NC_{33\%}\) | 1 | 3 | 7 | 5 | 9 | 34 |
| Upgrade \(NC_{90\%}\) | 7 | 7 | 19 | 62 | 61 | 91 |
The entropy of each example against the maximum its validators allow, \(\ln N\): the equal ones reach it, the others fall short by their Theil T index.
The Nakamoto Coefficients are where the stake of the largest validators crosses each threshold:
The inequality indexes cannot tell 20 equal validators from 100: both are perfectly equal. The effective numbers and the Nakamoto Coefficients can: they grow with how many validators share the stake, from less than 3 to 100, and from a single validator able to threaten the consensus to dozens.
The whale shows what the inequality indexes miss: with a Gini Index of 0.29 and an entropy equivalent of 36, its stake looks widely shared, yet a single validator is enough to veto an upgrade and to stall the consensus. The HHI equivalent, the top evenness and the Veto and Liveness Coefficients show it.
The long tail shows the opposite blind spot: adding 80 small validators to 20 large ones takes the Gini Index from 0 to 0.6, as if the stake had concentrated, while every count of validators grows. The Snapshot shows where the real network stands.
Account Participation Index
The Account Participation Index (\(A_P\)) represents the fraction of validator accounts (\(A_v\)) over the total accounts (\( A_{tot}\)):
\[ A_P = \frac{A_v}{A_{tot}} \]
It can theoretically range from 0 (no account participating in PoS validation) to 1 (all existing accounts participating in PoS validation).
Note
On Algorand, the accounts holding ALGO grow faster than the online ones: the index fell from 1.6% to 1% between 2021 and 2026, while the online accounts grew sixfold.
Important
In account-based Blockchains (like Algorand), accounts are identified by public keys. Permissionless and public networks are pseudonymous by design, therefore there is no way to assert if different public keys belong to different users. We assume that each public key belongs to a different participant in the PPoS consensus, with their own skin in the game.
Pure Proof of Stake Decentralization Index
We finally apply the \(DEX\) index to Algorand’s PPoS, defining the \(PPoS DEX\) index.
Given the \(DEX\) index definition, we say Algorand PPoS is “completely decentralized” iff:
- Algorand Nodes Hardware is completely decentralized (\(d_N = 1\));
- Algorand Network Topology is completely decentralized (\(d_T = 1\));
- Algorand Validating Stake is completely decentralized (\(d_S = 1\)).
As pointed out in previous chapters, due to resource and time constraints, we assume complete decentralization both for Nodes Hardware and Network Topology, leaving the refinement of these assumptions to future works (community contributions are welcome).
The ALGO has a total supply of 10B, hardcoded in the genesis block, so the Stake Dynamics applies to ALGO.
The circulating supply is measured as the ledger’s participating supply (the
Algod total-money): the genesis supply minus the balances of the accounts
flagged as non-participating. It counts custodial, treasury and exchange
balances as circulating, so it is larger than the economic circulating supply.
We say Algorand Validating Stake is “completely decentralized” iff:
- All the ALGO genesis supply is circulating in the ecosystem (\(S_{dyn}\));
- All the ALGO circulating supply is taking part to the PPoS (\(S_{prt}\));
- All the accounts that owns ALGOs are taking part to PPoS (\(A_{prt}\));
- All the accounts participating in PPoS hold the same amount of ALGO (\(GI\) or \(HHI\));
Combining the 4 points above, we know “how far” PPoS is from its purely theoretical decentralization, being aware that the PPoS only tends to the ideal condition, never reaching it.
PPoS DEX v1
\[ PPoS DEX = d_N \cdot d_T \cdot S_{dyn} \cdot S_{prt} \cdot A_{prt} \cdot (1 - GI(S)) \]
PPoS DEX v2
\[ PPoS DEX = d_N \cdot d_T \cdot S_{dyn} \cdot S_{prt} \cdot (1 - HHI(S)) \]
Note
On Algorand data, each version mostly follows a single factor: from 2023 to 2026, 90% of the variation of v1 comes from the accounts participation, and 96% of the variation of v2 from the ALGO participation.
PPoS DEX v3
Instead of the distance from an ideal, v3 measures the stake against the thresholds of the consensus: it is a set of four Nakamoto Coefficients, the fewest online accounts holding together more than a share of the online stake.
\[ PPoS DEX = \left( NC_{10\%}, NC_{20\%}, NC_{33\%}, NC_{90\%} \right) \]
- Veto, \(NC_{10\%}\): a coalition above it can block protocol upgrades;
- Liveness, \(NC_{20\%}\): a coalition above it can stall the consensus;
- Nakamoto, \(NC_{33\%}\): a coalition above it breaks the honest majority assumption;
- Upgrade, \(NC_{90\%}\): how many accounts it takes to reach the broad supermajority that protocol upgrades need.
The higher each coefficient, the more decentralized. Being counts, they are not per-unit indexes, and they do not include the Nodes Hardware and Network Topology factors.
The same coefficients of operators, merging the accounts likely run by the same operator, are published alongside them.
Recomputed History
Some metrics were added after the first data points: the v3 coefficients, published since the CLI 4.0.0 (liveness) and 4.1.0 (all four), the HHI of the online stake, since 15 February 2021, and the PPoS Dex v2, since 9 September 2023. For the data points published before, they are recomputed.
The v3 coefficients and the HHI are recomputed from the ledger: the state of every online account at the round of each point, as Nodely Time Travel answers it. Only a key registration takes an account online, so the accounts that ever registered their keys, and those online from genesis, are the candidates. Each recomputed point is checked against the ledger and the published data:
- the online stake of the recomputed accounts equals the ledger online stake at the round;
- the online accounts, their Gini Index and their HHI match the published ones, but for the accounts changing in the few rounds between the reading of the publisher and its note.
The PPoS Dex v2 needs no ledger: it is computed from the ALGO supply, the online stake and its HHI, published with every point, as the published v2 is.
Where the Oracle published no data point for more than a day and a half, most of all from March 2022 to September 2023, the ledger gives one a day, at 00:00 UTC: the ALGO supply, the online stake, its inequality indexes, the PPoS Dex v2 and v3. The accounts holding more than the threshold, online or not, are not recomputed: they would take the balance of every account at the round. Neither are the metrics that count them: the Account Participation Index, the ALGO HHI and the PPoS Dex v1.
Recomputed values are not published on-chain: the charts draw them dashed, the monthly change hatched. The script and the data, with the checks of each point, are in the repository.
Metrics summary
| METRIC | SYMBOL | DESCRIPTION |
|---|---|---|
| ALGO Dynamics | \(S_{dyn}\) | 0 = no ALGO circulation, 1 = complete ALGO circulation |
| ALGO Participation | \(S_{prt}\) | 0 = no PPoS participation, 1 = complete PPoS participation |
| Accounts Participation | \(A_{prt}\) | 0 = no PPoS accounts participation, 1 = complete PPoS accounts participation |
| ALGO HHI | \(1 - HHI(A)\) | Considers all ALGO stakes, whether they participate in the PPoS or not |
| PPoS Gini | \(1 - GI(S)\) | PPoS staking inequality, regardless the number of participating accounts |
| PPoS Theil’L | \(TL(S)\) | PPoS staking inequality, sensitive to differences at the lower end of the distribution (small stakes) |
| PPoS Theil’T | \(TT(S)\) | PPoS staking inequality, sensitive to differences at the high end of the distribution (large stakes) |
| PPoS HHI | \(1 - HHI(S)\) | PPoS staking inequality, takes the number of participating accounts in consideration |
| Effective Validators | \(N_H, N_{HHI}\) | Equal-stake validators the PPoS stake is worth, by entropy and by HHI |
| PPoS Veto | \(NC_{10\%}(S)\) | Fewest online accounts holding more than 10% of the online stake: able to block upgrades |
| PPoS Liveness | \(NC_{20\%}(S)\) | Fewest online accounts holding more than 20% of the online stake: able to stall the consensus |
| PPoS Nakamoto | \(NC_{33\%}(S)\) | Fewest online accounts holding more than 1/3 of the online stake: able to break its honest majority |
| PPoS Upgrade | \(NC_{90\%}(S)\) | Fewest online accounts holding more than 90% of the online stake: the supermajority upgrades need |
| PPoS Dex v3 Operators | \(NC_{q}(O)\) | The four coefficients, merging the online accounts likely run by the same operator |
Note
Minimum balance filter
Due to the huge number of accounts already existing on Algorand (more than 30M at the time of writing, Sep 2023), fetching and processing all of them would be computationally heavy and resource demanding for this project. Therefore, PPoS Dex CLI applies an optional “minimum balance filter”, to ignore accounts with balances lower than a threshold (default 1000 ALGO). Such a filtering operation has a noise-canceling effect that makes the data retrieval and process lighter, without compromising data statistical significance of the stake indexes: less than 0.001% of the online stake belongs to accounts below the default threshold. The metrics counting accounts, like the Accounts Participation and the Gini Index, do depend on the threshold instead.
PPoS Timeseries
The PPoS Dex data published daily, and views derived from it, refreshed daily. Where the Oracle published no data point, most of all from March 2022 to September 2023, the metrics the ledger alone gives are recomputed, and dashed.
Overview
At a Glance
The online stake, the online accounts and the entropy equivalent validators, then the PPoS Dex v3 coefficients, with their operators, and the PPoS Dex v1 and v2: each with its latest value and its change over the last year in the direction of decentralization. The index components have their own charts below.
Monthly Change
The change of each metric monthly average, towards more or less decentralization: trends and turning points across all metrics at once. The network first, with all the accounts holding more than 1,000 ALGO, then the PPoS Dex v3 coefficients, then the PPoS Dex v1 and v2 and the concentration of the online stake and of all the ALGO.
The Network
Online Stake
The ALGO in circulation, \(S_{dyn}\) of the genesis supply, and the ALGO online for consensus, \(S_{prt}\) of the circulating supply: see the Stake Participation Index.
Effective Validators
The online accounts, and how many validators with equal stake they are worth: see the effective number of validators for how the entropy and HHI equivalents are computed.
Decentralization Trajectory
The online accounts against the effective validators, week by week: moving to the right means more validators, moving up means more evenly staked ones.
The dashed lines mark where the effective validators are a given share of the online accounts: 100% means all the online accounts hold the same stake, and the further below the path runs, the more concentrated the stake is.
Stake Evenness
The stake evenness of the online accounts: how evenly they share the stake, whatever their number. The overall evenness is the share of the online accounts the effective validators amount to, the dashed lines of the trajectory; the top evenness tells how much the largest validators outweigh the rest.
PPoS Dex
PPoS Dex v3
The PPoS Dex v3: the fewest online accounts holding more than 10% (veto), 20% (liveness), 1/3 (Nakamoto) and 90% (upgrade) of the online stake, by account and counting the accounts likely run by the same operator as one. The values before its publication are recomputed from the ledger, and dashed.
PPoS Dex v1 and v2
The PPoS Dex v1 and v2: how far the stake is from a platonic ideal of decentralization, where every ALGO and every account takes part in consensus with equal stakes. Real networks only tend to that ideal, so these trends read as a direction rather than as a distance to cover. The v2 values before its publication are recomputed from the published metrics, and dashed.
Index Components
Participation
How much of the ALGO and of the accounts takes part in consensus: the Stake Participation Index and the Account Participation Index.
ALGO Dynamics
The ALGO Supply \(S_{dyn}\) and the ALGO Participation \(S_{prt}\) of the Stake Participation Index.
Tip
The ALGO Participation is a ratio: it drops when ALGO enters circulation, even if more ALGO than ever is online. See the Online Stake for the absolute numbers behind it.
Accounts Participation
The Account Participation Index.
Tip
The Accounts Participation is a ratio: it drops when accounts join the network, even if more accounts than ever are online. The panel below shows the accounts behind it.
Online Stake Inequality
How unequally the online stake is spread across the validators: the Stake Inequality Index.
PPoS Inequality (Bounded)
The Gini Index and the HHI of the online stake. The HHI of the first month is recomputed from the ledger, and dashed.
Tip
The Gini Index rises when small validators join, even as the stake spreads across more of them: see the notes on the Gini Index.
PPoS Inequality (Unbounded)
The Theil Indexes of the online stake.
Tip
The Theil T Index grows with the number of validators, even as the stake spreads across more of them: the entropy equivalent turns it into a count that does not.
All ALGO Concentration
How concentrated all the ALGO is, online or not: the ALGO HHI of the PPoS Dex metrics.
ALGO Inequality
The Herfindahl–Hirschman Index of all the accounts holding more than the threshold, online or not.
Effective Holders
How many equal holders the ALGO of all the accounts above the threshold is worth, as the HHI equivalent of the ALGO HHI. Custodians and exchanges hold ALGO for many owners: this counts accounts, not owners.
PPoS Snapshot
The latest PPoS Dex data point published, in the same order as the Timeseries.
The Network
Validators
The online accounts, and the effective number of validators they are worth: how many validators with equal stake would be as decentralized, by entropy and by HHI.
Online Stake
Who holds the online stake, by account and by likely operator: the same view as the examples, with the real validators.1 Valar Decentralization shows the same stake by named operator and staking solution.
PPoS Dex
PPoS Dex v3
The four PPoS Dex v3 coefficients, on the scale of the online accounts: first by account, then merging the accounts likely run by the same operator. Merged, the operators can only be fewer, so their coefficients are lower or equal.
PPoS Dex v1 and v2
The PPoS Dex v1 and v2: how far the stake is from a platonic ideal of decentralization, where every ALGO and every account takes part in consensus with equal stakes. Real networks only tend to that ideal, so their trend tells more than a single value.
Index Components
ALGO Dynamics
The ALGO Supply \(S_{dyn}\) of the Stake Participation Index: the share of the genesis supply in circulation.
PPoS Inequality
The Stake Inequality Index of the online stake: the Gini, HHI and Theil indexes. The Gini and Theil T indexes rise as small validators join: see the tips on reading them.
-
The published data has no stake of each account: this chart reads it live from the Indexer when the docs are deployed. ↩
Related Projects
PPoS Dex measures how the online stake is shared. These projects look at Algorand decentralization from other angles, and help read its numbers.
Nodely
Nodely observes the network from its relays: how many nodes run, where they are hosted and which version they run, along with the consensus and the protocol upgrades. It counts the nodes with the Chao-1 estimator, and shows the infrastructure diversity the stake alone does not.
Valar Decentralization
Valar Decentralization shows who is behind the online stake: the stake by operator, staking solution, account type and owner, with the coefficients of named entities. Where PPoS Dex groups the accounts into likely operators by heuristic, its labels catch the custodians and staking providers running many accounts.
Partlife
Partlife follows the participation keys of the online accounts: when they expire, and which accounts are eligible for payouts, absent or suspended. Keys expiring together are a risk to liveness that the stake alone does not show.
Ⱥ Surf Upgrades
Ⱥ Surf Upgrades lists every consensus upgrade, with its votes against the 90% it needs and the attempts it took: the Upgrade Coefficient in practice.
Install
The PPoS Dex CLI publishes PPoS Dex data points on-chain, plots their trend
(timeseries) and latest state (snapshot), and exports them to .csv for your
own analysis.
PPoS Dex uses uv to
manage Python and its dependencies. Clone the
PPoS Dex repository, cd into it, and run:
uv sync
You are all set!
Node Setup
PPoS Dex reads the blockchain from an Algorand node and an Indexer. Every command accepts a network option:
| Option | Network | Node and Indexer |
|---|---|---|
| (none) | MainNet | Nodely APIs |
-t, --test | TestNet | Nodely APIs |
-l, --localhost | LocalNet | AlgoKit LocalNet on localhost |
To use AlgoKit LocalNet, start it before running PPoS Dex, and check it is up
with the health command:
uvx algokit localnet start
uv run pposdex health --localhost
Usage
Ask the PPoS Dex CLI for help:
$ uv run pposdex --help
usage: pposdex [-h] <command> ...
Algorand PPoS Decentralization Index.
positional arguments:
<command>
publish Publish PPoS Dex data. Requires ALGO_MNEMONIC environment variable.
timeseries Plot PPoS Dex timeseries.
snapshot Plot latest PPoS Dex data point.
export Export PPoS Dex data to `.csv`.
health Check Algod and Indexer status.
options:
-h, --help show this help message and exit
| Command | Use it to |
|---|---|
publish | Publish a PPoS Dex data point on-chain |
timeseries | Plot the published data points over time |
snapshot | Plot the latest published data point |
export | Export the published data points to .csv |
health | Check the Algorand node and Indexer are available |
Each command has its own --help too, shown in its page.
All commands use Algorand MainNet by default: select another network with
--test or --localhost (see Node Setup). Use
--verbose to show more details (e.g. Indexer request retries and published
transactions), or --quiet to show errors only.
Publish
Anyone can publish trustless PPoS Dex data points on the Algorand blockchain, paying just the minimum transaction fee (currently 0.001 ALGO).
Set the mnemonic of your publisher account as an environment variable:
export ALGO_MNEMONIC=...
and use the publish command:
$ uv run pposdex publish --help
usage: pposdex publish [-h] [-a ALGO_THRESHOLD] [-l | -t] [-v | -q]
options:
-h, --help show this help message and exit
-a, --algo-threshold ALGO_THRESHOLD
Minimum account balance in ALGO (default: 1000)
-l, --localhost Use AlgoKit LocalNet
-t, --test Use TestNet (default: MainNet)
-v, --verbose Show debug details
-q, --quiet Show errors only
The published data point is printed once confirmed, for example:
📈 PPoS Dex published data:
{ 'accounts': 147633,
'algo_dynamics': 0.9816195500486596,
'algo_hhi': 0.011881330526539167,
'algo_threshold': 1000,
'ppos_dex': 0.00018605998214704048,
'ppos_dex_v2': 0.197653743427405,
'ppos_dex_v3_liveness': 7,
'ppos_dex_v3_liveness_operators': 2,
'ppos_dex_v3_nakamoto': 13,
'ppos_dex_v3_nakamoto_operators': 3,
'ppos_dex_v3_upgrade': 135,
'ppos_dex_v3_upgrade_operators': 111,
'ppos_dex_v3_veto': 4,
'ppos_dex_v3_veto_operators': 1,
'ppos_gini': 0.9030210736028383,
'ppos_hhi': 0.01606794676611987,
'ppos_online_accounts': 0.009550710207067525,
'ppos_online_stake': 0.20464292567467565,
'ppos_theil_l': 2.266361842976268,
'ppos_theil_t': 2.4749568856442137,
'round': 66605064,
'timestamp': '2026-11-01 03:31:36.875492'}
Warning
Lower values of
--algo-thresholdrequire many more queries. Avoid lowering the default threshold, especially when using third-party API services.
Timeseries
Plot the published PPoS Dex data points over time, as in the Timeseries, to follow their trends.
$ uv run pposdex timeseries --help
usage: pposdex timeseries [-h] [-p PUBLISHER] [-s START_BLOCK] [-e END_BLOCK] [-a ALGO_THRESHOLD]
[-l | -t] [-v | -q] [--save]
options:
-h, --help show this help message and exit
-p, --publisher PUBLISHER
PPoS Dex data publisher address (default:
WIPE4JSUWLXKZZK6GJ6VI32PX6ZWPKBRH5YFRJCHWOVC73P5RI4DGUQUWQ)
-s, --start-block START_BLOCK
Data starting block (default: 11476070)
-e, --end-block END_BLOCK
Data ending block
-a, --algo-threshold ALGO_THRESHOLD
Minimum account balance in ALGO (default: 1000)
-l, --localhost Use AlgoKit LocalNet
-t, --test Use TestNet (default: MainNet)
-v, --verbose Show debug details
-q, --quiet Show errors only
--save Save plots in './docs/images'
Only data points published with the selected --algo-threshold are plotted, by
default those of the PPoS Dex Oracle account. With --save the plots are saved
in ./docs/images/timeseries instead of being shown.
Snapshot
Plot the latest published PPoS Dex data point, as in the Snapshot.
$ uv run pposdex snapshot --help
usage: pposdex snapshot [-h] [-p PUBLISHER] [-s START_BLOCK] [-e END_BLOCK] [-a ALGO_THRESHOLD]
[-l | -t] [-v | -q] [--save]
options:
-h, --help show this help message and exit
-p, --publisher PUBLISHER
PPoS Dex data publisher address (default:
WIPE4JSUWLXKZZK6GJ6VI32PX6ZWPKBRH5YFRJCHWOVC73P5RI4DGUQUWQ)
-s, --start-block START_BLOCK
Data starting block (default: 11476070)
-e, --end-block END_BLOCK
Data ending block
-a, --algo-threshold ALGO_THRESHOLD
Minimum account balance in ALGO (default: 1000)
-l, --localhost Use AlgoKit LocalNet
-t, --test Use TestNet (default: MainNet)
-v, --verbose Show debug details
-q, --quiet Show errors only
--save Save plots in './docs/images'
The snapshot shows the latest data point published with the selected
--algo-threshold, by default by the PPoS Dex Oracle account. With --save the
plots are saved in ./docs/images/snapshot instead of being shown.
The published data has no stake of each account: the online stake treemap reads
the online accounts holding more than --algo-threshold live from the Indexer.
Export
Export the published PPoS Dex data points to a .csv file, for your own
analysis.
$ uv run pposdex export --help
usage: pposdex export [-h] [-p PUBLISHER] [-s START_BLOCK] [-e END_BLOCK] [-a ALGO_THRESHOLD]
[-l | -t] [-v | -q]
options:
-h, --help show this help message and exit
-p, --publisher PUBLISHER
PPoS Dex data publisher address (default:
WIPE4JSUWLXKZZK6GJ6VI32PX6ZWPKBRH5YFRJCHWOVC73P5RI4DGUQUWQ)
-s, --start-block START_BLOCK
Data starting block (default: 11476070)
-e, --end-block END_BLOCK
Data ending block
-a, --algo-threshold ALGO_THRESHOLD
Minimum account balance in ALGO (default: 1000)
-l, --localhost Use AlgoKit LocalNet
-t, --test Use TestNet (default: MainNet)
-v, --verbose Show debug details
-q, --quiet Show errors only
The data points published with the selected --algo-threshold are written to
ppos_dex_data.csv, in the current directory.
Health
Check the Algorand node and Indexer of the selected network are available.
$ uv run pposdex health --help
usage: pposdex health [-h] [-l | -t] [-v | -q]
options:
-h, --help show this help message and exit
-l, --localhost Use AlgoKit LocalNet
-t, --test Use TestNet (default: MainNet)
-v, --verbose Show debug details
-q, --quiet Show errors only
Run it before the other commands, for example after starting AlgoKit LocalNet (see Node Setup), or when a command fails to reach the APIs.