@ethereumjs/common / CustomCommonOpts
Options to be used with the {@link Common.custom} static constructor.
-
BaseOpts
↳
CustomCommonOpts
• Optional
baseChain: string
| number
| BN
The name (mainnet
), id (1
), or Chain enum of
a standard chain used to base the custom chain params on.
packages/common/src/index.ts:162
• 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/index.ts:117
• Optional
hardfork: string
String identifier ('byzantium') for hardfork or Hardfork enum.
Default: Hardfork.Istanbul
BaseOpts.hardfork
packages/common/src/index.ts:104
• Optional
supportedHardforks: string
[]
Limit parameter returns to the given hardforks
BaseOpts.supportedHardforks