Skip to content

Instantly share code, notes, and snippets.

@bobbyg603
Created November 20, 2022 18:57
Embed
What would you like to do?
NFT Development Speedrun
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import dotenv from "dotenv";
dotenv.config();
const { API_URL, PRIVATE_KEY } = process.env;
const config: HardhatUserConfig = {
solidity: "0.8.17",
defaultNetwork: "goerli",
networks: {
hardhat: {},
goerli: {
url: API_URL,
accounts: [`0x${PRIVATE_KEY}`]
}
},
}
export default config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment