Sitelet https://hardhat.org/docs/reference/cheatcodes/utilities/prompt-secret
Skip to content

promptSecret

function promptSecret(
string calldata promptText
) external returns (string memory input);

Prompts the user for a hidden string value in the terminal.