mirror of
https://github.com/conduition/dlctix.git
synced 2025-12-17 08:34:18 +01:00
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
28 lines
708 B
TOML
28 lines
708 B
TOML
[package]
|
|
name = "dlctix"
|
|
version = "0.0.1"
|
|
edition = "2021"
|
|
authors = ["conduition <conduition@proton.me>"]
|
|
description = "Ticketed Discreet Log Contracts"
|
|
readme = "README.md"
|
|
license = "Unlicense"
|
|
repository = "https://github.com/conduition/ticketed-dlc"
|
|
keywords = ["dlc", "smart", "contract", "ticket", "auction"]
|
|
|
|
[dependencies]
|
|
bitcoin = { version = "0.31.1" }
|
|
hex = "0.4.3"
|
|
musig2 = { version = "0.0.8", features = ["rand"] }
|
|
rand = "0.8.5"
|
|
secp = { version = "0.2.1" }
|
|
secp256k1 = { version = "0.28.2", features = ["global-context"] }
|
|
sha2 = "0.10.8"
|
|
|
|
[dev-dependencies]
|
|
bitcoincore-rpc = "0.18.0"
|
|
dotenv = "0.15.0"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|