@ethereumjs/common / CustomCommonOpts
Options to be used with the custom static constructor.
-
BaseOpts
↳
CustomCommonOpts
• Optional
baseChain: string
| number
| bigint
The name (mainnet
), id (1
), or Chain enum of
a standard chain used to base the custom chain params on.
packages/common/src/types.ts:114
• Optional
eips: number
[]
Selected EIPs which can be activated, please use an array for instantiation
(e.g. eips: [ 2537, ]
)
Currently supported:
- EIP-2537 - BLS12-381 precompiles
BaseOpts.eips
packages/common/src/types.ts:79
• Optional
hardfork: string
String identifier ('byzantium') for hardfork or Hardfork enum.
Default: Hardfork.London
BaseOpts.hardfork