AviaryGenesis extension Ledger
Genesis construction and identity.
- on
Methods
-
buildGenesis(
{required int chainId, required List< GenesisAccountEntry> accounts, required List<ValidatorEntry> validators, int timestamp = 1, int assuranceLevel = 1, int stateModel = 0}) → Uint8List -
Available on Aviary, provided by the AviaryGenesis extension
A minimal genesis: chain params, posture, seeded state and validators. -
commitBlueprint(
Uint8List genesis, Blueprint bp) → Uint8List -
Available on Aviary, provided by the AviaryGenesis extension
Commits a mixture into a genesis; the genesis hash changes. -
genesisHash(
Uint8List genesis) → Uint8List -
Available on Aviary, provided by the AviaryGenesis extension
The 32 byte genesis hash, the chain identity.