package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-shell-libs.client-base/Tezos_client_base/Bip39/index.html

Module Tezos_client_base.Bip39Source

Sourcetype t

Abstract type of a mnemonic

Sourceval pp : Format.formatter -> t -> unit
Sourceval show : t -> string
Sourceval index_of_word : string -> int option

find_index word is Some i where is is the index of word in the BIP39 word list, or None if no such word is in the list.

Sourceval of_indices : int list -> t option

of_indices idxs is Some mnemonic if indices are all in range 0-2047 or None otherwise.

Sourceval to_indices : t -> int list

to_indices t is the list of indices corresponding to t.

Sourceval of_words : string list -> t option

of_words words is Some mnemonic if words is a list containing a valids number of valid english words.

Sourceval to_words : t -> string list

to_words mnemonic is the list of words corresponding to mnemonic.

of_entropy bytes is the mnemonic derived from bytes.

to_seed ?passphrase mnemonic is 64 bytes derived from a BIP39 mnemonic mnemonic, using the optional passphrase passphrase if provided.

OCaml

Innovation. Community. Security.