SuperScalar: an implementation report

Jul 13 - Jul 27, 2026

  • The SuperScalar project, initiated by @ZmnSCPxj, offers a novel method for managing multiple self-custodial Lightning clients using a single on-chain UTXO.

This approach does not necessitate a soft fork and removes trust dependencies typically associated with coordinating Lightning Service Providers (LSPs). A detailed discussion of this project is available in a forum post titled SuperScalar with pseudo-Spilman leaves, t/1242, where the implementation of a working model in regtest and signet environments is outlined. The project’s source code is released under the MIT license and can be found on GitHub at v0.2.0, featuring several components including superscalar_lsp, superscalar_client, superscalar_watchtower, and superscalar_bridge.

A critical architectural element of the SuperScalar system is the channel factory that utilizes a P2TR funding UTXO. The internal key of this UTXO includes a MuSig2 aggregate involving the LSP and up to 127 clients, ensuring that no subset of participants can unilaterally transact funds. This setup is fortified by consensus-enforced timelocks and mandatory aggregate signatures for spending. The design incorporates varying arities and static levels in its tree structuring to manage exit scenarios effectively. Notably, the system employs timeout-sig-trees which prioritize client interests in default states after timeouts, facilitating fund recovery independent of LSP integrity through co-signed distribution transactions.

Moreover, the SuperScalar setup allows dynamic refreshes, enabling re-signing with updated CLTV without requiring on-chain transactions. This enhances both security and operational efficiency. Advanced security features include poison transactions to penalize outdated state broadcasts and mechanisms ensuring the safety of signing keys by avoiding persistent secret nonces. Fee strategies are thoughtfully designed to align incentives correctly by assigning cost management to the party at risk during transactions.

From a scalability standpoint, the SuperScalar system has demonstrated its effectiveness on public networks managing real transactions and cooperative closures with up to 127 clients. Its compatibility with existing Lightning network nodes facilitates seamless integration and adoption. As the deployment expands, the focus is shifting towards external audits of the double-sign defense mechanism, crucial for maintaining systemic integrity. The commitment to continuous development, extensive documentation, and community interaction is evident through resources like superscalar.win and ongoing GitHub updates. Future developments may explore covenant applications using CTV, aiming to further enhance the capabilities and reach of the Lightning network through the SuperScalar framework.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiDecoding BitcoinWarnet
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project.

Give Feedback