hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
25 lines • 696 B
TypeScript
import type { EthereumProvider } from "../../../../types/providers.js";
export interface JsonRpcServer {
listen(): Promise<{
address: string;
port: number;
}>;
waitUntilClosed(): Promise<void>;
close(): Promise<void>;
}
export interface JsonRpcServerConfig {
hostname: string;
port: number;
provider: EthereumProvider;
}
export declare class JsonRpcServerImplementation implements JsonRpcServer {
#private;
constructor(config: JsonRpcServerConfig);
listen: () => Promise<{
address: string;
port: number;
}>;
waitUntilClosed: () => Promise<void>;
close: () => Promise<void>;
}
//# sourceMappingURL=server.d.ts.map