Sidechains

High-quality technical overview of Sidechains in the context of blockchain security.

Sidechains function as autonomous scaling environments that maintain their own consensus mechanisms and security models while remaining logically linked to a mainnet (like Bitcoin or Ethereum). Unlike Layer 2 solutions (rollups) which inherit the security of the L1, sidechains are sovereign; if a sidechain's consensus fails, the mainchain remains unaffected, though pegged assets may be lost. The connection is maintained via a Two-Way Peg (2WP), where assets are effectively 'locked' on the mainchain to trigger a 'minting' event on the sidechain, and vice versa for withdrawals.

🛡️ Trust Score

98%

✅ Fatos técnicos verificados

  • Sidechains operate with sovereign consensus independent of the mainnet.
  • BIP-300 (Drivechains) uses miner hashrate to secure peg-out transactions.
  • Sidechains do not inherit Layer 1 security guarantees unlike rollups.
  • Merged mining allows a blockchain to be secured by another's cumulative work.
        graph LR
  Center["Sidechains"]:::main
  Pre_blockchain_basics["blockchain-basics"]:::pre --> Center
  click Pre_blockchain_basics "/terms/blockchain-basics"
  Pre_consensus_mechanism["consensus-mechanism"]:::pre --> Center
  click Pre_consensus_mechanism "/terms/consensus-mechanism"
  Rel_layer_2["layer-2"]:::related -.-> Center
  click Rel_layer_2 "/terms/layer-2"
  Rel_rollups["rollups"]:::related -.-> Center
  click Rel_rollups "/terms/rollups"
  Rel_state_channel["state-channel"]:::related -.-> Center
  click Rel_state_channel "/terms/state-channel"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 Explique como se eu tivesse 5 anos

🚜 Imagine uma estrada de serviço particular ao lado de uma rodovia pública. É mais rápida, mas a segurança é responsabilidade do proprietário da estrada.

🤓 Expert Deep Dive

Sidechains possuem soberania de consenso. Modelos como o Merged Mining (RSK) permitem que mineiros da L1 protejam a sidechain simultaneamente. Drivechains (BIP-300) introduzem escrows baseados em hashpower para descentralizar o processo de saída.

❓ Perguntas frequentes

How are Sidechains different from Layer 2 Rollups?

Rollups share security with the mainchain by posting validity or fraud proofs; sidechains are sovereign and rely on their own validators. If a rollup's sequencer fails, you can still exit via L1; if a sidechain's validators collude, assets can be stolen.

What is Merged Mining?

It's a process where miners solve blocks for two or more chains simultaneously. RSK is secured by Bitcoin miners using this method, inheriting a portion of Bitcoin's massive hashrate.

🔗 Termos relacionados

📚 Fontes