QuarkChain operates using a distinctive architecture that addresses the blockchain trilemma of scalability, security, and decentralization. Here's an overview of how it works:
Two-Layered Blockchain Structure
> Shard Chains: The lower layer consists of numerous shard chains, each processing a subset of all transactions independently. This sharding approach allows parallel processing, significantly increasing the network's transaction capacity. Each shard can employ different consensus mechanisms, such as Proof of Work (PoW) or Proof of Stake (PoS), and can be tailored for specific use cases.
> Root Chain: The upper layer is the root chain, which does not process transactions. Instead, it confirms the blocks produced by the shard chains. The root chain ensures the security and finality of transactions processed on the shard chains.
Cross-Shard Transactions
QuarkChain supports cross-shard transactions, allowing for the transfer of value and data between different shards. These transactions are designed to be as efficient as possible, ensuring the network can operate cohesively despite the separate shards.
Different Consensus Mechanisms for Flexibility
QuarkChain allows different shards to use different consensus mechanisms. This flexibility enables the network to balance between fast transaction speeds and robust security, depending on the requirements of each shard.
QuarkChain Security
> Security in QuarkChain is maintained through collaborative mining and a novel incentive structure. The design ensures that a large portion of the network's total hash power is allocated to the root chain, safeguarding against double-spending and other attacks.
> Additionally, small shards are protected by distributing hash power evenly across them, preventing attacks that target individual shards.
Other Features of QuarkChain
> Decentralization: QuarkChain promotes decentralization by allowing multiple cheap nodes to form the network rather than relying on a few powerful nodes. This approach reduces the risk of centralization and makes the network more accessible for participation.
> EVM Compatibility and Smart Contracts: The platform is compatible with the Ethereum Virtual Machine (EVM), allowing developers to deploy and execute smart contracts similar to Ethereum. This compatibility makes it easier for developers to build decentralized applications (dApps) on QuarkChain.