craftbit

module
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: MIT

README

CRAFTBIT

CI Go Report Card
Latest Release


Bitcoin Swiss Army Knife 🪛 🌕 🔧

Abstract

This software is a lightweight 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.

Why CraftBit ?

This tool serves multiple purposes:

  1. It consolidates various utilities for interacting with the Bitcoin ecosystem into a single executable.
  2. It provides reusable atomic packages and functions, organized under the pkg folder.
  3. It aims to serve as an educational aid for individuals new to the Bitcoin world.

Supported Features

Following are some of the tool's supported features:

  1. Decode raw transaction
  2. Generate hierarchical deterministic private key
  3. Generate P2PKH address from hd private key
  4. Retrieve current BTC price in multiple currencies
  5. Retrieve latest block heigh in the blockchain
  6. Retrieve current recommended fees
  7. Retrieve Lightning networ statistics
  8. Retrieve Lightning network top nodes
  9. Retrieve address transaction history

How to install

Homebrew

You can install craftib via homebrew with the following command:

brew tap stackzoo/craftbit https://github.com/stackzoo/craftbit && \
brew install craftbit
Releases

Go to the release page and download the binary for your OS.

Usage

usage

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL