-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
37 lines (36 loc) · 1.06 KB
/
hardhat.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/** @type import('hardhat/config').HardhatUserConfig */
require("@nomicfoundation/hardhat-toolbox");
require('dotenv').config();
import { vars } from "hardhat/config";
// const { INFURA_API_KEY, PRIVATE_KEY } = process.env;
// const ETHERSCAN_API_KEY = vars.get("ETHERSCAN_API_KEY");
module.exports = {
solidity: "0.8.24",
// networks: {
// etherscan: {
// apiKey: {
// sepolia: ETHERSCAN_API_KEY,
// },
// },
// sepolia: {
// url: `https://sepolia.infura.io/v3/${INFURA_API_KEY}`,
// accounts: [`0x${PRIVATE_KEY}`]
// },
// mainnet: {
// url: `https://mainnet.infura.io/v3/${INFURA_API_KEY}`,
// accounts: [`0x${PRIVATE_KEY}`]
// },
// testnet: {
// url: `https://data-seed-prebsc-1-s1.bnbchain.org:8545`,
// chainId: 97,
// gasPrice: 20000000000,
// accounts: [`0x${PRIVATE_KEY}`]
// },
// binanceMainnet: {
// url: "https://bsc-dataseed.binance.org/",
// chainId: 56,
// gasPrice: 20000000000,
// accounts: [`0x${PRIVATE_KEY}`]
// }
// }
};