Avalanche attempts to solve the [blockchain trilemma], which posits that blockchains cannot achieve a sufficient degree of decentralization at scale. A consequence of this are high gas fees, as is often the case on Ethereum.
To solve this problem, Avalanche designed three interoperable blockchains.
* The Exchange Chain (X-Chain) is employed to create and exchange the native AVAX tokens and other assets. Similar to the ERC-20 standard on Ethereum, these tokens follow a set of standardized rules. It uses the Avalanche consensus mechanism.
* The Contract Chain (C-Chain) hosts smart contracts and decentralized applications. It has its own Avalanche Virtual Machine, similar to the Ethereum Virtual Machine, allowing developers to fork EVM-compatible DApps. It uses the Snowman consensus mechanism.
* The Platform Chain (P-Chain) coordinates network validators, tracks active subnets and enables the creation of new subnets. Subnets are sets of validators, sort of like a validator cartel. Each subnet can be validating several blockchains, but a blockchain can only be validated by one subnet. It also uses the Snowman consensus mechanism.
This division of computing tasks enables higher [throughput] without compromising on decentralization. For instance, private blockchains on the network could require its subnet’s validators to be sufficiently geographically decentralized or comply with certain regulations. Following this modular structure, Avalanche improves its interoperability with other blockchains wishing to integrate with the Avalanche ecosystem. Furthermore, the two different consensus mechanisms are designed with each blockchain’s requirements in mind, further improving their efficiency.