hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
10 lines (7 loc) • 339 B
text/typescript
import type { SolidityHooks } from "../../../../types/hooks.js";
import { downloadSolcCompilersHandler } from "../solidity-hooks.js";
export default async (): Promise<Partial<SolidityHooks>> => ({
downloadCompilers: async (_context, compilerConfigs, quiet) => {
await downloadSolcCompilersHandler(compilerConfigs, quiet);
},
});