Skip to content

MbBrainz/bech32-utils

Repository files navigation

Bech32 Address Converter

This project provides a library and a command-line interface (CLI) for converting Bech32 addresses with different prefixes. It's written in Rust and is optimized for maximum performance.

Structure

The project is divided into two main parts:

  1. bech32-addr-converter/src.

  2. bech32-addr-converter-cli: This is a CLI tool that uses the bech32-addr-converter library to convert addresses. The source code is located in bech32-addr-converter-cli/src.

Install

install the cli using cargo:

cargo install bech32-addr-converter-cli

or add the converter library to your project

cargo add bech32-addr-converter

Usage

To use the CLI tool, you need to build the project first. After building, you can run the bech32-addr-converter binary with the appropriate arguments. try bech32-addr-converter-cli -h for description.

Tests

Tests are included in the tests module in the bech32-addr-converter/src/converter.rs file.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in bech32-addr-converter

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages