Skip to content

Commit

Permalink
rename to ACCOUNT_PRIVATE_KEY (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maar-io committed Oct 31, 2023
1 parent d72d2c2 commit 154f5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/build/zkEVM/smart-contracts/using-hardhat.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Verify that your .gitignore file contains `.env` to prevent your private key fro
import * as dotenv from "dotenv";

dotenv.config({ path: __dirname + "/.env" });
const ACCOUNT_PRIVATE_KEY = process.env.PRIVATE_KEY || "";
const ACCOUNT_PRIVATE_KEY = process.env.ACCOUNT_PRIVATE_KEY || "";
console.log("PrivateKey set:", !!ACCOUNT_PRIVATE_KEY)

const config: HardhatUserConfig = {
Expand Down

0 comments on commit 154f5fd

Please sign in to comment.