StaticProofServerContainer
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-testing / StaticProofServerContainer
Class: StaticProofServerContainer
A proof server that is currently running on a specific port. Used for connecting to an existing proof server instance.
Implementsβ
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β
stop()β
stop():
Promise<void>
No-op stop method since this represents an external proof server.
Returnsβ
Promise<void>
A resolved promise