-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.js
41 lines (39 loc) · 1.24 KB
/
hardhat.config.js
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
require("@nomicfoundation/hardhat-toolbox");
// require("@nomiclabs/hardhat-react");
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.18",
networks: {
hardhat: {},
localhost: {
url: "http://127.0.0.1:8545"
}
},
paths: {
artifacts: "./src/artifacts",
},
// paths: {
// // ...
// client: './frontend/build'
// },
// react: {
// // Specify the directory where your React app will be built
// // This will create a new build folder inside your client directory
// buildDir: './frontend/build',
// // Specify the location of your index.html file
// // Specify the location of your index.js file
// jsEntry: './frontend/index.js',
// // Specify the location of your contracts
// contracts: './contracts',
// // Specify the name of your contract to use in your React components
// // You will need to change this to the name of your own contract
// contractName: 'VotingSystem'
// }
// react: {
// outputDir: "./frontend/src/contracts",
// solcVersion: "0.8.9",
// // Specify the patterns for the solidity files to include or exclude
// include: "./contracts/**",
// exclude: "./contracts/migrations/**",
// },
};