Image for post
Image for post

A processor at the heart of Hyperledger Sawtooth

Mercedes Regueiro
Aug 13, 2018 · 4 min read

Intel Corporation already in 2014 began working with an open source distributed registration technology (DLT) project called Sawtooth Lake, a modular platform implemented in Python. In April 2016 he and R3cev (creators of Corda) presented him to Hyperledger for acceptance into the Incubator. Hyperledger Sawtooth, as it is now called, has been Active since May 2017.

Main characteristics,

  • Allows different types of consensus in the same blockchain
  • Default to include Proof of Elapsed Time (PoET) consensus
  • Smart contracts can be written in almost any language (Python, JavaScript, Go, C++, Java and Rust)
  • Enables the implementation of intelligent Ethereum contracts through integration with Hyperledger Burrow
  • Supports both permissioned and permissionless deployments
  • It has a modular architecture
  • High scalability
  • When possible, transactions are executed in parallel, giving higher performance.

Proof of Elapsed Time

Among the main features of Hyperledger Sawtooth for me the most striking is its consensus algorithm called Proof of Elapsed Time (PoET), since this algorithm that involves the choice of a leader is implemented in Intel processors that incorporate SGX (Software Guard Extensions).

The PoET consensus algorithm runs within the trusted runtime environments available on Intel processors with SGX. SGX is a set of processor instructions that allow the execution of code within an Enclave (protected execution areas in memory). This part is especially important because it is the only thing that allows the Proof of Elapsed Time to function correctly as a consensus algorithm and the results to be verifiable by external entities.

The algorithm emulates the Bitcoin Proof of Work but instead of competing to resolve the cryptographic challenge and extract the next block, each validator receives a random timeout and the one with the shortest timeout for a specific block is named leader and is responsible for creating and verifying the new block and sending it to the block chain certifying that the transaction verification has been completed correctly. The PoET consensus algorithm is a hybrid of a random lottery and an order of arrival.

Like Proof of Work, this algorithm does not have a very good finality, since after a block has been added, the client will have to wait a few minutes to ensure that there is no branch in the chain that is longer than the one containing their transaction.

Sawtooth is designed so that the consensus mechanism can be changed on the fly, it can send the proposal of the new consensus as a transaction and then have a policy within its network to accept this new consensus.

If your network does not have Intel processors with SGX, you can also implement the Hyperldeger Sawtooth framework as it provides a PoET simulator, which provides PoET-style consensus on any type of hardware, including a virtualized cloud environment.

To develop and experiment with blockchain technology, Hyperledger Sawtooth features Dev mode, a simplified random leader algorithm.

Real-world Application Examples

  • XO: is a sample transaction family included in the Sawtooth SDK¹. It’s an implementation of the popular tic-tac-toe game.
  • Sawtooth Supply Chain: is an application to help you track the source and other contextual information of any asset. You can use it as is or customize it for different cases of use.
  • Sawtooth Marketplace: is an application that allows users to exchange customised amounts of “Assets” with other users in the block chain.
  • Sawtooth Private UTXO: demonstrates how assets can be created and marketed. It shows how to use SGX to allow assets to be transferred to the general ledger and traded privately, where only the parties involved know the details of the transaction.

The Hyperledger Sawtooth framework with its simple architecture not only allows for a very small learning curve, but also makes it easy to set up a network and deploy custom applications, such as a family of transactions, and run it on a scalable DLT network in minutes.

More information,

¹ A software development kit (SDK or devkit) is typically a set of software development tools that allows the creation of applications for a certain software package, software framework, hardware platform, computer system, video game console, operating system, or similar development platform. (Wikipedia)


Coinmonks is a non-profit Crypto educational publication.

Sign up for Crypto News

By Coinmonks

A newsletter that brings you week's best crypto and blockchain stories and trending news directly in your inbox, by Take a look

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

 by the author.

Mercedes Regueiro

Written by

Este es un camino de aprendizaje sobre blockchains empresariales que he iniciado con dos cursos de IBM y dos de la Fundación Linux.



Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project —

Mercedes Regueiro

Written by

Este es un camino de aprendizaje sobre blockchains empresariales que he iniciado con dos cursos de IBM y dos de la Fundación Linux.



Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project —

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store