UNPKG

deth

Version:

Ethereum node focused on Developer Experience

23 lines (22 loc) 733 B
import { Hardfork } from './model'; import BN from 'bn.js'; import { NodeConfig } from './config/config'; import { DeepPartial } from 'ts-essentials'; export interface TestChainOptions { hardfork: Hardfork; blockGasLimit: BN; defaultGasPrice: BN; coinbaseAddress: string; chainId: number; chainName: string; clockSkew: number; autoMining: boolean; skipNonceCheck: boolean; skipBalanceCheck: boolean; accounts: { privateKeys: string[]; initialBalance: BN; }; } export declare function getTestChainOptionsFromConfig(config: NodeConfig): TestChainOptions; export declare function getTestChainOptionsWithDefaults(options?: DeepPartial<TestChainOptions>): TestChainOptions;