package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/octez-libs.tezos-sapling/Tezos_sapling/Core_sig/index.html

Module Tezos_sapling.Core_sigSource

Reference specification is version 2020.1.2 https://github.com/zcash/zips/blob/master/protocol/sapling.pdf

Each instance of the Sapling protocol should be identified by a unique string identifier which is used as anti-replay. It should typically contain a chain identifier and the identifier of a smart-contract. *

Sourcemodule type T_bytes = sig ... end
Sourcemodule type T_encoding = sig ... end
Sourcemodule type T_encoding_bytes = sig ... end
Sourcemodule type T_encoding_compare = sig ... end
Sourcemodule type Spending_key = sig ... end

Spending keys allow to spend and derive viewing keys. It contains key material and information to derive deterministically more spending keys using the zip-32 standard (equivalent of bip-32 for ZCash). See spec section 3.1 *

Sourcemodule type Viewing_key = sig ... end

Viewing keys allow to see incoming and outgoing transactions without giving the ability to spend. Stored in the zip-32 format. *

Sourcemodule type Wallet = sig ... end
Sourcemodule type Hash = sig ... end
Sourcemodule type UTXO = sig ... end
Sourcemodule type Validator = sig ... end

Regroups what needs to be exposed to a Validator *

Sourcemodule type DH_esk = sig ... end

A Diffie-Hellman key exchange is done between the payer and the recipient to encrypt the ciphertext. This can be done off or on chain. *

Sourcemodule type Commitment = sig ... end
Sourcemodule type CV = sig ... end
Sourcemodule type Nullifier = sig ... end

See spec section 3.8 *

Sourcemodule type Rcm = sig ... end
Sourcemodule type Client = sig ... end

Signatures for Client/Validator/Storage + some functions used in tests

OCaml

Innovation. Community. Security.