JSPM

@chainsafe/lodestar-config

0.25.2-dev.25+3d1f78f1821
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 48
  • Score
    100M100P100Q109777F
  • License Apache-2.0

Chain configuration required for lodestar

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

npm License ETH2.0_Spec_Version 1.0.0 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