LocalTestConfiguration
@midnight-ntwrk/testkit-js v3.1.0
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:string|undefined
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
networkId
readonlynetworkId:string
Network identifier
Implementation of
EnvironmentConfiguration.networkId
node
readonlynode:string
URL of the blockchain node
Implementation of
nodeWS
readonlynodeWS:string
WebSocket URL for the blockchain node
Implementation of
EnvironmentConfiguration.nodeWS
proofServer
readonlyproofServer:string
URL of the proof generation server
Implementation of
EnvironmentConfiguration.proofServer
walletNetworkId
readonlywalletNetworkId:string
Wallet Network identifier