How Does Delegated Proof of Stake (DPoS) Work and Which Projects Use It

Delegated Proof of Stake (DPoS) is a new and attractive blockchain consensus mechanism. Learn everything about it in this article.
Written by
Jiří Makovský
August 11, 2024
7
min. read

In this article, we will explore in depth what Delegated Proof of Stake is and how it works. We will examine examples of DPoS cryptocurrencies and chains, and we will learn about the advantages and disadvantages of the DPoS consensus mechanism.

What is Delegated Proof of Stake

Delegated Proof of Stake (DPoS) is a consensus algorithm designed to improve the efficiency and democratic participation of blockchain networks. Developed by Dan Larimer in 2014, DPoS introduces a unique governance model that blends direct stakeholder voting with representative democracy, very similar to how parliament works in many countries. 

Concept and Origins

DPoS was conceptualized as an improvement over traditional consensus mechanisms such as Proof of Work (PoW) and Proof of Stake (PoS). PoW, used by Bitcoin and many early blockchains, relies on computational power to solve complex mathematical puzzles, which can be energy-intensive and slow. PoS, on the other hand, selects validators based on the number of tokens they hold and are willing to "stake" as collateral, which reduces energy consumption but can lead to centralization if a few stakeholders have a significant portion of the tokens.

DPoS aims to address these issues by introducing a voting system where token holders vote for a small, fixed number of delegates who are entrusted with the responsibility of validating transactions and maintaining the blockchain. This delegation process allows for greater efficiency and scalability, as the network does not need to wait for a large number of validators to reach a consensus.

Tatum makes blockchain development easier for you.

Manage SDKs for various chains, work on your own application, or test on blockchain—all in one place.

[.c-wr-center][.button-black]Register Now[.button-black][.c-wr-center]

How Does Delegated Proof of Stake Work

In a DPoS system, the core mechanism involves a democratic election process where stakeholders use their token holdings to vote for a select group of delegates, also known as “witnesses” or “block producers.” These delegates are then entrusted with the responsibility of validating transactions and maintaining the blockchain. This process is designed to balance decentralization with efficiency, which leads to faster and more scalable networks. 

Here is a more detailed breakdown:

Voting Process

Proposal of Delegates 

Any participant in the network can propose themselves as a delegate, provided they meet certain criteria set by the network protocol. This might include having a minimum stake of tokens or meeting technical requirements.

Voting 

Token holders cast votes for their preferred delegates. The voting mechanism can vary across projects; it might be a continuous process where stakeholders can change their votes at any time or occur at regular intervals. Each vote's weight is proportional to the number of tokens held by the voter. 

Some networks also implement vote decay to encourage ongoing participation. This mechanism diminishes the weight of votes from holders who do not reaffirm or change their vote for a long time. This ensures that delegates are representing the current will of the holders.

Selection

The delegates who receive the most votes (or the highest weight) are selected to produce blocks for a specific term, which can range from minutes to days, depending on the network's rules. Typically, there are between 21 to 101 active delegates at any given time, althrought this number can vary greatly.

[.c-box-wrapper][.c-box]You might be interested in: 15 Books for Blockchain Developers[.c-box][.c-box-wrapper]

Block Production

Block Schedule

The selected delegates are assigned a specific order and schedule to produce blocks in a round-robin fashion. This pre-defined schedule reduces the chances of conflicts and ensures that all delegates have an equal opportunity to produce blocks.

Block Validation 

When it's their turn, a delegate validates the transactions, compiles them into a block, and broadcasts the block to the network. Other delegates then verify the block. If a majority (often two-thirds) of the delegates validate the block, it is added to the blockchain.

Consensus 

The consensus is achieved when a block is confirmed by a predetermined number of delegates. This ensures the network remains secure and that blocks are added in a timely manner. In many DPoS systems, the block production time is significantly shorter than in PoS or PoW systems, often taking just a few seconds.

DPoS Incentives and Penalties

Rewards for Delegates

Delegates receive block rewards and transaction fees for their efforts (block validation and more). The rewards incentivize delegates to act honestly and maintain network security. In some systems, part of the reward is shared with the stakeholders who voted for the delegate to align incentives and encourage conscientious voting.

Penalties for Delegates

If a delegate fails to produce a block during their turn or is found to be acting maliciously, they can be penalized. Penalties can include losing their position as a delegate, forfeiting their rewards, or, in severe cases, having their staked tokens— which function as collateral—slashed.

Security Measures

  • Stake-Based Security: The security of the network relies on the economic stake of the delegates. Since delegates have a significant amount of tokens at risk, they are incentivized to act in the network's best interest.
  • Voting Dynamics: Continuous voting safeguards that underperforming or malicious delegates can be quickly replaced. This dynamic process helps maintain a high level of trust and performance among the delegates.
  • Accountability: Again, the perpetual voting process leads to delegates remaining accountable to the stakeholders. 
  • Decentralization: While DPoS introduces a layer of delegation, it retains a degree of decentralization by allowing stakeholders to control the selection and oversight of delegates. Nevertheless, the fact that selected delegates control the network is often highlighted as a major issue of this mechanism.

Governance and Upgrades

  • Proposals and Voting: Delegates, predictably, play a key role in the network's governance. They can propose changes, upgrades, and improvements to the network protocol, which the stakeholders then vote on.
  • Network Upgrades: The delegates implement successful proposals so that the network can evolve and adapt to new challenges and opportunities. This governance model aims to be more flexible and responsive than traditional PoW and PoS systems.

DPoS combines democratic principles with technical efficiency, aiming to offer a scalable and robust solution. The key is maintaining decentralization while ensuring high performance.

DPoS Incentives and Penalties

Rewards for Delegates

Delegates receive block rewards and transaction fees for their efforts (block validation and more). The rewards incentivize delegates to act honestly and maintain network security. In some systems, part of the reward is shared with the stakeholders who voted for the delegate to align incentives and encourage conscientious voting.

Penalties for Delegates

If a delegate fails to produce a block during their turn or is found to be acting maliciously, they can be penalized. Penalties can include losing their position as a delegate, forfeiting their rewards, or, in severe cases, having their staked tokens— which function as collateral—slashed.

Security Measures

  • Stake-Based Security: The security of the network relies on the economic stake of the delegates. Since delegates have a significant amount of tokens at risk, they are incentivized to act in the network's best interest.
  • Voting Dynamics: Continuous voting safeguards that underperforming or malicious delegates can be quickly replaced. This dynamic process helps maintain a high level of trust and performance among the delegates.
  • Accountability: Again, the perpetual voting process leads to delegates remaining accountable to the stakeholders. 
  • Decentralization: While DPoS introduces a layer of delegation, it retains a degree of decentralization by allowing stakeholders to control the selection and oversight of delegates. Nevertheless, the fact that selected delegates control the network is often highlighted as a major issue of this mechanism.

Governance and Upgrades

  • Proposals and Voting: Delegates, predictably, play a key role in the network's governance. They can propose changes, upgrades, and improvements to the network protocol, which the stakeholders then vote on.
  • Network Upgrades: The delegates implement successful proposals so that the network can evolve and adapt to new challenges and opportunities. This governance model aims to be more flexible and responsive than traditional PoW and PoS systems.

DPoS combines democratic principles with technical efficiency, aiming to offer a scalable and robust solution. The key is maintaining decentralization while ensuring high performance.

[.c-box-wrapper][.c-box]You might be interested in: Blockchain Trilemma Explained by Industry Experts[.c-box][.c-box-wrapper]

Delegated Proof of Stake vs. Proof of Stake

While both DPoS and PoS are consensus mechanisms that rely on staking, they differ significantly in their operational structures.

Voting and Delegation

  • PoS: All stakeholders participate directly in block validation based on the number of tokens they stake.
  • DPoS: Stakeholders vote for a small number of delegates who take on the responsibility of block validation.

Efficiency and Scalability

  • PoS: Slower block times and potential scalability issues due to the larger number of validators.
  • DPoS: Faster block times and improved scalability due to the limited number of block producers.

Governance

  • PoS: Governance decisions are made by all stakeholders.
  • DPoS: Governance is more streamlined as decisions are made by elected delegates, though stakeholders still have the power to vote out underperforming delegates.

Decentralization

  • PoS: Power is distributed among all participants. No single entity controls the network, and everyone can participate in block production. Users can (and often do) pool their tokens into staking pools, which increases their chances of being selected to produce blocks and earn rewards.
  • DPoS: Power is more centralized with elected delegates, but stakeholders can vote out underperforming or malicious delegates. It is vital for DPoS networks to have a committed and strong community in order to maintain decentralization.

Advantages of DPoS

Speed and Scalability

DPoS networks typically have faster transaction times and greater scalability potential compared to Proof of Stake and Proof of Work systems. The limited number of delegates reduces the time needed to reach a consensus. By having a smaller, more manageable group of trusted block producers, DPoS networks can achieve higher transaction throughput and lower latency.

Energy Efficiency

Similar to PoS, DPoS is far more energy-efficient than PoW as it does not require extensive computational power for block validation. The consensus mechanism of DPoS eliminates the need for energy-intensive mining processes. This not only reduces the network's carbon footprint but also lowers its overall operating costs.

[.c-box-wrapper][.c-box]You might be interested in: What Is a Nonce in Blockchain: Definition and Purpose[.c-box][.c-box-wrapper]

Democratic Participation

DPoS introduces a layer of democratic governance. Stakeholders can vote for delegates who will act in the best interests of the network. Hence, stakeholders are incentivized to engage in the community and have direct influence, fostering a sense of ownership and accountability. The voting process empowers participants to select representatives who align with their values and objectives.

