Commit Graph

14 Commits

Author SHA1 Message Date
conduition
2bd8d4fed5 run signing session 2024-03-18 20:00:58 +00:00
conduition
a4206b2e22 add bitcoin core client into global state 2024-03-18 18:51:16 +00:00
conduition
57dadf452b add market maker server demo prototype (incomplete) 2024-03-18 01:37:47 +00:00
conduition
e80bec45e0 v0.0.4 2024-03-16 20:27:41 +00:00
conduition
3eb37c4d51 add serde serialization trait implementations
This allows players and the market maker to transact network sockets,
or other transport channels, by passing nonces, sigmaps, etc, back
and forth to each other. It also allows parties to store their signed
contract data locally, and enforce the contract even after a restart.
2024-03-16 20:27:09 +00:00
conduition
5308509e54 fix lockfile 2024-03-16 17:10:09 +00:00
conduition
61c4be2a68 add integration test using regtest
This test validates the basic spending paths are enforceable.
It covers the split TX, followed by three different resolutions
for each individual payout contract. We test to confirm:
- a player can claim winnings using their ticket preimage
- the market maker can reclaim winnings using the payout preimage
- the market maker can reclaim winnings after the timeout
2024-03-16 01:36:14 +00:00
conduition
e9096c1ef4 update some deps in the lockfile 2024-03-10 22:50:38 +00:00
conduition
a34146cbdd add cooperative outcome-close transaction signing for market maker 2024-03-10 16:36:52 +00:00
conduition
482521a1e9 add second round of state machine for finalizing and verifying signatures
This adds additional states to the SigningSession state machine
which encapsulate the 2nd round of signing, and the final state
after signing is completed. Once all signatures have been received,
the Ticketed DLC is active and enforceable. Players can begin
buying ticket preimages from the market maker.
2024-03-06 00:17:43 +00:00
conduition
595c930b85 initial work on high-level state machine for musig signing
This is my first go at a higher level API which signers will
use to construct and sign the numerous transactions needed
for executing a Ticketed DLC. It revolves around the
SigningSession struct type, which has an API constrainted by
its current state.
2024-03-02 02:31:47 +00:00
conduition
1efc577244 update cargo.lock version 2024-02-21 03:27:04 +00:00
conduition
7a9461ac52 rename crate to dlctix 2024-02-18 17:00:46 +00:00
conduition
179fa8c47e initial working code 2024-02-14 20:29:53 +00:00