Skip to main content

LocalTestConfiguration

For the complete documentation index, see llms.txt

@midnight-ntwrk/testkit-js v4.0.4


Configuration class for local test environment implementing EnvironmentConfiguration

Implements​

Constructors​

Constructor​

new LocalTestConfiguration(ports): LocalTestConfiguration

Creates a new LocalTestConfiguration instance

Parameters​

ports​

ComponentPortsConfiguration

Object containing port numbers for each component

Returns​

LocalTestConfiguration

Properties​

faucet​

readonly faucet: string | undefined

Optional URL for the faucet service to obtain test tokens

Implementation of​

EnvironmentConfiguration.faucet


indexer​

readonly indexer: string

URL of the indexer HTTP endpoint

Implementation of​

EnvironmentConfiguration.indexer


indexerWS​

readonly indexerWS: string

WebSocket URL for the indexer service

Implementation of​

EnvironmentConfiguration.indexerWS


networkId​

readonly networkId: string

Network identifier

Implementation of​

EnvironmentConfiguration.networkId


node​

readonly node: string

URL of the blockchain node

Implementation of​

EnvironmentConfiguration.node


nodeWS​

readonly nodeWS: string

WebSocket URL for the blockchain node

Implementation of​

EnvironmentConfiguration.nodeWS


proofServer​

readonly proofServer: string

URL of the proof generation server

Implementation of​

EnvironmentConfiguration.proofServer


walletNetworkId​

readonly walletNetworkId: string

Wallet Network identifier

Implementation of​

EnvironmentConfiguration.walletNetworkId