/awesome-sgx-blockchain

Awesome SGX and TEE on Blockchain Resources

Creative Commons Zero v1.0 UniversalCC0-1.0

Awesome hackmd-github-sync-badge

header

Introduction

Welcome to the "Awesome SGX and TEE on Blockchain Resources" repository! This repository is a curated collection of valuable resources related to Intel Software Guard Extensions (SGX) and Trusted Execution Environments (TEE) in the context of blockchain technology. SGX and TEE are technologies that provide secure execution environments for sensitive computations within the blockchain. They enable the protection of confidential data and the execution of trusted code, enhancing the security and privacy of blockchain applications.

In this repository, you will find a wide range of resources, including research papers, articles, tutorials, libraries, and projects focused on SGX and TEE integration in blockchain. These resources cover topics such as:

  1. Introduction to SGX and TEE: Learn about the fundamentals of SGX and TEE technologies, their features, and how they can be leveraged in blockchain applications.
  2. SGX and TEE in Blockchain Architecture: Explore different architectural patterns and design considerations for integrating SGX and TEE into blockchain networks, ensuring secure and trusted execution of smart contracts and sensitive operations.
  3. Development Tools and Libraries: Discover open-source libraries, frameworks, and development tools that facilitate the integration of SGX and TEE into blockchain applications. These resources can help you build secure and privacy-preserving decentralized applications.
  4. Use Cases and Applications: Explore real-world use cases and applications that demonstrate the benefits of SGX and TEE in blockchain, such as secure data sharing, confidential transactions, and privacy-preserving smart contracts.

Trusted Execution Environments (TEEs) and SGX (Software Guard Extensions) plays a critical role in enhancing security by offering hardware-based memory encryption and isolation. SGX allows user-level code to allocate private regions of memory called enclaves, which are designed to be protected from processes running at higher privilege levels. This granular level of control and protection applies to other high-level processes running at the time, and even the operating system. By leveraging SGX, developers can enhance the security of their applications and protect sensitive code and data from unauthorized access.

TEEs and Intel SGX have various use cases in blockchain technology. They enable secure smart contract execution, ensuring the protection of sensitive data and logic. TEEs also facilitate confidential transactions, preserving privacy and confidentiality. Additionally, TEEs support privacy-preserving data analytics and secure oracles, ensuring data integrity and confidentiality. They can also play a role in decentralized identity systems, securely managing private keys and enabling secure authentication on the blockchain.

Blogs & Writings

Papers

Slides

Useful Websites

Codes & Repos

  • geth-sgx-gramine - Geth (Go-Ethereum)-in-SGX provides an example of running go-ethereum in SGX by Flashbots.
  • FHE-in-TEE - A framework to run Fully Homomorphic Encryption (FHE) computations (especially using the SEAL library) on Trusted Execution Environments (TEEs). This framework also includes a scheme to verifiably offload some computations to untrusted hardware for faster evaluation.
  • Ledger BOLOS - A simple, portable and flexible Trusted Computing Base environment for blockchain applications.
  • luckychain/lucky - Proof of luck Intel SGX and IPFS based blockchain.
  • Town Crier - Town Crier: an Authenticated Data Feeds for Smart Contracts
  • infobiac/eEVM - Enclave ready EVM (eEVM) is an open-source, standalone, embeddable, C++ implementation of the Ethereum Virtual Machine. http://microsoft.com/blockchain
  • hyperledger-labs/fabric-private-chaincode - This lab enables Secure Chaincode Execution using Intel SGX for Hyperledger Fabric.
  • hyperledger/avalon - Hyperledger Avalon (formerly Trusted Compute Framework)
  • smartcontractkit chainlink - node of the decentralized oracle network, bridging on and off-chain computation.
  • skalenetwork/sgxwallet - sgxwallet is the first-ever opensource high-performance hardware secure crypto wallet that is based on Intel SGX technology.
  • Secret Network - Secret Network is the first blockchain with data privacy by default for smart contracts and entirely based on Intel SGX technology. https://scrt.network/
  • phala-blockchain - Phala Network is a blockchain-based confidential computing cloud.
  • substraTEE - Trusted Off-Chain Compute Framework for substrate blockchains
  • automata - Web 3.0 Realized with Traceless Privacy and Seamless Compatibility.

Videos & Talks & Workshops

Other