@ethereumjs/common / GethConfigOpts
BaseOpts
↳ GethConfigOpts
• Optional
chain: string
• Optional
customCrypto: CustomCrypto
This option can be used to replace the most common crypto primitives (keccak256 hashing e.g.) within the EthereumJS ecosystem libraries with alternative implementations (e.g. more performant WASM libraries).
Note: please be aware that this is adding new dependencies for your system setup to be used for sensitive/core parts of the functionality and a choice on the libraries to add should be handled with care and be made with eventual security implications considered.
BaseOpts.customCrypto
• Optional
eips: number
[]
Selected EIPs which can be activated, please use an array for instantiation
(e.g. eips: [ 1559, 3860 ]
)
BaseOpts.eips
• Optional
genesisHash: Uint8Array
• Optional
hardfork: string
String identifier (‘byzantium’) for hardfork or Hardfork enum.
Default: Hardfork.London
BaseOpts.hardfork
• Optional
mergeForkIdPostMerge: boolean