mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 22:59:58 -07:00
BRK Cli
Setup
Hardware
Recommended
Minimum
To be determined
Software
- Unix based operating system (Mac OS or Linux)
- Ubuntu users need to install
open-sslviasudo apt install libssl-dev pkg-config
- Ubuntu users need to install
- Bitcoin
- Example:
bitcoind -datadir="$HOME/.bitcoin" -blocksonly
- Example:
- Rust
- Install:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - Update:
rustup update
- Install:
Install
cargo install brk_cli
If it's your first time running brk, it will need several information such as:
--bitcoindir PATH: path to bitcoin core data directory,???/bitcoin--outputdir PATH: path to various outputs, if you have enough space on your main disk~/.brkis fine
Everything will be saved at ~/.brk/config.toml, which will allow you to simply run brk run next time
If you need more options please run brk -h to see what parameters are available.
Here's an example
brk run --bitcoindir=~/Developer/bitcoin --outputdir=~/.brk
Then the easiest to let others access your server is to use cloudflared which will also cache requests. For more information go to: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/
Update
cargo install brk_cli
or
cargo install cargo-update
cargo install-update -a