-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathhardhat.config.ts
More file actions
34 lines (33 loc) · 821 Bytes
/
hardhat.config.ts
File metadata and controls
34 lines (33 loc) · 821 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
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "@openzeppelin/hardhat-upgrades";
import "dotenv/config";
const PRIVATE_KEY = process.env.PRIVATE_KEY as string;
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
networks: {
monad: {
url: "https://testnet-rpc.monad.xyz",
accounts: [PRIVATE_KEY],
chainId: 10143,
},
},
etherscan: {
enabled: false,
},
sourcify: {
apiUrl: "https://sourcify-api-monad.blockvision.org",
browserUrl: "https://testnet.monadexplorer.com",
enabled: true,
},
solidity: {
version: "0.8.28",
settings: {
metadata: {
bytecodeHash: "none", // disable ipfs
useLiteralContent: true, // use source code
}
},
},
};
export default config;