Skip to main content

EnvironmentConfiguration

@midnight-ntwrk/testkit-js v3.1.0


Configuration interface for the test environment services

Properties

faucet

readonly faucet: string | undefined

Optional URL for the faucet service to obtain test tokens


indexer

readonly indexer: string

URL of the indexer HTTP endpoint


indexerWS

readonly indexerWS: string

WebSocket URL for the indexer service


networkId

readonly networkId: string

Network identifier


node

readonly node: string

URL of the blockchain node


nodeWS

readonly nodeWS: string

WebSocket URL for the blockchain node


proofServer

readonly proofServer: string

URL of the proof generation server


walletNetworkId

readonly walletNetworkId: string

Wallet Network identifier