UNPKG

deth

Version:

Ethereum node focused on Developer Experience

29 lines (28 loc) 796 B
import BN from 'bn.js'; import { Hardfork } from '../model'; import { Path } from '../fs/Path'; import { DeepPartial } from 'ts-essentials'; export declare type NodeConfig = { accounts: { privateKeys: string[]; initialBalance: BN; }; blockchain: { hardfork: Hardfork; blockGasLimit: BN; defaultGasPrice: BN; coinbaseAddress: string; chainId: number; chainName: string; clockSkew: number; autoMining: boolean; skipNonceCheck: boolean; skipBalanceCheck: boolean; }; debugger: { abiFilesGlob?: string; }; cwd: Path; }; export declare const DEFAULT_NODE_CONFIG: NodeConfig; export declare function getConfigWithDefaults(options?: DeepPartial<NodeConfig>): NodeConfig;