Structure of Venom Network
Structure of Venom Network
Venom employs a design similar to modular blockchains to address scalability challenges while reducing transaction fees. In theory, Venom can process from 100,000 to 1 million TPS.
The blockchain structure of Venom consists of three layers: Masterchain, Workchain, and Shardchain, to process transactions in parallel based on a consensus mechanism.
Masterchain: This Layer 0 is responsible for creating an environment for the three layers to communicate with each other. Masterchain ensures all necessary information for consensus among validators in the system. Important information such as network configuration, deployment, validator scope, and voting rounds are stored on the Masterchain.
Workchains: Layer 1 resides above the Masterchain, operates independently, and has its own functions such as state transition function, Threaded Virtual Machine (TVM), transaction structure, or block. Workchains can have their own tokens and can be customized to suit the requirements of dApps built on them.
Shardchains: Operate similarly to a Layer 2 on specific Workchains. Shardchains have features similar to Workchains; however, they are only responsible for processing a portion of transactions on the Workchains. Venom can contain unlimited Shardchains, allowing the blockchain to process a large volume of transactions and data.
Cấu Trúc
Highlights of Venom
Threaded Virtual Machine (TVM): Venom provides infrastructure for smart contracts to be executed on TVM (Threaded Virtual Machine). TVM helps increase processing speed and improve network performance, operating similarly to EVM.
Transaction Processing Capability: Venom uses the Dynamic Sharding mechanism to process transactions. Initially, transactions will be processed by validators on Shardchains, but when the transaction volume increases and becomes overloaded, Shardchains will be divided into two. If the transaction volume on that Shardchain remains high, the Shardchain will continue to be subdivided until it achieves stable processing levels. This mechanism has been used by Everscale, Ethereum 2.0.
Cost: Venom Network has a system to ensure high transaction processing speed while maintaining stable gas fees at a low level.