Skip to content

Latest commit

 

History

History
108 lines (60 loc) · 2.39 KB

GethConfigOpts.md

File metadata and controls

108 lines (60 loc) · 2.39 KB

@ethereumjs/common / GethConfigOpts

Interface: GethConfigOpts

Hierarchy

  • BaseOpts

    GethConfigOpts

Table of contents

Properties

Properties

chain

Optional chain: string

Defined in

types.ts:151


customCrypto

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.

Inherited from

BaseOpts.customCrypto

Defined in

types.ts:112


eips

Optional eips: number[]

Selected EIPs which can be activated, please use an array for instantiation (e.g. eips: [ 1559, 3860 ])

Inherited from

BaseOpts.eips

Defined in

types.ts:101


genesisHash

Optional genesisHash: Uint8Array

Defined in

types.ts:152


hardfork

Optional hardfork: string

String identifier ('byzantium') for hardfork or Hardfork enum.

Default: Hardfork.London

Inherited from

BaseOpts.hardfork

Defined in

types.ts:96


mergeForkIdPostMerge

Optional mergeForkIdPostMerge: boolean

Defined in

types.ts:153