@lodestar/config
Version:
Chain configuration required for lodestar
20 lines (14 loc) • 633 B
text/typescript
import {fromHex as b} from "@lodestar/utils";
import {chainConfig as mainnet} from "../configs/mainnet.js";
import {ChainConfig} from "../types.js";
export const mainnetChainConfig: ChainConfig = {
...mainnet,
CONFIG_NAME: "mainnet",
DEPOSIT_CONTRACT_ADDRESS: b("0x00000000219ab540356cBB839Cbe05303d7705Fa"),
DEPOSIT_CHAIN_ID: 1,
DEPOSIT_NETWORK_ID: 1,
MIN_GENESIS_TIME: 1606824000, // Tuesday, December 1, 2020 12:00:00 PM UTC
GENESIS_DELAY: 604800,
// MUST NOT use `GENESIS_FORK_VERSION` here so for `minimal` networks the preset value of 0x00000001 take prevalence
// GENESIS_FORK_VERSION: "0x00000000",
};