cardano-cli-1.28.0
Safe HaskellNone
LanguageHaskell2010

Cardano.CLI.Byron.Genesis

Synopsis

Documentation

data GenesisParameters Source #

Parameters required for generation of new genesis.

Constructors

GenesisParameters 

Fields

Instances

Instances details
Show GenesisParameters Source # 
Instance details

Defined in Cardano.CLI.Byron.Genesis

dumpGenesisNewDirectory → GenesisData → GeneratedSecrets → ExceptT ByronGenesisError IO () Source #

Write out genesis into a directory that must not yet exist. An error is thrown if the directory already exists, or the genesis has delegate keys that are not delegated to.

mkGenesisGenesisParametersExceptT ByronGenesisError IO (GenesisData, GeneratedSecrets) Source #

Generate a genesis, for given blockchain start time, protocol parameters, security parameter, protocol magic, testnet balance options, fake AVVM options, AVVM balance factor and seed. Throw an error in the following cases: if the protocol parameters file can't be read or fails parse, if genesis delegation couldn't be generated, if the parameter-derived genesis specification is wrong, or if the genesis fails generation.

readGenesisGenesisFileNetworkIdExceptT ByronGenesisError IO Config Source #

Read genesis from a file.