Skip to content

Commit

Permalink
Merge pull request #39 from KasarLabs/test/reveal
Browse files Browse the repository at this point in the history
  • Loading branch information
sparqet authored Aug 12, 2023
2 parents d4f1b8a + 4f175a4 commit 297848b
Show file tree
Hide file tree
Showing 4 changed files with 374 additions and 150 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
# bitcoin_rs

To launch a bitcoin daemon, run the following command:

```shell
bitcoind -conf=path_to/bitcoin.conf -fallbackfee=0.00001
```

Then mine some blocks (you need to have a bitcoin-cli wallet):

```shell
bitcoin-cli -regtest -generate 150
```

bitcoin.conf file:

```shell
##
## bitcoin.conf configuration file. Lines beginning with # are comments.
##
daemon=1
regtest=1

listen=0
debug=1
printtoconsole=1
# JSON-RPC options (for controlling a running Bitcoin/bitcoind process)

[regtest]
rpcuser=rpcuser
rpcpassword=rpcpass
rpcport=8332
wallet=test
# server=1 tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands
server=1
```
2 changes: 1 addition & 1 deletion crates/relayer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ targets = ["x86_64-unknown-linux-gnu"]
bitcoin = { workspace = true }
bitcoincore-rpc = { workspace = true }
serde = { workspace = true }

hex = "0.4.2"
bitcoin_hashes = "0.12.0"
Loading

0 comments on commit 297848b

Please sign in to comment.