A command line interface for ORE cryptocurrency mining.
To install the CLI, use cargo:
cargo install ore-cli
If you run into issues during installation, please install the following dependencies for your operating system and try again:
sudo apt-get install openssl pkg-config libssl-dev
MacOS (using Homebrew)
brew install openssl pkg-config
# If you encounter issues with OpenSSL, you might need to set the following environment variables:
export PATH="/usr/local/opt/openssl/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
Windows (using Chocolatey)
choco install openssl pkgconfiglite
To build the codebase from scratch, checkout the repo and use cargo to build:
cargo build --release
To run using Trader Api use the following command:
ore \
--rpc <RPC_ENDPOINT> \
--priority-fee 30000 \
--jito mine \
--cores 8 \
--bxr \
--buffer-time 4
You can use the -h
flag on any command to pull up a help menu with documentation:
ore -h