Skip to main content

StaticProofServerContainer

For the complete documentation index, see llms.txt

@midnight-ntwrk/testkit-js v4.0.4


A proof server that is currently running on a specific port. Used for connecting to an existing proof server instance.

Implements​

Constructors​

Constructor​

new StaticProofServerContainer(port?): StaticProofServerContainer

Creates a new StaticProofServerContainer instance.

Parameters​

port?​

number = 6300

The port number where the proof server is running (default: 6300)

Returns​

StaticProofServerContainer

Properties​

port​

port: number

The port number where the proof server is running

Methods​

getUrl()​

getUrl(): string

Gets the URL where the proof server can be accessed.

Returns​

string

The URL of the proof server

Implementation of​

ProofServerContainer.getUrl


stop()​

stop(): Promise<void>

No-op stop method since this represents an external proof server.

Returns​

Promise<void>

A resolved promise

Implementation of​

ProofServerContainer.stop