s Blockchains Compared: Fabric, Corda, Ethereum

Key Points

Enterprise blockchains include: Fabric, Ethereum, Corda, Quorum, Sawtooth



References

Reference_description_with_linked_URLs__________________________Notes__________________________________________________________________
Overview


https://medium.com/newcryptoblock/hyperledger-fabric-vs-r3-corda-7954035a4884

medium.com-Hyperledger Fabric vs R3 Corda.pdf

Hyperledger Fabric vs. R3 Corda  - 2019

https://medium.com/akeo-tech/hyperledger-fabric-vs-corda-vs-
quorum-the-business-choice-dd5238b20d88

medium.com-Hyperledger Fabric vs Corda vs Quorum The business choice.pdf

Hyperledger Fabric vs Corda vs Quorum: The business choice?

https://kaleido.io/a-technical-analysis-of-ethereum-vs-fabric-vs-corda/

kaleido.io-Enterprise Blockchain Protocols A Technical Analysis of Ethereum vs Fabric vs Corda.pdf

2019 - Tech compare Fabric Ethereum Corda - Zhang

Enterprise Blockchain Protocols: A Technical Analysis of Ethereum vs Fabric vs Corda

Hyperledger Fabric vs Corda XinFin compared 2019Hyperledger Fabric vs Corda XinFin compared 2019
https://drive.google.com/open?id=1aDDZ75LLtUi5SoASc0Svbwmk-WpAw0j42017 - Compare Fabric  Ethereum  Corda
https://drive.google.com/open?id=19_R9yWJFO9wwo6x4tHl39i6wmjIyX32KBLOCK BY BLOCK
A Comparative Analysis of DLT - Sep 2018

https://www.ledgerinsights.com/quorum-blockchain-competitor-hyperledger-besu/

ledgerinsights.com-Quorum blockchain competitor joins Hyperledger ecosystem.pdf

BESU - Quorum blockchain competitor joins Hyperledger ecosystem

https://www.blockchain-council.org/hyperledger/quorum-vs-hyperledger
-the-ultimate-guide/

blockchain-council.org-Quorum Vs Hyperledger The Ultimate Guide.pdf

QUORUM VS HYPERLEDGER : THE ULTIMATE GUIDE - 2019

http://sallykang.com/blog/2019/12/10/comparison-between-quorum-hyperledger

sallykang.com-Comparison Between Quorum amp Hyperledger.pdf

Comparison Between Quorum & Hyperledger - 2019

https://akeo.tech/blog/blockchain-and-dlt/enterprise-blockchains-
hyperledger-fabric-corda-quorum/

akeo.tech-Why Hyperledger Fabric will Win Against R3 Corda and Quorum.pdf

Why Hyperledger Fabric will Win Against R3 Corda and Quorum? = 2019

https://www.edureka.co/blog/hyperledger-vs-ethereum/

compare-2021-fabric-vs-ethereum-key-differences.pdf link

Fabric vs Ethereum comparison 2021




Ethereum  and EEA








Quorummoving to Consensys ?






Corda


















Compare Blockchains
https://medium.com/newcryptoblock/hyperledger-fabric-vs-r3-corda-7954035a4884Fabric vs Corda - Medium 2018













Session Overview


• Content - Different Blockchain Technologies like Hyperledger,Ethereum,R3 Corda,Multichain etc

• Summary - Key message to be delivered at the end of the session


  • Enterprise Blockchain solutions are a strategic investment for an organization. Different Enterprise Blockchain platforms implement unique features and provide some support for common concepts and features as well.

  • The session defines a set of criteria for comparison ( development, runtime environments and application use case fit ) and then compares some of the more popular Enterprise Blockchain frameworks against the criteria ( Hyperledger Fabric, Enterprise Ethereum, Corda, Quorum, Hyperledger Sawtooth ).

  • For each platform, a common application use case is referenced and evaluated for fit.

  • Finally, a set of questions to ask on selection of an Enterprise Blockchain for candidate use cases is reviewed.


  • Summary - Key message to be delivered at the end of the session

  • Key Takeaway 1

  • Identify criteria for blockchain criteria that may be relevant for your use case

  • Key Takeaway 2

  • Learn some of the key features and differences between the major Enterprise Blockchain platforms

  • Key Takeaway 3

  • Get a set of questions that can help select an Enterprise Blockchain platform for your use case


