Module Genesis.Parameters

type t = {
  1. context_key : string;
  2. values : Data_encoding.json;
}

Parameters for the genesis protocol.

context_key is the key, in the context, which leads to the genesis parameters. For proto_genesis for instance, this is "sandbox_parameter".

values are the actual parameters. For proto_genesis for instance, it should be a JSON object with one field: "genesis_pubkey" containing the activator key.

val encoding : t Data_encoding.t