Prova de participação
Validadores e staking
Prova de participação é uma aula grátis de Web3 & DApp Development Fundamentals no CoddyKit. Esta é a aula 2 de 4. Você pode ler a aula completa abaixo gratuitamente — depois pratica ao vivo no navegador com um editor de código integrado e um tutor de IA 24/7. Faz parte do caminho de aprendizado de Web3 & DApp Development Fundamentals, e seu progresso é sincronizado entre a web e o app CoddyKit. O curso de Web3 & DApp Development Fundamentals inclui 4 aulas no total.
Partes desta aula ainda não foram traduzidas e aparecem em inglês.
Why an Alternative to PoW?
Proof of Work is secure but energy-hungry. Proof of Stake (PoS) seeks the same security guarantees while using a tiny fraction of the energy.
Ethereum switched from PoW to PoS in 2022 in an event called The Merge.
What Is Proof of Stake?
In Proof of Stake, the right to create a block is tied to how much cryptocurrency a participant locks up, or stakes, rather than how much computation they do.
Block creators are called validators, not miners.
Validators
A validator deposits a stake to participate in producing and attesting to blocks. On Ethereum, the required stake is 32 ETH per validator.
Validators propose blocks and vote (attest) that other blocks are valid.
Validator {
stake: 32 ETH
status: active
role: propose + attest
}Staking
Staking means locking up funds as collateral. This stake is the security deposit that keeps validators honest.
If you behave correctly you earn rewards; if you cheat, your stake is at risk.
Choosing a Block Proposer
The protocol pseudo-randomly selects one validator to propose the next block, often weighted by stake size.
Because selection is random and based on stake rather than hashing, there is no energy-intensive race.
Each slot:
proposer = randomSelect(
activeValidators,
weightedByStake)
proposer builds the blockAttestations
Other validators issue attestations — signed votes confirming a proposed block is valid and is the head of the chain.
When enough attestations accumulate, the block becomes part of the canonical chain.
Rewards
Validators earn rewards for proposing blocks and attesting on time. Rewards are paid in the network's native token.
This steady yield incentivizes honest, reliable participation.
Slashing
Slashing is the penalty for malicious behavior, such as proposing two conflicting blocks. The protocol destroys part of the offender's stake.
Slashing makes attacks financially painful — you literally lose money for cheating.
If validator double-signs:
burn part of stake
eject validator from setEconomic Security
PoS replaces PoW's energy cost with economic cost. To attack the chain, you must acquire a huge stake — and a successful attack would crash the very token you staked.
This makes attacking self-defeating.
Energy Efficiency
Because validators do not race to solve puzzles, PoS uses dramatically less energy than PoW — Ethereum's consumption dropped over 99% after The Merge.
This efficiency is PoS's headline advantage.
Putting It Together
Proof of Stake secures the chain with capital at risk instead of energy. Validators stake funds, propose and attest to blocks, earn rewards, and risk slashing for misbehavior.
Quick Check
Test your Proof of Stake knowledge.
Recap: Proof of Stake
You learned that:
- PoS ties block creation to staked capital, not computation
- Validators propose and attest to blocks
- Staking provides collateral; rewards pay honest behavior
- Slashing punishes misbehavior
- PoS is far more energy efficient than PoW
Next: other consensus mechanisms.
Perguntas Frequentes
A aula “Prova de participação” é grátis?
Sim — o texto completo de “Prova de participação” é grátis para ler aqui na web. Para praticá-la interativamente (um editor de código integrado e um tutor de IA 24/7) e desbloquear o restante do curso de Web3 & DApp Development Fundamentals, atualize para CoddyKit PRO. O curso de Web3 & DApp Development Fundamentals inclui 4 aulas no total.
O que vou aprender em “Prova de participação”?
Validadores e staking Você pratica Web3 & DApp Development Fundamentals com código prático que executa diretamente no navegador, e um tutor de IA 24/7 responde suas dúvidas enquanto trabalha na aula.
Preciso ter experiência prévia para começar Web3 & DApp Development Fundamentals?
Nenhuma experiência prévia é necessária. Web3 & DApp Development Fundamentals no CoddyKit é estruturado para alunos iniciantes até avançados, então você pode começar aqui ou desde o início e aprender no seu ritmo. Esta é a aula 2 de 4.
Quanto tempo leva a aula “Prova de participação”?
A maioria das aulas CoddyKit leva cerca de 5–10 minutos. Cada uma é compacta e interativa, então você faz progresso constante e retoma exatamente de onde parou entre web e app.
Posso escrever e executar código nesta aula de Web3 & DApp Development Fundamentals?
Sim. Cada aula de Web3 & DApp Development Fundamentals inclui um editor de código integrado, então você escreve e executa código real direto no navegador e recebe feedback de IA instantaneamente — nenhuma configuração local necessária.
Todas as aulas deste curso
- Prova de trabalho
- Prova de participação
- Outros mecanismos
- Finalidade e forks