A Rust cli tool to query Kraken's current btc-usd price, with doge added as a bonus. Other coins beware.
bash
kraken-price btc
kraken-price doge
kraken-price --help
Kraken-price is written in Rust, so you'll need to grab a Rust installation in order to compile it. Once you have Rust installed on your computer, you can easily use the tool by compiling the binaries yourself like so;
1. clone this repository locally;
2. enter the repo;
3. use cargo build --release
;
4. move the compiled binary in your PATH (for MacOS and Linux, the default directory for those binaries would be usr/local/bin
);
5. run using kraken-price
in your command line, or rename the file your preferred command if you wish to use a different one.
```bash git clone https://github.com/thunder-B/kraken-price cd kraken-price cargo build --release cd ./target/release/bin/ cp ./kraken-price /usr/local/bin/ # MacOS and Linux
kraken-price dentacoin ```
The binary crate is also released on crates.io, which means you can install it directly from cargo (note that the binaries will then be built in release mode and put into your ~/.cargo/bin/
directory);
bash
cargo install kraken-price
The zipped binaries for all 3 main operating systems are also downloadable from the releases page of the project's github repository.