package bitcoinml

  1. Overview
  2. Docs
Bitcoin data-structures library for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.1.zip
md5=bc06a6aaa41e1c443d8c5179241e4eb7
sha512=4f9004cb956117566c4643f6a64ffa03f0469866df6fd77f50316b4a42b50ff3be0a866cdfe20fdd4ae733d056dab18948aabe2187e9695aee46cd3981902e45

doc/bitcoinml/Bitcoinml/Address/index.html

Module Bitcoinml.Address

type prefix = {
  1. pubkeyhash : int;
  2. scripthash : int;
  3. hrp : string;
}

Address prefixes struct

type t = string

Address abstract type

module Bech32 : sig ... end
val of_pub : int -> string -> t

Get the address from a public key

val of_pubhash : int -> string -> t

Get the address from a public key hash

val of_witness : string -> int -> string -> t

Get the bech32 address from a witness script

OCaml

Innovation. Community. Security.