Skip to content

sushiswap/hardhat-dotenv

Repository files navigation

Hardhat Dotenv

License: MIT

Dotenv wrapper for Hardhat

Usage

// Get the exposed env function from hre
const { env } = hre

// Second parameter is optional but serves as a fallback
env("MNEMONIC", "test test test test test test test test test test test junk")