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

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

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.