/bech32-elixir

An implementation of BIP-0173 or bech32

Primary LanguageElixirMIT LicenseMIT

Bech32

This is an implementation of BIP-0173

Bech32 address format for native v0-16 witness outputs.

See https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki for details

This library was implemented with Bitcoin and Nervos CKB in mind.

Installation

If available in Hex, the package can be installed by adding bech32 to your list of dependencies in mix.exs:

def deps do
  [
    {:bech32, "~> 1.0.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/bech32.