SlideShare a Scribd company logo
COSMOS
Proof-of-Stake
Sunny Aggarwal - Tendermint & Cosmos
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Tendermint BFT
• 1 Block Finality
• Requires +2/3 of the validator set
to sign on a block to commit
• Proposer changes every round
• Doesn’t scale as # of validators
increases
Cosmos Proof-of-Stake: An Introduction
Why Proof of Stake?
Basics of Proof of Stake
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Slashing
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Unbonding
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Out of Band Delegation
Out of Protocol
Out of Protocol
Out of Protocol
Out of Protocol
Out of Protocol
Out of Protocol
Out of Protocol
Delegation in Protocol
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Delegation Criteria
Delegators will choose validators
off of criteria such as:
• Validator track record
• Validator’s security setup
• Self-declared, protocol-
enforced minimum self-bond
• Commission rate on
fees/rewards
Classical Redelegation
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Instant Redelegation
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Delegation Commitments
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Incentives
Rewards
• Atoms are just a staking token for the Cosmos
Hub
• Staking tokens are similar to ASICs
• Capital you need in order to be able to be a
validator, and thus earn transaction fees
Staking Token
• Governance can maintains a whitelist of fee tokens
• Each validator maintains a local relative weighting
of values of the different whitelisted tokens
• Validators can choose to order transactions based
on this ordering.
• Can also require these to be submitted to the chain
in order to enforce a global min fee (using the
median)
Atom: 5
Photon: 3
BTC: 5000
ETH: 0.2
DAI: 1
Multi Fee Tokens
• Inflation schedule is designed to encourage staking
(the lower the percentage of staked atoms, the higher
the inflation rate)
• Block rewards split amongst all staked validators
• Block rewards start off unbonded
Block Rewards
• Majority of collected fees gets
split amongst the validators
• Proposer gets a special
dedicated percentage in order
to incentivize them to not
produce empty blocks
Proposer
5%
Split amongst all
validators
95%
Transaction Fees
Proposer Reward
𝑃 = 0.01 + 0.02 ∗ 𝑆 + 0.02 (0.9 𝑅
)
𝑃 = Proposers dedicated percentage
𝑆 = Percentage of stake whose precommits from
previous block were included in the proposal
𝑅 = Round number that a proposal was first proposed
Proposer Reward
• Passive Accounting to avoid iterating over the
entire set of stakers every block
• Transaction Fees and block rewards are added to a
pool
• Shares in the pool are distributed to validators, who
themselves have shares distributed to delegators
• Validators can charge commission rate on
Distribution
Punishments
Liveness Slashing
= Signed
= Unsigned
= Signed
= Unsigned
3/5
= Signed
= Unsigned
3/5
= Signed
= Unsigned
3/5
= Signed
= Unsigned
4/5
= Signed
= Unsigned
3/5
= Signed
= Unsigned
2/5
= Signed
= Unsigned
Liveness Slashing
• Validator gets a slight slash and is automatically
put in an jail period of 2 days
• After a jail period (2 days) the validator can
choose to rebond
• Unless delegators redelegated or unbonded, they
will be delegated to the validator when he gets
out of jail
• The jail period time gets credited to the
unbonding period, for both validator operators
and delegators
Byzantine Slashing
Consensus Fault Slashing
• The consensus engine tracks and generates
evidence for BFT faults
• Double signing on a block
• Breaking a Tendermint locking condition
• Signing a block while you’re in the
unbonding period
• There can be a delay between the time an
infraction occurs and the time that evidence
is found
Consensus Fault Slashing
• At time of evidence, the validator is slashed and
killed.
• A killed validator has all of his delegators
unbonded and the validator cannot revive itself
• Only the worst slash infraction is tracked
• Compromised key can’t be used to slash
100% of a validator’s funds
• Prevents evidence DoS attacks
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Incentivizing
Decentralization
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
Cosmos Proof-of-Stake: An Introduction
100%
Avg
Self Bond
Ratio
Reward
Percentage
Further Work
Help us!
• Attack and improve our economic and theoretical models
• Properly parameterize constants
• Help simulate real world attacks in Game of Stakes
• Test and contribute to the open source codebase
• Come up with a name for Cosmos Proof of Stake
Cosmos Proof-of-Stake: An Introduction
Help us!
• Attack and improve our economic and theoretical models
• Properly parameterize constants
• Help simulate real world attacks in Game of Stakes
• Test and contribute to the open source codebase
• Come up with a name for Cosmos Proof of Stake
Cosmos Proof-of-Stake: An Introduction
Help us!
• Attack and improve our economic and theoretical models
• Properly parameterize constants
• Help simulate real world attacks in Game of Stakes
• Test and contribute to the open source codebase
• Come up with a name for Cosmos Proof of Stake
Cosmos Proof-of-Stake: An Introduction
Help us!
• Attack and improve our economic and theoretical models
• Properly parameterize constants
• Help simulate real world attacks in Game of Stakes
• Test and contribute to the open source codebase
• Come up with a name for Cosmos Proof of Stake
Thank You!
@cosmos @sunnya97

