Commit Graph

3 Commits

Author SHA1 Message Date
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
fd603387c4 list wallet directory, not loaded wallets 2024-03-16 17:10:50 +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