<p>Both Hyperledger Fabric and Hyperledger Sawtooth are permissioned distributed ledgers used for Enterprise Blockchain. Hyperledger Fabric demonstrates practical Byzantine Fault Tolerance (pBFT) based leader based distributed consensus with faster finality and block commit time compared to prominent public permissionless Blockchain platforms. Hyperledger Sawtooth provides a scalable enterprise blockchain environment for a permissioned distributed ledger. Sawtooth demonstrates Proof of Elapsed Time (PoET) consensus. As I have understood from discussions on recent implementations, Hyperledger Fabric does a good job in providing product provenance and supplychain track and trace for a limited number of nodes. When the number of nodes goes beyond 20, it seems to be having issues with respect to the performance and consistency. Hyperledger Sawtooth Lake is built with a randomized approach to consensus and a trusted execution environment. It has demonstrated good transaction throughput and finality with good security in place. It also provides interoperability with smart contracts written in solidity and ethereum virtual machine. However it is coupled with an Intel SGX based Trusted Execution Environment which could be an upfront cost for production deployments. </p>

CC BY-SA 4.0
2018-10-08T12:07:50.093Z
Thanks, Gokul, For sharing the information. have you implemented Fabric in a real-time environment in any project?
Vivek Sharma
CC BY-SA 4.0
2018-10-11T19:48:36.760Z
Yes Vivek. I have deployed Hyperledger Fabric 0.6 for a Diamond Trading Ledger. It was not a smooth implementation as Hyperledger was just evolving in 0.6. Now I am working with a few Sawtooth Lake related proof of concepts as well.
Gokul Alex
CC BY-SA 4.0
2018-10-12T12:48:50.720Z
Thanks for reply Gokul, And it is very interesting to implement anything in the real environment. I have also started as POCs. hope your experience will help me.
Vivek Sharma
CC BY-SA 4.0
2018-10-01T11:45:27.447Z
2018-10-01T11:45:27.447Z
Gokul Alex
<p>Sawtooth includes an example supply chain application which may accelerate your development / evaluation process. <a href="https://github.com/hyperledger/sawtooth-supply-chain" rel="nofollow noreferrer">https://github.com/hyperledger/sawtooth-supply-chain</a></p>

CC BY-SA 3.0
2018-03-01T21:34:22.660Z
2018-03-01T21:34:22.660Z
ferg
<p>To update info on the previous answer....</p>

<p>Hyperledger Sawtooth now supports multiple consensus algorithms...</p>

<ul>
<li>PoET SGX ... Intel specific</li>
<li>PoET CFT ...without SGX</li>
<li>RAFT</li>
<li>PBFT .... Soon to be integrated</li>
</ul>

CC BY-SA 4.0
2018-10-07T06:32:01.303Z
2018-10-07T06:32:01.303Z
Dan Anderson
<p>There is not a definitive right answer here. Fabric and Sawtooth both designed towards a similar end goal: building a general-purpose, enterprise-level, permissioned blockchain. As a result, many of the core features are pretty similar, and there is no reason you couldn't build a supply chain on either of them.</p>

<p>That said, there are some reasons you might want to choose Sawtooth over Fabric in general (full disclosure, I am a Sawtooth maintainer, and might be a bit biased):</p>

<ul>
<li>You can develop for Sawtooth in a variety of languages, including Ethereum's Solidity smart contracts (with Fabric you must develop in Go)</li>
<li>If you need Byzantine Fault Tolerance, Sawtooth offers PoET consensus which is hardware assisted resulting in trivial CPU usage (Fabric does not yet have any BFT solution)</li>
<li>I would argue that Sawtooth does a better job of isolating application logic from the core blockchain logic, making development easier</li>
<li>As Ferg mentioned, there is already a supply chain implementation on Sawtooth, which you could use as a starting point: <a href="https://github.com/hyperledger/sawtooth-supply-chain" rel="nofollow noreferrer">https://github.com/hyperledger/sawtooth-supply-chain</a></li>
</ul>

<p>As for reasons to use Fabric . . . you may find there are more external tools available. For example, Hyperledger Composer is pretty nifty, and though there has been some talk of porting it to Sawtooth, currently it only works with Fabric. That's all I can really think of, but obviously I am much more familiar with Sawtooth, so I might ask around before making a decision.</p>

<p><em>UPDATE: Sawtooth now offers PBFT consensus in addition to PoET, RAFT, and PoET-simulator. This is a BFT algorithm which does not have hardware dependencies.</em></p>

CC BY-SA 4.0
2018-10-08T11:49:46.887Z
Thanks, Zac,  I am a bit late. But if I am talking about Sawtooth PoET consensus it is based on Intel’s Software Guard Extensions (SGX) which is a kind of special Instructions set, so it will work on AMD or any other vendor.
Vivek Sharma
CC BY-SA 4.0
2018-10-09T15:24:05.873Z
@VivekSharma Correct, PoET-SGX consensus relies on Intel hardware, so it will not work with AMD machines. However, Sawtooth features a non-BFT PoET-simulator, and RAFT consensus which is BFT without hardware dependencies.
Zac Delventhal
CC BY-SA 4.0
2018-03-01T23:22:45.973Z
2019-01-18T16:17:36.037Z
2019-01-18T16:17:36.037Z
Zac Delventhal
<p>I am planning to build supply chain management system with Blockchain. I have read many blog posts related to the topic, and eventually, I get Hyperledger as a right choice for Blockchain Network. but now I have two more option in that.Hyperlegder fabric &amp; Sawtooth lake, now I am confused about the platform so can you please suggest me which platform is better for our Domain. </p>

