Package Exports
- @chainsafe/lodestar-config
- @chainsafe/lodestar-config/default
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@chainsafe/lodestar-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
lodestar-config
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