-
Notifications
You must be signed in to change notification settings - Fork 3
/
hardhat.config.ts
39 lines (37 loc) · 1.05 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
38
39
import "@nomiclabs/hardhat-ethers";
import { HardhatUserConfig } from "hardhat/types";
import dotenv from 'dotenv';
dotenv.config();
const INFURA_URL = "https://eth-goerli.g.alchemy.com/v2/wQZhZrGooqQlJMi44xtV3WQEAlhY8Ycz";
const userOldSigner = process.env.userOldSigner;
const relayerSigner = process.env.relayerSigner;
const userNewSigner = process.env.userNewSigner;
const config: HardhatUserConfig = {
networks: {
hardhat:{},
goerli: {
url: INFURA_URL,
accounts: [`${userOldSigner}`, `0x${relayerSigner}`, `0x${userNewSigner}`],
gas:10000000,
timeout: 60000
},
bsc: {
url: "https://bsc-testnet.publicnode.com",
chainId: 97,
accounts: [`${userOldSigner}`, `0x${relayerSigner}`, `0x${userNewSigner}`],
gas:10000000,
timeout: 60000
},
},
solidity: {
compilers: [
{
version: "0.8.9"
},
{
version: "0.8.0"
}
]
},
};
export default config;