Skip to main content
QUICK REVIEW

[Paper Review] Teechain: A Secure Payment Network with Asynchronous Blockchain Access

Joshua Lind, Oded Naor|arXiv (Cornell University)|Jul 18, 2017
Blockchain Technology Applications and SecurityComputer Science42 references24 citations
TL;DR

Teechain proposes a secure, asynchronous payment network leveraging hardware-enforced trusted execution environments (TEEs) to enable off-chain transactions without blockchain monitoring during normal operation. By using enclave-protected keys and atomic state updates via timeouts and lock mechanisms, it allows for scalable, low-latency payments with eventual on-chain settlement only in failure cases, reducing blockchain bloat and enabling offline channel closure.

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 design a payment network that minimizes blockchain interaction during normal operation while ensuring security and consistency.
  • To address the challenge of message loss and network attacks in asynchronous payment routing without relying on message delivery guarantees.
  • To enable offline channel closure and balance migration between paths without on-chain transactions.
  • To eliminate the need for continuous blockchain monitoring by relying on time-based timeouts and enclave integrity for finality.
  • To support efficient, secure routing of payments through multi-hop paths using shared keys and state locking.

Proposed method

  • Uses TEE-protected private keys to manage channel deposits and commitments, enabling secure off-chain state updates.
  • Employs a multi-step protocol involving key sharing, state locking, and timeout-based recovery to ensure consistency across payment paths.
  • Introduces a channel setup mechanism where unused outputs from a single deposit transaction can be dynamically reassigned to new channels, reducing blockchain overhead.
  • Relies on time-bound timeouts (T1, T2, T3, T4) to detect non-responsive nodes and trigger rollback or termination with the last known state.
  • Uses a single atomic transaction to flush old channel states to the blockchain only when necessary, ensuring correctness and preventing partial settlements.
  • Enables offline channel closure by allowing participants to release locked outputs and migrate balances to new paths using shared keys and state synchronization.

Experimental results

Research questions

  • RQ1Can a payment network achieve strong consistency and security in the presence of arbitrary message loss without relying on message delivery guarantees?
  • RQ2How can channel states be safely updated and rolled back in a multi-hop payment path when some nodes fail or are unreachable?
  • RQ3Is it possible to close payment channels and migrate balances without touching the blockchain, using only enclave-protected keys and timeouts?
  • RQ4Can the network support efficient, scalable routing while minimizing on-chain transaction volume and monitoring?
  • RQ5How can the system ensure that no single node holds all keys or states, yet still allow for correct final settlement in failure scenarios?

Key findings

  • The protocol enables secure, asynchronous payment routing through multi-hop paths using TEE-protected keys and timeout-based state management.
  • Channel closure and balance migration can occur entirely off-chain, reducing blockchain usage and enabling offline settlement.
  • A single atomic transaction is used to flush old channel states to the blockchain only when necessary, ensuring consistency and preventing partial settlements.
  • The system prevents malicious behavior by enforcing time-based recovery mechanisms that trigger rollback or termination if nodes fail to respond.
  • The use of shared keys and state locking ensures that no payment can be routed through a channel during updates, preventing race conditions.
  • The protocol supports dynamic reallocation of unused outputs from a single deposit transaction to new channels, reducing collateral and blockchain overhead.

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.