package tezos-008-PtEdo2Zk-test-helpers

  1. Overview
  2. Docs
type account = t
val activator_account : account
val dummy_account : account
val new_account : ?seed:Stdlib.Bytes.t -> unit -> account
val add_account : t -> unit
val generate_accounts : ?initial_balances:int64 list -> int -> (t * Tezos_protocol_008_PtEdo2Zk.Protocol.Tez_repr.t) list

generate_accounts ?initial_balances n : generates n random accounts with the initial balance of the ith account given by the ith value in the list initial_balances or otherwise 4.000.000.000 tz (if the list is too short); and add them to the global account state

val new_commitment : ?seed:Stdlib.Bytes.t -> unit -> (account * Tezos_protocol_008_PtEdo2Zk.Protocol.Commitment_repr.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.