Base58Check.Base58Check (base_58_check v1.0.0)

Implement slightly modified version of Base58 for bitcoin with checksum + type

Link to this section Summary

Link to this section Types

Link to this type

address_type()

Specs

address_type() :: :p2pkh | :p2wpkh | :multi_sig

Specs

network() :: :main | :test

Link to this section Functions

Link to this function

decode(payload)

Specs

decode(String.t()) :: binary()
Link to this function

encode(payload, type, network)

Specs

encode(binary(), address_type(), network()) :: String.t()