@nomicfoundation/hardhat-keystore
Version:
A module for managing keystore files that store a map from IDs to encrypted string values.
10 lines • 385 B
JavaScript
import path from "node:path";
import { getConfigDir } from "@nomicfoundation/hardhat-utils/global-dir";
/**
* Get the path for the keystore in the Hardhat global config directory.
*/
export async function getKeystoreFilePath() {
const configDirPath = await getConfigDir();
return path.join(configDirPath, "keystore.json");
}
//# sourceMappingURL=get-keystore-file-path.js.map