-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.ts
51 lines (48 loc) · 1.15 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
40
41
42
43
44
45
46
47
48
49
50
51
import "@nomiclabs/hardhat-ethers";
import { HardhatUserConfig } from "hardhat/types";
import dotenv from "dotenv";
dotenv.config();
const CONFLUX_URL = "https://evmtestnet.confluxrpc.com";
const BSC_TESTNET_URL = "https://bsc-dataseed.binance.org/"
const MANTLE_TESTNET_URL = "https://rpc.testnet.mantle.xyz"
const userOldSigner = process.env.userOldSigner;
const relayerSigner = process.env.relayerSigner;
const config: HardhatUserConfig = {
networks: {
hardhat: {},
conflux: {
url: CONFLUX_URL,
accounts: [`${userOldSigner}`, `0x${relayerSigner}`],
gas: 10000000,
timeout: 60000,
},
bsc: {
url: BSC_TESTNET_URL,
chainId: 97,
accounts: [`${userOldSigner}`, `0x${relayerSigner}`],
gas: 10000000,
timeout: 60000,
},
mantle: {
url: MANTLE_TESTNET_URL,
chainId: 5001,
accounts: [`${userOldSigner}`, `0x${relayerSigner}`],
gas: 10000000,
timeout: 60000,
},
},
solidity: {
compilers: [
{
version: "0.8.9",
},
{
version: "0.8.0",
},
{
version: "0.8.10",
},
],
},
};
export default config;