Skip to content

Commit

Permalink
Merge pull request #15 from chainwayxyz/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ekrembal authored Dec 10, 2023
2 parents 6916a08 + ed09eef commit 3dc2c8c
Show file tree
Hide file tree
Showing 23 changed files with 137,351 additions and 231 deletions.
27 changes: 24 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,34 @@
[package]
name = "bitvmrs"
name = "bitvm"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bitcoin = "0.31.0"
bitcoin = {version = "0.31.0", features = ["rand"]}
bitcoincore-rpc = {version = "0.18.0" }
hex = "0.4.3"
rand = "0.8.5"
tokio = { version = "1", features = ["full"] }
tokio-tungstenite = "0.15"
url = "2.2.0"
futures-util = "0.3"
serde = "1.0.193"
serde_json = "1.0.108"


[dev-dependencies]
bitcoin-scriptexec = { git = "https://github.com/ekrembal/rust-bitcoin-scriptexec" }
bitcoin-scriptexec = { git = "https://github.com/ekrembal/rust-bitcoin-scriptexec" }

# [features]
# rpc = ["bitcoincore-rpc"]


[[bin]]
name = "prover"
path = "src/prover.rs"

[[bin]]
name = "verifier"
path = "src/verifier.rs"
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,17 @@
Experimental BitVM implementation in Rust.

It is recommended to always use [cargo-crev](https://github.com/crev-dev/cargo-crev)
to verify the trustworthiness of each of your dependencies, including this one.
to verify the trustworthiness of each of your dependencies, including this one.


```
bitcoind -regtest -rpcuser=admin -rpcpassword=admin -rpcport=18443 -fallbackfee=0.00001 -wallet=admin
```

```
bitcoin-cli -regtest -rpcuser=admin -rpcpassword=admin createwallet "admin"
```

```
bitcoin-cli -regtest -rpcuser=admin -rpcpassword=admin generatetoaddress 101 $(bitcoin-cli -regtest -rpcuser=admin -rpcpassword=admin getnewaddress)
```
Loading

0 comments on commit 3dc2c8c

Please sign in to comment.