/hyperledger-avalon-scone

Hyperledger Avalon is forked at its stable release v0.6 that supports blockchain integration and basic registry service for trusted compute workers. We provide SCONE based workers for Hyperledger Avalon that can be used to run legacy applications within the framework of Hyperledger Avalon.

Primary LanguagePythonApache License 2.0Apache-2.0

Hyperledger Avalon logo

Hyperledger Avalon

Hyperledger Avalon (formerly Trusted Compute Framework) enables privacy in blockchain transactions, moving intensive processing from a main blockchain to improve scalability and latency, and to support attested Oracles.

The Trusted Compute Specification was designed to help developers gain the benefits of computational trust and to mitigate its drawbacks. In the case of the Avalon, a blockchain is used to enforce execution policies and ensure transaction auditability, while associated off-chain trusted compute resources execute transactions. By using trusted off-chain compute resources, a developer can accelerate throughput and improve data privacy.

Preservation of the integrity of execution and the enforcement of confidentiality guarantees come through the use of a Trusted Compute (TC) option, e.g. ZKP (Zero Knowledge Proof), MPC (Multi Party Compute), or a hardware-based TEE (Trusted Execution Environment). While the approach will work with any TC option that guarantees integrity and confidentiality for code and data, our initial implementation uses Intel® Software Guard Extensions (SGX).

Hyperledger Avalon leverages the existence of a distributed ledger to

  • Maintain a registry of the trusted workers (including their attestation info)
  • Provide a mechanism for submitting work orders from a client(s) to a worker
  • Preserve a log of work order receipts and acknowledgments

Hyperledger Avalon uses the Off-Chain Trusted Compute Specification defined by Enterprise Ethereum Alliance (EEA) Task Force as a starting point to apply a consistent and compatible approach to all supported blockchains.

For more details on Hyperledger Avalon architecture, see avalon-arch.pdf.

Hyperledger Avalon with SCONE

This particular fork of Hyperledger Avalon is made at its stable release v0.6 that supports blockchain integration and basic registry service for trusted compute workers. We provide SCONE based workers for Hyperledger Avalon that can be used to run legacy applications within the framework of Hyperledger Avalon.

For whitepaper, see Hyperledger-Avalon-Scone-Whitepaper.pdf.

For demo of the applications running with SCONE workers, see Hyperledger-Avalon-Scone-Demo.mp4.

Building

  • Branch main represents 'public-cas-fs-protected' i.e. the code of workers in SCONE Secure Hw Mode with public CAS run by scontain team.
  • Branch no-cas-fs-unprotected represents the code of workers (1) without SCONE (2) SCONE Sim Mode (3) SCONE Unsecure Hw Mode
  • Branch private-cas-fs-protected represents the code of workers in SCONE Secure Hw Mode with private CAS in the cluster.

Note: CAS image is not available in SCONE free tier, hence the user must upgrade to Standard or Business edition if private CAS is desired in the cluster.

To build Hyperledger Avalon with SCONE, follow instructions in the build document.

Documentation

Hyperledger Avalon Documentation

Scone Documentation

Initial Committers

  • Mujtaba Idrees (mujtabaidrees94) Email

Sponsor

  • Technische Universität Dresden
  • T-Systems MMS

License

Hyperledger Avalon SCONE is released under the Apache License Version 2.0 software license. See the license file for more details.

Hyperledger Avalon SCONE documentation is licensed under the Creative Commons Attribution 4.0 International License. You may obtain a copy of the license at: http://creativecommons.org/licenses/by/4.0/.