-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
38 lines (35 loc) · 918 Bytes
/
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
//import '@oasisprotocol/sapphire-hardhat';
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "@nomicfoundation/hardhat-verify";
require('dotenv').config();
const config: HardhatUserConfig = {
solidity: "0.8.22",
networks: {
hardhat: {
accounts: {
mnemonic: process.env.SEED_PHRASE_FOR_HARDHAT,
},
chainId: 1337
},
sapphire_testnet: {
url: "https://testnet.sapphire.oasis.dev",
accounts: process.env.TESTNET_PRIVATE_KEYS?.split(','),
chainId: 0x5aff,
},
sapphire_mainnet: {
url: "https://sapphire.oasis.io",
accounts: process.env.MAINNET_PRIVATE_KEYS?.split(','),
chainId: 0x5afe,
}
},
sourcify: {
enabled: true,
apiUrl: "https://sourcify.dev/server",
browserUrl: "https://repo.sourcify.dev",
},
mocha: {
timeout: 60000
}
};
export default config;