Substrate is a [[ZKP/ZKP Base Layer/ZKP Blockchain/Technical Build Consensus Layer/Introducing the Consensus Layer|modular blockchain development framework]] created by Parity Technologies, providing a comprehensive suite of tools and libraries to streamline custom blockchain development [107, 108]. It handles core blockchain functionalities—such as [[ZKP/ZKP Base Layer/ZKP Blockchain/Tech Stack with detailed explanations/Consensus Layer Technologies|transaction processing,]] staking, and governance—through its FRAME (Framework for Runtime Aggregation of Modularized Entities) system, while allowing developers to create [[ZKP/ZKP Base Layer/ZKP Blockchain/Performance/Application Layer|application-specific pallets]] that define custom blockchain logic.
Built on a hybrid consensus model combining BABE (Blind Assignment for Blockchain Extension) for block production and GRANDPA (GHOST-based Recursive Ancestor Deriving Prefix Agreement) for finality [109, 110], Substrate offers fast transaction finality and native interoperability through the Cross-Chain Message Passing (XCMP) protocol within the Polkadot ecosystem [115]. The framework's WebAssembly-based runtime enables forkless upgrades and cross-platform compatibility, making it a versatile foundation for scalable blockchain networks.
![[Diagram10 1.png]]
In the [[ZKP/Introduction/ZKP Ecosystem/Architecture|ZKP ecosystem,]] Substrate underpins the blockchain's architecture, enabling the implementation of the hybrid [[ZKP/ZKP Base Layer/Core Concepts/Proof of Intelligence (PoI)|Proof of Intelligence (PoI)]] [[ZKP/ZKP Base Layer/Core Concepts/Proof of Space (PoSp)|Proof of Space (PoSp)]] consensus model through custom pallets. Custom pallets, such as pallet-poi for AI task management and pallet-posp for storage verification, integrate seamlessly with off-chain systems like [[Off-Chain Data Management with IPFS and Filecoin|IPFS]] through Substrate's flexible runtime architecture [111]. This modularity supports the ecosystem's focus on decentralized AI by allowing tailored solutions for privacy-preserving computation and data handling, while maintaining compatibility with the broader Polkadot ecosystem and enabling seamless interoperability with other Substrate-based chains.
See also: [[ZKP/ZKP Base Layer/Core Concepts/Ethereum Virtual Machine (EVM)|Ethereum Virtual Machine (EVM)]]