▸ 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(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
genesisStates: object
Defined in genesisStates/index.ts:3
● goerli: any
= require('./goerli.json')
Defined in genesisStates/index.ts:15
● kovan: any
= require('./kovan.json')
Defined in genesisStates/index.ts:14
● mainnet: any
= require('./mainnet.json')
Defined in genesisStates/index.ts:11
● rinkeby: any
= require('./rinkeby.json')
Defined in genesisStates/index.ts:13
● ropsten: any
= require('./ropsten.json')
Defined in genesisStates/index.ts:12
names: object
Defined in genesisStates/index.ts:4
● 1: string
= "mainnet"
Defined in genesisStates/index.ts:5
● 3: string
= "ropsten"
Defined in genesisStates/index.ts:6
● 4: string
= "rinkeby"
Defined in genesisStates/index.ts:7
● 42: string
= "kovan"
Defined in genesisStates/index.ts:8
● 6284: string
= "goerli"
Defined in genesisStates/index.ts:9