Disadvantages of DPoS

Centralization Risks

Despite efforts to decentralize power, DPoS systems can still face centralization issues if a small group of stakeholders holds a large number of tokens and can control the election of delegates. This concentration of power can undermine the main principles, leading to scenarios where the decision-making process is dominated by a few entities. These might prioritize their interests over the broader community, stifling innovation and causing conflicts within the network.

Security Concerns

With fewer block producers, DPoS networks can be more vulnerable to attacks if a significant number of delegates act maliciously or collude. In a scenario where malicious actors gain control of a substantial portion of the delegates, they could disrupt the network, double-spend transactions, or engage in other forms of malicious behavior. 

The reduced number of block producers also means that the network's security relies heavily on the honesty and integrity of these few delegates, making the system less resilient against coordinated attacks.

Complexity

The voting and delegation process adds a layer of complexity to the system, which can be a barrier for new users. Understanding how to participate in the voting process, how delegates are elected, and how governance proposals are handled requires a certain level of knowledge and engagement. This can deter non-technical users from participating actively in the network's governance, which potentially leads to voter apathy and lower overall participation rates. Moreover, the need for continuous voting and monitoring of delegate performance can be time-consuming and cumbersome. Organizations maintaining DPoS blockchains usually try to make the process as easy as possible and also implement solutions like vote decay.

[.c-box-wrapper][.c-box]You might be interested in: Everything About Solana Blinks[.c-box][.c-box-wrapper]

DPoS vs. NPoS

Nominated Proof of Stake (NPoS) is, along with Delegated Proof of Stake, another variation of PoS. NPoS is used, for example, by the popular network Polkadot. Here are the key differences between DPoS and NPoS:

Voting Mechanism

  • DPoS: Stakeholders vote directly for delegates.
  • NPoS: Stakeholders nominate validators, and an algorithm selects the most reputable ones.

Selection Process

  • DPoS: Stakeholders manually vote for the delegates. Those with the most votes, or the highest vote weight, become validators.
  • NPoS: Algorithmic selection based on nominations and reputation metrics.

Security

  • DPoS: Security relies on the vigilance of voters to elect honest delegates.
  • NPoS: Algorithmic checks aim to enhance security by selecting validators with the best track record.

Which Coins Operate on DPoS Networks

Protocols that utilize the DPoS consensus are, for example:

Tezos (XTZ)

Tezos operates on a Liquid Proof of Stake (LPoS) mechanism, a variation of DPoS. It allows for self-amending protocols and on-chain governance, which enhances its adaptability and community-driven development.

WAX (WAX)

WAX (Worldwide Asset eXchange) uses DPoS to facilitate the trading of virtual assets. It provides high transaction throughput and low latency because of the reduced number of validators needed to reach a consensus, as opposed to PoS or PoW. 

Ontology (ONT)

Ontology combines DPoS and VBFT (Verifiable Byzantine Fault Tolerance) to provide high-performance and customizable blockchain solutions for various industries. However, the project has declined in popularity. 

[.c-box-wrapper][.c-box]You might be interested in: How to Build a Web3 Blockchain Cryptocurrency Wallet[.c-box][.c-box-wrapper]

Hive (HIVE)

Hive, a fork of Steem, utilizes DPoS to enable a decentralized social media and content platform. It focuses on community governance to offer uncensored and freely available information.

Aelf (ELF)

Aelf uses DPoS to support its multi-chain structure with the explicit goal of high performance and effective resource management. Thus increasing interoperability.

Telos (TLOS)

Telos, based on the EOSIO software,is a governance-focused blockchain suitable for decentralized applications and enterprise solutions. It emphasizes community control and fairness.

EOS (EOS)

EOS is one of the most well-known DPoS blockchains. It has high throughput and flexible governance structures.

TRON (TRX)

TRON uses DPoS to support its decentralized entertainment and content-sharing ecosystem. This enables high transaction speeds, which are crucial for handling large-scale content distribution and social media interactions.

Lisk (LSK)

Its decentralized application platform allows developers to build apps using JavaScript, making blockchain coding more accessible and efficient.

Steem (STEEM)

Steem, a social media blockchain, uses DPoS to enhance user experience on its content-sharing platform. Its focus is on fast and cheap transactions.

BitShares (BTS)

BitShares is a financial services platform, that uses DPoS to offer decentralized exchange and smart contract capabilities The outcome is a robust and efficient environment for financial transactions and asset management.

Ark (ARK)

Ark implements DPoS to create an ecosystem that bridges various blockchains through smart bridges and custom blockchains. That promotes interoperability.

Blockchain development does not have to be so difficult. Use Tatum.

[.c-wr-center][.button-black]Start Now[.button-black][.c-wr-center]