<hyperledger>
Hyperledger fabric vs Sawtooth lake which platform is appropriate for Supply chain management?
Vivek Sharma
# Hyperledger fabric vs Sawtooth lake which platform is appropriate for Supply chain management?

(Asked by: username_0 on 2018-02-23)

I am planning to build supply chain management system with Blockchain. I have read many blog posts related to the topic, and eventually, I get Hyperledger as a right choice for Blockchain Network. but now I have two more option in that.Hyperlegder fabric & Sawtooth lake, now I am confused about the platform so can you please suggest me which platform is better for our Domain.

**Tags:** hyperledger


---

## 4 answers

### Answer by username_4 on 2018-03-01. Score: 7 | Accepted answer

There is not a definitive right answer here. Fabric and Sawtooth both designed towards a similar end goal: building a general-purpose, enterprise-level, permissioned blockchain. As a result, many of the core features are pretty similar, and there is no reason you couldn't build a supply chain on either of them.

That said, there are some reasons you might want to choose Sawtooth over Fabric in general (full disclosure, I am a Sawtooth maintainer, and might be a bit biased):

* You can develop for Sawtooth in a variety of languages, including Ethereum's Solidity smart contracts (with Fabric you must develop in Go)
* If you need Byzantine Fault Tolerance, Sawtooth offers PoET consensus which is hardware assisted resulting in trivial CPU usage (Fabric does not yet have any BFT solution)
* I would argue that Sawtooth does a better job of isolating application logic from the core blockchain logic, making development easier
* As username_2 mentioned, there is already a supply chain implementation on Sawtooth, which you could use as a starting point: <https://github.com/hyperledger/sawtooth-supply-chain>

As for reasons to use Fabric . . . you may find there are more external tools available. For example, Hyperledger Composer is pretty nifty, and though there has been some talk of porting it to Sawtooth, currently it only works with Fabric. That's all I can really think of, but obviously I am much more familiar with Sawtooth, so I might ask around before making a decision.

*UPDATE: Sawtooth now offers PBFT consensus in addition to PoET, RAFT, and PoET-simulator. This is a BFT algorithm which does not have hardware dependencies.*

> **Comments:**
> **username_0**: Thanks, Zac,  I am a bit late. But if I am talking about Sawtooth PoET consensus it is based on Intel’s Software Guard Extensions (SGX) which is a kind of special Instructions set, so it will work on AMD or any other vendor.  
> **username_4**: @username_0 Correct, PoET-SGX consensus relies on Intel hardware, so it will not work with AMD machines. However, Sawtooth features a non-BFT PoET-simulator, and RAFT consensus which is BFT without hardware dependencies.  

---

### Answer by username_1 on 2018-10-01. Score: 2

Both Hyperledger Fabric and Hyperledger Sawtooth are permissioned distributed ledgers used for Enterprise Blockchain. Hyperledger Fabric demonstrates practical Byzantine Fault Tolerance (pBFT) based leader based distributed consensus with faster finality and block commit time compared to prominent public permissionless Blockchain platforms. Hyperledger Sawtooth provides a scalable enterprise blockchain environment for a permissioned distributed ledger. Sawtooth demonstrates Proof of Elapsed Time (PoET) consensus. As I have understood from discussions on recent implementations, Hyperledger Fabric does a good job in providing product provenance and supplychain track and trace for a limited number of nodes. When the number of nodes goes beyond 20, it seems to be having issues with respect to the performance and consistency. Hyperledger Sawtooth Lake is built with a randomized approach to consensus and a trusted execution environment. It has demonstrated good transaction throughput and finality with good security in place. It also provides interoperability with smart contracts written in solidity and ethereum virtual machine. However it is coupled with an Intel SGX based Trusted Execution Environment which could be an upfront cost for production deployments.

> **Comments:**
> **username_0**: Thanks, username_1, For sharing the information. have you implemented Fabric in a real-time environment in any project?  
> **username_1**: Yes username_0. I have deployed Hyperledger Fabric 0.6 for a Diamond Trading Ledger. It was not a smooth implementation as Hyperledger was just evolving in 0.6. Now I am working with a few Sawtooth Lake related proof of concepts as well.  
> **username_0**: Thanks for reply username_1, And it is very interesting to implement anything in the real environment. I have also started as POCs. hope your experience will help me.  

---

### Answer by username_2 on 2018-03-01. Score: 2

Sawtooth includes an example supply chain application which may accelerate your development / evaluation process. <https://github.com/hyperledger/sawtooth-supply-chain>


---

### Answer by username_3 on 2018-10-07. Score: 1

To update info on the previous answer....

Hyperledger Sawtooth now supports multiple consensus algorithms...

* PoET SGX ... Intel specific
* PoET CFT ...without SGX
* RAFT
* PBFT .... Soon to be integrated


---

