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 (rebased) #8

Merged
merged 18 commits into from
Sep 30, 2024
Merged
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
8 changes: 5 additions & 3 deletions splitter/Cargo.toml β†’ bitcoin-splitter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "bitvm2-splitter"
name = "bitcoin-splitter"
version = "0.1.0"
edition = "2021"

Expand All @@ -9,8 +9,9 @@ bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin", b
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"}
# Some test script to test the splitter
bitcoin-window-mul = { git = "https://github.com/distributed-lab/bitcoin-window-mul.git" }

# BitVM scripts
bitcoin-window-mul = { git = "https://github.com/distributed-lab/bitcoin-window-mul.git" }

# General-purpose libraries
strum = "0.26"
Expand All @@ -21,6 +22,7 @@ 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"

Expand Down
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