Skip to content
master
Switch branches/tags
lodestar/packages/lodestar-config/
lodestar/packages/lodestar-config/

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

lodestar-config

npm License ETH2.0_Spec_Version 0.12.1 ES Version Node Version

This package is part of ChainSafe's Lodestar project

Configuration variables for an Eth2 network -- consists of params and ssz types (from lodestar-params and lodestar-types respectively).

Usage

// mainet and minimal presets are available under non-default exports
import {config} from "@chainsafe/lodestar-config/mainnet";
// or
import {config} from "@chainsafe/lodestar-config/minimal";

// params available under `params`
const shardCount = mainnetConfig.params.SHARD_COUNT;

// types available under `types`
const BeaconStateType = mainnetConfig.types.BeaconState;

License

Apache-2.0 ChainSafe Systems