Bitcoin Swiss Army Knife πͺ π π§
This software is a lightweight, multi-platform Command Line Interface (CLI) containing multiple utilities designed for interacting with the Bitcoin ecosystem.
Most of these utilities either serve as wrappers for btcd libraries or make calls to the mempool.space REST APIs.
Warning
As certain functions leverage the APIs of the public instance of mempool.space, this tool may be suboptimal from a privacy perspective and inadvertently expose personally identifiable information (PII) such as transactions or addresses.
This tool serves multiple purposes:
- It consolidates various utilities for interacting with the Bitcoin ecosystem into a single executable.
- It provides reusable atomic packages and functions, organized under the
pkg
folder. - It aims to serve as an educational aid for individuals new to the Bitcoin world.
Following are some of the tool's supported features:
- Decode raw transaction
- Generate hierarchical deterministic private key
- Generate P2PKH address from hd private key
- Retrieve current BTC price in multiple currencies
- Retrieve latest block heigh in the blockchain
- Retrieve current recommended fees
- Retrieve Lightning networ statistics
- Retrieve Lightning network top nodes
- Retrieve address transaction history
You can install craftib via homebrew with the following command:
brew tap stackzoo/craftbit https://github.com/stackzoo/craftbit && \
brew install craftbit
Go to the release page and download the binary for your OS.
If you installed craftbit via homebrew, you can update to the latest version with the following command:
brew update && brew upgrade craftbit
Go to the release page and download the latest binary for your OS.