Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Latest commit

 

History

History
194 lines (104 loc) · 4.27 KB

README.md

File metadata and controls

194 lines (104 loc) · 4.27 KB

ethereumjs-common

Index

Classes

Interfaces

Functions

Object literals


Functions

genesisStateById

genesisStateById(id: number): any

Defined in genesisStates/index.ts:23

Returns the genesis state by network ID

Parameters:

Name Type Description
id number ID of the network (e.g. 1)

Returns: any Dictionary with genesis accounts


genesisStateByName

genesisStateByName(name: string): any

Defined in genesisStates/index.ts:32

Returns the genesis state by network name

Parameters:

Name Type Description
name string Name of the network (e.g. 'mainnet')

Returns: any Dictionary with genesis accounts


Object literals

<Const> genesisStates

genesisStates: object

Defined in genesisStates/index.ts:3

goerli

● goerli: any = require('./goerli.json')

Defined in genesisStates/index.ts:15


kovan

● kovan: any = require('./kovan.json')

Defined in genesisStates/index.ts:14


mainnet

● mainnet: any = require('./mainnet.json')

Defined in genesisStates/index.ts:11


rinkeby

● rinkeby: any = require('./rinkeby.json')

Defined in genesisStates/index.ts:13


ropsten

● ropsten: any = require('./ropsten.json')

Defined in genesisStates/index.ts:12


names

names: object

Defined in genesisStates/index.ts:4

1

● 1: string = "mainnet"

Defined in genesisStates/index.ts:5


3

● 3: string = "ropsten"

Defined in genesisStates/index.ts:6


4

● 4: string = "rinkeby"

Defined in genesisStates/index.ts:7


42

● 42: string = "kovan"

Defined in genesisStates/index.ts:8


6284

● 6284: string = "goerli"

Defined in genesisStates/index.ts:9