@latticexyz/network / NetworkConfig

# Interface: NetworkConfig

# Table of contents

# Properties

  • blockExplorer
  • cacheAgeThreshold
  • cacheInterval
  • chainId
  • clock
  • encoders
  • initialBlockNumber
  • privateKey
  • provider
  • pruneOptions
  • snapshotServiceUrl
  • streamServiceUrl

# Properties

# blockExplorer

Optional blockExplorer: string

# Defined in

types.ts:18


# cacheAgeThreshold

Optional cacheAgeThreshold: number

# Defined in

types.ts:19


# cacheInterval

Optional cacheInterval: number

# Defined in

types.ts:20


# chainId

chainId: number

# Defined in

types.ts:11


# clock

clock: ClockConfig

# Defined in

types.ts:13


# encoders

Optional encoders: boolean

# Defined in

types.ts:21


# initialBlockNumber

Optional initialBlockNumber: number

# Defined in

types.ts:17


# privateKey

Optional privateKey: string

# Defined in

types.ts:12


# provider

provider: ProviderConfig

# Defined in

types.ts:14


# pruneOptions

Optional pruneOptions: Object

# Type declaration

Name Type
hashedComponentId string
playerAddress string

# Defined in

types.ts:22


# snapshotServiceUrl

Optional snapshotServiceUrl: string

# Defined in

types.ts:15


# streamServiceUrl

Optional streamServiceUrl: string

# Defined in

types.ts:16