[Paper Review] Teechan: Payment Channels Using Trusted Execution Environments
Teechan introduces a full-duplex payment channel protocol for Bitcoin that leverages Intel SGX-based trusted execution environments (TEEs) to enable high-throughput, low-latency micropayments without modifying the Bitcoin protocol. It achieves 2,480 transactions per second with sub-millisecond latency, supports unlimited bidirectional payments within channel credit limits, and requires only two blockchain transactions in total, regardless of channel activity.
Blockchain protocols are inherently limited in transaction throughput and latency. Recent efforts to address performance and scale blockchains have focused on off-chain payment channels. While such channels can achieve low latency and high throughput, deploying them securely on top of the Bitcoin blockchain has been difficult, partly because building a secure implementation requires changes to the underlying protocol and the ecosystem. We present Teechan, a full-duplex payment channel framework that exploits trusted execution environments. Teechan can be deployed securely on the existing Bitcoin blockchain without having to modify the protocol. It: (i) achieves a higher transaction throughput and lower transaction latency than prior solutions; (ii) enables unlimited full-duplex payments as long as the balance does not exceed the channel's credit; (iii) requires only a single message to be sent per payment in any direction; and (iv) places at most two transactions on the blockchain under any execution scenario. We have built and deployed the Teechan framework using Intel SGX on the Bitcoin network. Our experiments show that, not counting network latencies, Teechan can achieve 2,480 transactions per second on a single channel, with sub-millisecond latencies.
Motivation & Objective
- To address Bitcoin's low transaction throughput and high latency by enabling off-chain micropayments without modifying the Bitcoin protocol.
- To overcome the limitations of existing payment channels, such as unidirectional flow, channel exhaustion, and reliance on protocol-level changes.
- To provide a secure, scalable, and efficient payment channel framework using trusted execution environments (TEEs).
- To ensure strong security guarantees—confidentiality, integrity, and availability—against compromised OS, hypervisor, and network components.
- To enable full-duplex, concurrent payments with minimal blockchain footprint and low latency.
Proposed method
- Utilizes Intel SGX to isolate and protect the payment channel logic and private keys from untrusted software and hardware.
- Employs multi-signature time-locked transactions to establish long-lived payment channels without protocol changes.
- Designs a protocol where each payment requires only a single message in either direction, enabling full-duplex communication.
- Ensures that only the most recent state is valid and can be settled on-chain, with invalid states detectable by the counterparty.
- Limits blockchain usage to exactly two transactions in all scenarios: one for channel setup and one for settlement.
- Uses TEEs to enforce that no party can access more funds than their current net balance, even under compromise.
Experimental results
Research questions
- RQ1Can a payment channel protocol be built on the existing Bitcoin blockchain without requiring protocol-level modifications?
- RQ2Can trusted execution environments be used to achieve strong security guarantees in a trustless payment channel system?
- RQ3Can a full-duplex payment channel achieve sub-millisecond latency and high throughput without compromising security?
- RQ4Is it possible to eliminate channel exhaustion and support unlimited bidirectional payments within credit limits using TEEs?
- RQ5Can the protocol ensure that only two blockchain transactions are ever required, regardless of channel activity?
Key findings
- Teechan achieves a transaction throughput of 2,480 transactions per second on a single channel under optimal conditions, significantly exceeding prior off-chain solutions.
- End-to-end transaction latency is as low as 0.40 milliseconds, demonstrating sub-millisecond performance for individual payments.
- The protocol supports unlimited full-duplex payments as long as the channel’s credit limit is not exceeded, eliminating channel exhaustion.
- Only two blockchain transactions are ever required—regardless of the number of payments made—dramatically reducing on-chain load.
- Security is preserved even if the operating system, hypervisor, or network is compromised, due to TEE isolation of private keys and logic.
- The system is fully compatible with the current Bitcoin network and does not require changes to the protocol or consensus mechanism.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.