Enterprise Blockchains key features

Enterprise Blockchains reviewed

Comparison criteria

Ethereum

Corda

Hyperledger Sawtooth

Hyperledger Fabric

Quorum

Review options for your use case

Some have made significant penetration of specific industries

Your use case drives selection criteria

Internal solution vs Consortium solution

Existing organization skill sets

Production environment – single target or multi-platform capable

Integration requirements

Next steps -

industry blockchain strategies and solutions

relevant standards and regulations

opportunity assessment




Key Concepts


Compare Hyperledger Fabric, Ethereum, Corda, Quorum -2020 ratings

https://blockchainsimplified.com/blog/hyperledger-vs-quorum-vs-corda-which-is-correct-for-your-business/


Hyperledger vs Quorum vs Corda survey




Fabric v Corda - 2018

fabric-v-corda-2018-features-medium.com-Hyperledger Fabric vs R3 Corda.pdf


corda v fabric feature compare

tokens c??? fabtoken delayed

privacy b

scale f???

finality b

batch proc ????

admin ????

languages f

interoperability b

open platform b

identity tools b???

pluggable f???

wide use cases f???

did support ????

multi cloud ????

consensus ????

default net b hyperchain, aws, ibm, azure



Enterprise Blockchain Protocols: A Technical Analysis of Ethereum vs Fabric vs Corda

https://kaleido.io/a-technical-analysis-of-ethereum-vs-fabric-vs-corda/

kaleido.io-Enterprise Blockchain Protocols A Technical Analysis of Ethereum vs Fabric vs Corda.pdf




Enterprise EthereumFabricCorda
Node PermissioningSmart contract based rules, with file-based per-node rules as local overrides.Configurable on node, channel and consortium levels.Trusted network map service complemented by file-based configurations on each node. Corda networks are partitioned into compatibility zones that are governed by separate Certificate Authorities.
IdentityPublic keys – distributed, and interoperable between Ethereum based chains. Coupled to PKI via proofs.Based on PKI with native organizational identity. Organizational identity rather than individual identities used throughout in consensus, and permissioning.Based on PKI with both individual and organizational identity.
Cryptographysecp256k1Pluggable (ECDSA with secp256r1 and secp384r1 built-in).ed25519
secp256r1
secp256k1
RSA (3072bit) PKCS#1
SPHINCS-256 (experimental)
Transaction ConsensusOrder -> Execute/ValidateExecute -> Order -> ValidateExecute/Validate -> Order/Notarize
Application ResponsibilitySending signed transactions to one node in the network.Coordinating directly with all required participants to obtain endorsement, checking for consistent execution results, signature, and submission.CorDapps use the flow framework to coordinate with transaction counter-parties to negotiate proposed updates, obtain signatures, and to finalize with the notary service.
Applied Consensus AlgorithmsProof-of-Authority (BFT).
Raft (CFT with trusted leader).
Istanbul BFT (BFT with deterministic leader rotation).
Tendermint
Kafka/Zab (CFT with trusted leader).
Raft (CFT with trusted leader).
Raft (CFT with trusted leader)
BFT
Smart Contract EngineEVM, in-process sandboxDocker isolation by default, pluggable in v2.0Deterministic JVM
Smart Contract LanguagesDSL (Solidity, Serpent), guaranteed deterministic.Full languages (Go, Node.js, Java), non-determinism is tolerated.Java, Kotlin, deterministic by using recommended libraries
Smart Contract LifecycleImmutable. Easy to deploy. Stored on-chain.Requires elaborate process to deploy/change. Stored off-chain.Requires node-level administrative operations to deploy/update. Stored off-chain.
Ongoing work to split consensus-critical code vs. non-consensus-critical code for different storage strategy (on-chain vs. off-chain respectively)
Smart Contract UpgradeProgramming patterns to extend/migrate code & data.Replacing off-chain code via administrative procedure and upgrade transactions.Contracts with hash-based constraints are explicitly upgraded via node-level administrative procedures and coordinated flow to authorize and upgrade.
Contracts with signature constraints automatically allow new versions to execute, as long as signed according to the constraints and the hash matches.
Tokenization of AssetsNative feature
Many token standards: ERC20/ERC721/ERC777 etc.
Possible with custom solution.

