UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

8 lines (6 loc) 335 B
import { getHardhatVersion } from "../../../../utils/package.js"; export async function clientVersion(edrClientVersion: string): Promise<string> { const hardhatVersion = await getHardhatVersion(); const edrVersion = edrClientVersion.split("/")[1]; return `HardhatNetwork/${hardhatVersion}/@nomicfoundation/edr/${edrVersion}`; }