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