Module Bitcoinml.Address
module Bech32 : sig ... end
Handle segwit native bech32 addresses
val of_pub : int -> string -> t
of_pub prefix pk
encodes the address from a public keypk
given the network prefixprefix
val of_pubhash : int -> string -> t
of_pubhash prefix pkh
encodes the address from a public key hashpkh
given the network prefixprefix
val of_witness : string -> int -> string -> t
of_witness hrp witver witprog
encodeswitprog
in bech32 address given thehrp
and thewitver
witness version