Hyperledger Sawtooth Development Architecture
The modular architecture of Hyperledger Sawtooth enables the division of concerns among various system components. The main components of Sawtooth architecture are:
- Distributed Ledger: This component is responsible for maintaining a log of all transactions and smart contract execution. The ledger is replicated across all nodes in the network and transactions are processed in parallel to increase performance.
- Transaction Processor: This component is responsible for processing transactions and updating the state of the ledger. It also includes a smart contract engine called “Sawtooth Lake” which allows for easy deployment and execution of smart contracts.
- Consensus Algorithm: This component is responsible for ensuring that the network reaches an agreement on the state of the ledger. Sawtooth supports multiple consensus algorithms, including PoET, PBFT, Raft, and Devmode.
- REST API: This component provides a RESTful API for interacting with the ledger and submitting transactions. It allows for easy integration with existing systems and supports multiple programming languages.
- Validator: This component is responsible for validating transactions and blocks before they are added to the ledger. It ensures that transactions are well formed and that they conform to the rules of the smart contract.
- Transaction Scheduler: This component is responsible for scheduling the order in which transactions are processed by the network. It ensures that conflicting transactions are processed in a way that avoids conflicts and maintains consistency in the ledger.
- Consensus Engine: Each consensus algorithm has its own engine that runs the consensus protocol and communicates with other components of the system.
Hyperledger Sawtooth in Blockchain
Hyperledger Sawtooth is a corporate blockchain platform that creates distributed ledger networks and applications. The design philosophy focuses on maintaining distributed ledgers and securing smart contracts, especially for enterprise applications. Sawtooth uses blockchain technology as a service (BaaS).
Sawtooth is very modular as well. This modularity allows companies and consortiums to decide on policy in their respective fields of competence. Applications can choose the transactional, permissioning, and consensus algorithms that best meet their unique business requirements because of Sawtooth’s fundamental design. The majority of blockchain-based systems in use today host and execute both their core and their apps on the same platform, which may have an impact on both security and performance.
Contact Us