hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
18 lines • 580 B
TypeScript
import type { JsonRpcServer } from "../../../../types/network.js";
import type { EthereumProvider } from "../../../../types/providers.js";
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;
}>;
afterClosed: () => Promise<void>;
close: () => Promise<void>;
}
//# sourceMappingURL=server.d.ts.map