Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ§‘β€πŸ’» SHA256 Splitting Demo #7

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["splitter"]
members = ["bitcoin-splitter"]
resolver = "2"

[profile.dev]
Expand Down
38 changes: 19 additions & 19 deletions splitter/Cargo.toml β†’ bitcoin-splitter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
[package]
name = "splitter"
name = "bitcoin-splitter"
version = "0.1.0"
edition = "2021"

[dependencies]

# Bitcoin Libraries
bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin", branch = "bitvm", features = ["rand-std"]}
bitcoin-script = { git = "https://github.com/BitVM/rust-bitcoin-script" }
bitcoin-scriptexec = { git = "https://github.com/BitVM/rust-bitcoin-scriptexec/"}
bitcoin-script-stack = { git = "https://github.com/FairgateLabs/rust-bitcoin-script-stack"}

# Other Libraries
strum = "0.26"
strum_macros = "0.26"
hex = "0.4.3"
serde = { version = "1.0.197", features = ["derive"] }
num-bigint = "0.4.4"
# BitVM scripts
bitcoin-window-mul = { git = "https://github.com/distributed-lab/bitcoin-window-mul.git" }

# General-purpose libraries
strum = "0.26"
strum_macros = "0.26"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.116"
tokio = { version = "1.37.0", features = ["full"] }

# Crypto libraries
hex = "0.4.3"
sha2 = "0.10.8"
num-bigint = { version = "0.4.4", features = ["rand"] }
num-traits = "0.2.18"
tokio = { version = "1.37.0", features = ["full"] }
serde_json = "1.0.116"
lazy_static = "1.4.0"
prettytable-rs = "0.10.0"
paste = "1.0"
seq-macro = "0.3.5"

[dev-dependencies]
# Random libraries
rand_chacha = "0.3.1"
rand = "0.8.5"
num-bigint = { version = "0.4.4", features = ["rand"] }
ark-std = "0.4.0"
konst = "0.3.9"
rand = "0.8.5"
ark-std = "0.4.0"
konst = "0.3.9"
File renamed without changes.
2 changes: 2 additions & 0 deletions bitcoin-splitter/src/bitvm/hash/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pub mod sha256;
pub mod utils;
Loading