Blockchain Patterns, Mechanisms, Models, Metrics > Integrity and Validation Patterns > Sidechain
Sidechain
How can a blockchain application user carry out an off-chain transaction without compromising the integrity of the main chain?
Problem
When a blockchain application user carries out a transaction with another user outside of the blockchain network, the transaction cannot be fully validated or subjected to consensus within the blockchain application. If such transactions are written to the main chain and then turn out to be invalid, it can compromise the integrity of the distributed ledger.
Solution
The blockchain application allows off-chain activity to be recorded outside of the main chain until it can be safely determined that the associated records are valid.
Application
A sidechain is created and linked to the main chain, but comprised of blocks that are separated until it is deemed safe to merge them with the main chain.
Mechanisms
Block Maker, Chaining Engine
Off-chain records that have not been confirmed as being valid are diverted to a sidechain, outside of the main chain.