Skip to main content
QUICK REVIEW

[Paper Review] Teechain: Scalable Blockchain Payments using Trusted Execution Environments.

Joshua Lind, Ittay Eyal|arXiv (Cornell University)|Jul 18, 2017
Distributed systems and fault toleranceComputer Science1 references42 citations
TL;DR

Teechain proposes a scalable layer-2 blockchain payment network that enables asynchronous off-chain transactions using trusted execution environments (TEEs) to secure treasuries holding collateral funds. By leveraging TEE-protected treasuries and committee chains with threshold secret sharing, Teechain achieves over 1 million Bitcoin transactions per second on a 30-machine deployment, outperforming the Lightning Network by at least 33x.

ABSTRACT

Blockchains such as Bitcoin and Ethereum execute payment transactions securely, but their performance is limited by the need for global consensus. Payment networks overcome this limitation through off-chain transactions. Instead of writing to the blockchain for each transaction, they only settle the final payment balances with the underlying blockchain. When executing off-chain transactions in current payment networks, parties must access the blockchain within bounded time to detect misbehaving parties that deviate from the protocol. This opens a window for attacks in which a malicious party can steal funds by deliberately delaying other parties' blockchain access and prevents parties from using payment networks when disconnected from the blockchain. We present Teechain, the first layer-two payment network that executes off-chain transactions asynchronously with respect to the underlying blockchain. To prevent parties from misbehaving, Teechain uses treasuries, protected by hardware trusted execution environments (TEEs), to establish off-chain payment channels between parties. Treasuries maintain collateral funds and can exchange transactions efficiently and securely, without interacting with the underlying blockchain. To mitigate against treasury failures and to avoid having to trust all TEEs, Teechain replicates the state of treasuries using committee chains, a new variant of chain replication with threshold secret sharing. Teechain achieves at least a 33x higher transaction throughput than the state-of-the-art Lightning payment network. A 30-machine Teechain deployment can handle over 1 million Bitcoin transactions per second.

Motivation & Objective

  • To address the scalability limitations of blockchain payment networks that rely on global consensus and blockchain interaction for every transaction.
  • To eliminate the need for real-time blockchain access during off-chain transactions, which exposes users to delays and denial-of-service attacks.
  • To enable secure, high-throughput off-chain payments without requiring trust in individual TEEs or constant blockchain interaction.
  • To design a system resilient to treasury failures through replication using committee chains with threshold secret sharing.
  • To achieve transaction throughput significantly exceeding that of existing payment networks like the Lightning Network.

Proposed method

  • Teechain uses hardware-based trusted execution environments (TEEs) to protect treasuries that hold collateral funds for off-chain payment channels.
  • Each treasury securely processes and settles off-chain transactions without interacting with the underlying blockchain, enabling asynchronous operation.
  • Teechain employs committee chains—a novel chain replication variant using threshold secret sharing—to replicate treasury states across multiple TEEs and ensure fault tolerance.
  • The system ensures transaction integrity and finality by cryptographically binding transactions to TEE-protected state machines that enforce protocol rules.
  • It prevents malicious behavior by allowing any party to challenge a treasury's state through a verifiable, cryptographically sound dispute resolution process.
  • The architecture isolates transaction execution from blockchain synchronization, enabling high throughput even during network partitions or delays.

Experimental results

Research questions

  • RQ1Can off-chain transactions be securely executed without requiring real-time access to the underlying blockchain?
  • RQ2How can trust in individual TEEs be minimized while maintaining strong security guarantees for off-chain payments?
  • RQ3What system design enables high transaction throughput and resilience to treasury failures in a decentralized payment network?
  • RQ4Can threshold secret sharing and chain replication be effectively combined to build a fault-tolerant, scalable treasury state replication system?
  • RQ5What performance gains can be achieved over existing payment networks like Lightning by decoupling off-chain execution from blockchain synchronization?

Key findings

  • Teechain achieves at least a 33x higher transaction throughput than the state-of-the-art Lightning Network.
  • A 30-machine Teechain deployment can handle over 1 million Bitcoin transactions per second.
  • The system enables secure, asynchronous off-chain transactions without requiring continuous blockchain connectivity.
  • Committee chains with threshold secret sharing effectively protect against treasury failures and reduce trust in individual TEEs.
  • Teechain's use of TEE-protected treasuries ensures strong security guarantees for off-chain payments without blockchain interaction.
  • The architecture successfully mitigates denial-of-service attacks based on blockchain access delays by decoupling transaction execution from blockchain synchronization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.