Skip to content
Blockchain Association of Cameroon
BAC-L2-COSMOS-113Cosmos SDKAdvanced

Staking and economic security

What actually protects a sovereign chain: the value its validators lock up, and the cost of corrupting a third of it.

Level
L2Appchain developer
Duration
4 h
Track
Cosmos SDK
Maintainer
Cosmos Lead Architect

Learning objectives

  • 01Configure delegation, unbonding period and commissions
  • 02Compute your chain's security budget
  • 03Explain the role of the unbonding period

Guided lab

Configure staking, delegate, then undelegate and watch the unbonding period at work.

Independent lab

Cost out a one-third-of-stake attack against your own chain.

Security angle

Too short an unbonding period makes an attack recoverable, and therefore rational.

Assessment

Security-budget note, assessed on its calculation method.