Blockchain & Cryptocurrency Glossary

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

  • search-icon Clear Definitions
  • search-icon Practical
  • search-icon Technical
  • search-icon Related Terms

Parachain

2 min read
Pronunciation
[par-uh-cheyn]
Analogy
Parachains are like specialized departments within a larger corporation. Each department (parachain) has its own specific function, processes, and internal rules, but they all operate under the security and governance umbrella of the parent company (relay chain). They can communicate with other departments through established channels (cross-chain messaging) and benefit from the company's reputation and infrastructure without having to build everything from scratch.
Definition
An application-specific blockchain that connects to and runs in parallel with a central relay chain, leveraging the shared security and interoperability of the Polkadot ecosystem. Parachains maintain their own state and processing logic while benefiting from the validator set of the main network.
Key Points Intro
Parachains enable specialized blockchains to operate with shared security and guaranteed interoperability.
Key Points

Operate as sovereign blockchains with custom logic, governance, and tokenomics.

Leverage the security of the relay chain's validator set rather than maintaining their own.

Connect to other parachains through standardized cross-chain communication protocols.

Secure positions on the network through auctions and bonding mechanisms.

Example
Acala operates as a parachain in the Polkadot ecosystem, providing DeFi services with its own custom token and economic model. Rather than recruiting its own validators, it leverages Polkadot's shared security model where relay chain validators also validate Acala's blocks. This allows Acala to focus on application-specific features while still benefiting from robust network security.
Technical Deep Dive
Parachains implement a hybrid consensus model where block production and finality are handled differently: (1) Block production typically uses a relatively lightweight mechanism like Nominated Proof of Stake or Aura within the parachain itself; (2) Block validation and finality leverage the relay chain's validator set through a complex mechanism involving collators, validators, and validity proofs. The parachain lifecycle includes several phases: registration (defining the parachain's specifications), slot auction (competitive bidding for connection slots), onboarding (connecting to the relay chain), and operation. Each parachain maintains its own state transition function, encoded in a Wasm (WebAssembly) runtime that defines its unique behavior. Cross-chain messaging occurs through two primary protocols: XCMP (Cross-Chain Message Passing) for parachain-to-parachain communication and VMP (Vertical Message Passing) for communication between a parachain and the relay chain. The relay chain does not execute parachain transactions but instead verifies their validity through a mechanism called Proof-of-Validity (PoV), where specialized nodes called collators create blocks and validity proofs that are checked by relay chain validators. This architecture allows parachains to operate with custom logic and governance while inheriting security guarantees from the relay chain validator set.
Security Warning
While parachains benefit from shared security, they remain responsible for the correctness of their own logic. Vulnerabilities in parachain code can still lead to security breaches within that specific chain, even with secure validation. Audit and verify parachain code thoroughly, especially when interacting with newly launched parachains.
Caveat
The parachain model trades some aspects of sovereignty for security and interoperability benefits. Parachains are subject to the governance and upgrade cycles of the relay chain, potentially limiting flexibility in certain scenarios. Additionally, the economic cost of securing a parachain slot through auctions or parathread fees introduces ongoing expenses not present in standalone blockchains.

Parachain - Related Articles

No related articles for this term.