Join Nostr
2026-10-03 00:36:25 UTC

waxwing on Nostr: Project I've been working on: "LN-GAP": Play multi-move games or arbitrarily complex ...

Project I've been working on: "LN-GAP":

https://github.com/AdamISZ/ln-gap

Play multi-move games or arbitrarily complex contracts in Lightning channels.

Read the linked short paper as per the README, to get an idea of how it works.

Trust model: trustless settlement w.r.t. the counterparty, but needing a 'venue' that is only trusted to publish the 'moves' on time. The venue never controls any funds, doesn't need to process (or understand) the contract, can be drawn randomly from an arbitrarily large set, only 1 of n trust for liveness and majority+counterparty required to collude. Collusion burns reputation and/or bonds.

You can pretty easily run the chess or blackjack examples in the browser.

I think it's a pretty interesting idea, slightly different angle of attack on offchain bitcoin denominated contracts. Draws a lot on many older ideas/constructions, with a few new ideas/details.