A2L [1] is a cryptographic construction for building secure, privacy-preserving, interoperable, and fungibility-preserving payment channel hub (PCH). A2L builds on a novel cryptographic primitive that realizes a three-party protocol for conditional transactions, where the intermediary (tumbler) pays the receiver only if the latter solves a cryptographic challenge with the help of the sender. This repository includes implementation of A2L with instantiations based on Schnorr and ECDSA signatures.
This code has not received sufficient peer review by other qualified cryptographers to be considered in any way, shape, or form, safe. It was developed for experimentation purposes.
USE AT YOUR OWN RISK
[1] Erkan Tairi, Pedro-Moreno Sanchez, and Matteo Maffei, "A2L: Anonymous Atomic Locks for Scalability and Interoperability in Payment Channel Hubs".