Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cmoog/bech32

A tiny CLI for encoding and decoding bech32 strings.
https://github.com/cmoog/bech32

bech32 bitcoin cli cryptography rust

Last synced: 17 days ago
JSON representation

A tiny CLI for encoding and decoding bech32 strings.

Awesome Lists containing this project

README

        

# bech32 CLI

A small command-line utility for encoding and decoding bech32 strings.

## Installation

**Cargo**

```
cargo install --git https://github.com/cmoog/bech32
```

**Nix Flakes**

```
nix shell github:cmoog/bech32
```

## Usage

```
bech32 0.1.0

USAGE:
bech32 [FLAGS] [OPTIONS] [data]

FLAGS:
-d, --decode Decode data. The human-readable prefix is discarded.
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
-p, --prefix The human-readable part of the encoded bech32 string.
Example) "cm" is the prefix for cm1vfjkx6zlxve97cmvd90ksetvwq0h3xcp

ARGS:
Data to encode or decode. Leave empty to use stdin.
```