Possible with custom solution.
Corda Token SDK makes it easier to build.

XinFin net w XDC token

Multi-chainsEach chain is unique, and requires separate node runtimes (min or 3 or 4 depending on consensus).Native feature (channels) with shared peer runtime, and shared orderer. Built-in governance for creating side-chains with isolated state.No concept of a chain (shared ledger). Transactions always explicitly target specific nodes. States are scoped to the designated notary which can be retargeted to a different notary.
Private TransactionsPublic hash represents input.Public hash represents input and private end state.Inherently all transactions are private. The entire transaction is visible to a validating notary.
Community of Contributors
(as of writing)
Go-Ethereum: 429
Quorum: 383
Besu: 60
Autonity: 360
Fabric: 185Corda: 146
Community Pulse
(Month of Nov. 2019)
Go-Ethereum: 15 authors, 98 PRs
Quorum: 9 authors, 13 PRs
Besu: 23 authors, 66 PRs
Autonity: 6 authors, 6 PRs
Fabric: 31 authors, 220 PRsCorda: 33 authors, 91 PRs



Ethereum Enterprise Blockchain implementations

EE ClientModified FromDeveloperOpen Source License
Quorumgo-ethereumJPMorgan ChaseLGPL
BesuNew implementation in JavaPegaSysApache 2.0
Autonitygo-ethereumClearmaticsLGPL
StratoHaskell EthereumBlockAppsClosed-source


Consensus Models Compared

All blockchain systems need a consensus mechanism to ensure all nodes have the same view of the transactions input and order. Almost all existing protocols utilize consensus algorithms designed around the “order-and-execute” architecture. First all nodes agree on the transactions order inside a block, then the transactions are independently executed by each node to calculate the resulting state.

Hypeledger Fabric Consensus Model

Fabric consensus model is different - order > execute > commit

Fabric achieves transaction finality differently.

It has a faster consensus model:   execute > order > commit

option to listen for transaction commit completion event ensures finality


At a high level, a configurable number of organizations must come to consensus on the execution results, where the “endorsement policy” is defined at the chaincode level, private data collection level (starting in v2.0), or key level.

Corda consensus design is very similar to Fabric. First the nodes involved in the transaction coordinate among them to process the transaction by executing the target contract and signing the execution result. Once the required signatures are collected, the initiator node is responsible for sending the transaction to the notary service for consensus signature. The notary service maintains a full history of all the transactions that have been submitted and is able to determine if a double spending situation is happening. Once the notary service approves the transaction and signs of on the proposed result, the transaction is finalized and committed by all the parties. This makes it effectively the same execute-order-validate design that Fabric follows.


Transaction ExecutionOrdering (double-spend detection)
EthereumEthereum Node (all nodes)Ethereum Node (block proposer)
FabricEndorsing PeerOrderer
CordaCorda NodeNotary


Multiversion Concurrency Control for execute > order > commit flows

“execute first and order next” design implies that some kind of concurrency version control is necessary, otherwise when multiple transactions are trying to modify the same state value in parallel, the later one will overwrite the earlier one and wipe out the state transfer from the earlier transaction, instead of building on the result of the earlier transaction. Fabric employs a multiversion concurrency control (MVCC) technique borrowed from database design. Under the cover, the chaincode engine keeps track of what state values are being viewed (in readset) and updated (in writeset) when the smart contract is executed. During the validation phase, where each transaction contained inside a block is validated and state transfer is applied, if a transaction’s state value versions in its readset do not match the current versions, typically because they have been updated by an earlier transaction in the block, then the transaction is marked as invalid.

implication is that if a series of transactions need to modify the same state value, they must be regulated such that no more than one transaction lands inside a single block. Otherwise the application will observe a lot of invalid transactions due to concurrent modifications.

Techniques exist to program around this limitation, such as utilizing the composite key capability to assemble unique keys for each transaction while having the ability to group together keys targeting the same underlying state variable. The high-throughput sample application demonstrates how this can be done. Note, though, that not all scenarios can take advantage of this technique.


Compare Fabric vs Corda XinFin for token networks

https://vinn9686.medium.com/hyperledger-vs-xinfin-which-blockchain-platform-will-benefit-your-business-f1e43db4a455

Hyperledger Fabric vs Corda XinFin compared 2019

Hyperledger vs XinFin which Blockchain Platform will Benefit your Business?

XinFin - public and private network access

  • Instant payment at the lowest cost by enabling stable coin and peer to peer transfer between trusted parties.
  • Hybrid blockchain with both private and public capability, both of which can be leveraged as per requirement.
  • XDC token have high liquidity and are usable across the ecosystem
  • Low transaction time and the newly launched mainnet technology has opened new avenues

XDC protocol works on the framework of hybrid blockchain technology and carries the features of private and public blockchain which doesn’t just support cryptocurrency but is currently being used across the XinFin ecosystem

Spread on a distributed network of individual private sub-networks, the XDC provides capabilities of a distributed public ledger along with transparency and the individual private sub-networks can be used for specific enterprise-level blockchain which has all amenities and security of private blockchain with master nodes holding membership stakes on the public network.

Every node carries both public and private state at the same time as each network that they are a part of, this mechanism furnishes the availability and synchronization of the data.

The XinFin network is a fork of Ethereum, therefore is fully compatible with Solidity and have also incorporated smart contracts in the protocol system.

The validity of the smart contract is approved by only master nodes.

DPOS consensus

consensus mechanism of Proof of Stake with the added PBFT layer i.e. the transactions are approved by a consortium of members who hold a stake in the network based on their wealth.

Fabric Token System Support

project Burrow is working on an improvised version of smart contracts and the Hyperledger Quilt is working on the payment end of the business transactions.

Fabric features:

  • Decentralized trust in a network of known participants using permissioned channels
  • Selective exposing of data as per the type of data and parties involved
  • Smart contracts programmable in all languages and no custom languages and architectures required
  • FabToken SDK for custom tokens with options for ZKP ( mint, transfer, burn )
  • Consensus is RAFT or PBFT
  • Explicit and Implicit private transactions
  • Can run Solidity contracts on Fabric using Burrow EVM
  • Can run an Ethereum mainnet node and a Fabric node on the same host if needed
  • Can work with many Token, Crypto APIs using SDKs

Private transactions possible on Fabric

All ledgers are updated for each transaction on a public blockchain but for hyperledger, the peers directly affiliated with the deal are connected, and only their ledgers get updated about the deal. Other third parties can only access a limited amount of information as per the permissions granted on the network


use cases for token networks include:

payments, remittances, physical and digital asset management, STO - token offerings, NFTs, use as certificates, incentives, rewards



Potential Value Opportunities



Potential Challenges



Candidate Solutions



Quorum 



Quorum adds permissionless POS consensus


Quorum Control and presented by Quorum Control's Founder and CEO, Topper Bowers. 

The title of their presentation is "Topper Talks Tupelo: Introducing the Future of DLT". In the presentation, Topper will give an overview of Tupelo. Tupelo is a permissionless proof of stake DLT platform purpose-built to model individual asset ownership and provenance as the base layer (rather than token exchange). Tupelo introduces a completely unique infrastructure to better support scalable adoption outside of currency-oriented blockchain circles and deliver concrete benefits to users, from enhanced data security to more accurate and transparent record-keeping.


About Topper Bowers:

Topper Bowers is an entrepreneur and engineer with 20+ years focused on building tech that betters people’s lives. Whether he’s designing user interfaces, managing world class teams, or
building high volume distributed systems for large nonprofits and Fortune 50 companies, he’s committed to making the kind of software that can change the world. He’s a former Y-Combinator founder (Summer 2012) with deep knowledge of distributed systems and distributed ledger technology.
About Quorum Control:

Quorum Control is a VC-backed Berlin-based technology company building Tupelo, a permissionless proof-of-stake DLT platform purpose-built to model individual objects. After securing $2.9mm in traditional seed equity investment (lead by Initialized Capital) the team launched its first TestNet in November of 2018.

Step-by-step guide for Example



sample code block

sample code block
 



Recommended Next Steps