LocalTestConfiguration
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-testing / LocalTestConfiguration
Class: LocalTestConfiguration
Configuration class for local test environment implementing EnvironmentConfiguration
Implements
Constructors
Constructor
new LocalTestConfiguration(
ports):LocalTestConfiguration
Creates a new LocalTestConfiguration instance
Parameters
ports
Object containing port numbers for each component
Returns
LocalTestConfiguration
Properties
faucet
readonlyfaucet:undefined|string
Optional URL for the faucet service to obtain test tokens
Implementation of
EnvironmentConfiguration.faucet
indexer
readonlyindexer:string
URL of the indexer HTTP endpoint
Implementation of
EnvironmentConfiguration.indexer
indexerWS
readonlyindexerWS:string
WebSocket URL for the indexer service
Implementation of
EnvironmentConfiguration.indexerWS
node
readonlynode:string
URL of the blockchain node
Implementation of
proofServer
readonlyproofServer:string
URL of the proof generation server