package tezos-012-Psithaca-test-helpers

  1. Overview
  2. Docs
type account = t
val activator_account : account
val dummy_account : account
val new_account : ?seed:Bytes.t -> unit -> account
val add_account : t -> unit

4.000.000.000 tez

val generate_accounts : ?rng_state:Random.State.t -> ?initial_balances:int64 list -> int -> (t * Tezos_protocol_012_Psithaca.Protocol.Alpha_context.Tez.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 default_initial_balance tz (if the list is too short); and add them to the global account state

OCaml

Innovation. Community. Security.