forked from sammajayi/E-Vot-Decentralized-Voting-App
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardhat.config.ts
More file actions
35 lines (32 loc) · 817 Bytes
/
hardhat.config.ts
File metadata and controls
35 lines (32 loc) · 817 Bytes
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
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
//import "@nomiclabs/hardhat-etherscan";
import * as dotenv from "dotenv";
dotenv.config();
const config: HardhatUserConfig = {
solidity: "0.8.24",
networks: {
// for Arbitrum Sepolia testnet
"arbitrum-sepolia": {
url: process.env.ARB_RPC_URL!,
accounts: [process.env.ACCOUNT_PRIVATE_KEY!],
gasPrice: 1000000000,
},
},
etherscan: {
apiKey: {
"arbitrum-sepolia": process.env.ARBISCAN_API_KEY!,
},
customChains: [
{
network: "arbitrum-sepolia",
chainId: 4202,
urls: {
apiURL: "https://api-testnet.arbiscan.io/api",
browserURL: "https://testnet.arbiscan.io",
},
},
],
},
};
export default config;