More Related Content

PDF
Cosmos Bonded Proof-of-Stake
PDF
Introducing new Proof-of-Stake based networks - Why your network participatio...
PDF
Harmony Technical DeepDive
PPTX
Overview of Blockchain Consensus Mechanisms
PPTX
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
PDF
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
PPTX
unit3consesence.pptx
PDF
Tpos_factsheet
Cosmos Bonded Proof-of-Stake
Introducing new Proof-of-Stake based networks - Why your network participatio...
Harmony Technical DeepDive
Overview of Blockchain Consensus Mechanisms
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
unit3consesence.pptx
Tpos_factsheet

Similar to Cosmos Proof-of-Stake: An Introduction (20)

PPTX
Encode x Tezos: Intro to Blockchain
PDF
Proof of x
PDF
trestor-whitepaper-voting
PDF
Proof of Stake Talk - Buffalo Blockchain Meetup 4-18-17
PDF
Consensus Algorithms: An Introduction & Analysis
PPTX
Understanding Consensus Mechanisms in Blockchain: Proof of Work, Proof of Sta...
PDF
Mastering the Art of Validating
PDF
"Towards True Decentralization: A Blockchain Consensus Protocol Based on Game...
PDF
DEFCON28_2020_EthereumSecurity_PreventingDDoS_VDF
PPTX
different consensus protocols in blockchian.pptx
PDF
Blockchains - Architecture Overview and Consenus Models - Apr 26th, 2017
PPTX
Consensus Algorithms - Nakov @ jProfessionals - Jan 2018
PPTX
BlockChain_Chap3_RP _Consensus.pptx
PDF
Modern multi-proposer consensus implementations
PPTX
Fundamentals of Blockchain Technology
PDF
Security in the blockchain
PDF
Ergo platform overview
PDF
Can we safely adapt the construction of permissionless blockchain to user dem...
PDF
Hyperchains
PDF
Blockchain School 2019 - Security of Smart Contracts.pdf
Encode x Tezos: Intro to Blockchain
Proof of x
trestor-whitepaper-voting
Proof of Stake Talk - Buffalo Blockchain Meetup 4-18-17
Consensus Algorithms: An Introduction & Analysis
Understanding Consensus Mechanisms in Blockchain: Proof of Work, Proof of Sta...
Mastering the Art of Validating
"Towards True Decentralization: A Blockchain Consensus Protocol Based on Game...
DEFCON28_2020_EthereumSecurity_PreventingDDoS_VDF
different consensus protocols in blockchian.pptx
Blockchains - Architecture Overview and Consenus Models - Apr 26th, 2017
Consensus Algorithms - Nakov @ jProfessionals - Jan 2018
BlockChain_Chap3_RP _Consensus.pptx
Modern multi-proposer consensus implementations
Fundamentals of Blockchain Technology
Security in the blockchain
Ergo platform overview
Can we safely adapt the construction of permissionless blockchain to user dem...
Hyperchains
Blockchain School 2019 - Security of Smart Contracts.pdf
Ad

More from Tendermint Inc (11)

PDF
Cosmos SDK Workshop: How to Build a Blockchain from Scratch
PDF
Vision of Rearchitecting the Blockchain Ecosystem by Chjango Unchained
PPTX
Many Chains, Many Tokens, One Ecosystem
PDF
Open Finance & the Decentralization Movement
PDF
Introduction to Blockchain & Building the 3rd Generation with Golang
PDF
Interblockchain Communication for Blockchain Interoperability
PDF
A Brief History of Distributed State
PDF
Code Run of the Cosmos SDK
PDF
Intro to the Cosmos Network
PDF
Four Dimensional Blockchain Scaling
PDF
Ethermint 2.0: An Ethereum Scaling Solution by Cosmos
Cosmos SDK Workshop: How to Build a Blockchain from Scratch
Vision of Rearchitecting the Blockchain Ecosystem by Chjango Unchained
Many Chains, Many Tokens, One Ecosystem
Open Finance & the Decentralization Movement
Introduction to Blockchain & Building the 3rd Generation with Golang
Interblockchain Communication for Blockchain Interoperability
A Brief History of Distributed State
Code Run of the Cosmos SDK
Intro to the Cosmos Network
Four Dimensional Blockchain Scaling
Ethermint 2.0: An Ethereum Scaling Solution by Cosmos
Ad

Recently uploaded (20)

PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
PDF
Autodesk AutoCAD Crack Free Download 2025
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PPTX
GSA Content Generator Crack (2025 Latest)
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
PPTX
Trending Python Topics for Data Visualization in 2025
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PDF
Visual explanation of Dijkstra's Algorithm using Python
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
PDF
Cost to Outsource Software Development in 2025
PDF
Microsoft Office 365 Crack Download Free
PPTX
Introduction to Windows Operating System
PDF
iTop VPN Crack Latest Version Full Key 2025
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
Autodesk AutoCAD Crack Free Download 2025
Oracle Fusion HCM Cloud Demo for Beginners
GSA Content Generator Crack (2025 Latest)
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
Trending Python Topics for Data Visualization in 2025
Computer Software and OS of computer science of grade 11.pptx
Wondershare Recoverit Full Crack New Version (Latest 2025)
How to Use SharePoint as an ISO-Compliant Document Management System
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
Salesforce Agentforce AI Implementation.pdf
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
Visual explanation of Dijkstra's Algorithm using Python
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
Cost to Outsource Software Development in 2025
Microsoft Office 365 Crack Download Free
Introduction to Windows Operating System
iTop VPN Crack Latest Version Full Key 2025
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx

Cosmos Proof-of-Stake: An Introduction

  • 5. Tendermint BFT • 1 Block Finality • Requires +2/3 of the validator set to sign on a block to commit • Proposer changes every round • Doesn’t scale as # of validators increases
  • 7. Why Proof of Stake?
  • 8. Basics of Proof of Stake
  • 27. Out of Band Delegation
  • 43. Delegation Criteria Delegators will choose validators off of criteria such as: • Validator track record • Validator’s security setup • Self-declared, protocol- enforced minimum self-bond • Commission rate on fees/rewards
  • 72. • Atoms are just a staking token for the Cosmos Hub • Staking tokens are similar to ASICs • Capital you need in order to be able to be a validator, and thus earn transaction fees Staking Token
  • 73. • Governance can maintains a whitelist of fee tokens • Each validator maintains a local relative weighting of values of the different whitelisted tokens • Validators can choose to order transactions based on this ordering. • Can also require these to be submitted to the chain in order to enforce a global min fee (using the median) Atom: 5 Photon: 3 BTC: 5000 ETH: 0.2 DAI: 1 Multi Fee Tokens
  • 74. • Inflation schedule is designed to encourage staking (the lower the percentage of staked atoms, the higher the inflation rate) • Block rewards split amongst all staked validators • Block rewards start off unbonded Block Rewards
  • 75. • Majority of collected fees gets split amongst the validators • Proposer gets a special dedicated percentage in order to incentivize them to not produce empty blocks Proposer 5% Split amongst all validators 95% Transaction Fees Proposer Reward
  • 76. 𝑃 = 0.01 + 0.02 ∗ 𝑆 + 0.02 (0.9 𝑅 ) 𝑃 = Proposers dedicated percentage 𝑆 = Percentage of stake whose precommits from previous block were included in the proposal 𝑅 = Round number that a proposal was first proposed Proposer Reward
  • 77. • Passive Accounting to avoid iterating over the entire set of stakers every block • Transaction Fees and block rewards are added to a pool • Shares in the pool are distributed to validators, who themselves have shares distributed to delegators • Validators can charge commission rate on Distribution
  • 88. Liveness Slashing • Validator gets a slight slash and is automatically put in an jail period of 2 days • After a jail period (2 days) the validator can choose to rebond • Unless delegators redelegated or unbonded, they will be delegated to the validator when he gets out of jail • The jail period time gets credited to the unbonding period, for both validator operators and delegators
  • 90. Consensus Fault Slashing • The consensus engine tracks and generates evidence for BFT faults • Double signing on a block • Breaking a Tendermint locking condition • Signing a block while you’re in the unbonding period • There can be a delay between the time an infraction occurs and the time that evidence is found
  • 91. Consensus Fault Slashing • At time of evidence, the validator is slashed and killed. • A killed validator has all of his delegators unbonded and the validator cannot revive itself • Only the worst slash infraction is tracked • Compromised key can’t be used to slash 100% of a validator’s funds • Prevents evidence DoS attacks
  • 102. Help us! • Attack and improve our economic and theoretical models • Properly parameterize constants • Help simulate real world attacks in Game of Stakes • Test and contribute to the open source codebase • Come up with a name for Cosmos Proof of Stake
  • 104. Help us! • Attack and improve our economic and theoretical models • Properly parameterize constants • Help simulate real world attacks in Game of Stakes • Test and contribute to the open source codebase • Come up with a name for Cosmos Proof of Stake
  • 106. Help us! • Attack and improve our economic and theoretical models • Properly parameterize constants • Help simulate real world attacks in Game of Stakes • Test and contribute to the open source codebase • Come up with a name for Cosmos Proof of Stake
  • 108. Help us! • Attack and improve our economic and theoretical models • Properly parameterize constants • Help simulate real world attacks in Game of Stakes • Test and contribute to the open source codebase • Come up with a name for Cosmos Proof of Stake