Escrow Over Lightning?



Summary:

The article discusses how Boolean logic can be implemented using payments and Barrier Escrows, which can enable complex use-cases. It explains the two standard forms of Boolean logic: sum-of-products and product-of-sums, and how they can be converted using De Morgan's Theorem. The article presents an example of implementing a binary oracle using DLCs and shows how to transform the base logic to product-of-sums form. It also demonstrates how to handle the case where one of the oracles disappears without publishing the result of the coin toss. Overall, the article showcases the potential of implementing Boolean logic using payments and Barrier Escrows.


Updated on: 2023-06-02T18:47:06.388857+00:00