Midnight.js API Reference v1.0.0
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
readonly
faucet:undefined
|string
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
node
readonly
node:string
URL of the blockchain node
Implementation of
proofServer
readonly
proofServer:string
URL of the proof generation server