hua
54a7f5dc40
Co-authored-by: root <root@huahua.daoyoucloud.com> Co-authored-by: bai.zixv <bai.zixv@foxmail.com> Co-authored-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: TomyJan <TomyJan6@gmail.com> Co-authored-by: luliangqiang <2650321653@qq.com> Co-authored-by: yoona <1486343814@qq.com> Co-authored-by: wjh <wwwjh0710@163.com> Reviewed-on: daoyoucloud/tachybase#1408 Reviewed-by: sealday <zhanglin@daoyoucloud.com> Co-authored-by: hua <1494133104@qq.com> Co-committed-by: hua <1494133104@qq.com>
23 lines
449 B
JavaScript
23 lines
449 B
JavaScript
require('@nomicfoundation/hardhat-toolbox');
|
|
/** @type import('hardhat/config').HardhatUserConfig */
|
|
module.exports = {
|
|
solidity: {
|
|
version: '0.8.20',
|
|
settings: {
|
|
optimizer: {
|
|
enabled: true,
|
|
runs: 200,
|
|
},
|
|
},
|
|
},
|
|
defaultNetwork: 'gethlocal',
|
|
networks: {
|
|
gethlocal: {
|
|
url: 'http://127.0.0.1:8888/',
|
|
chainId: 1337,
|
|
},
|
|
},
|
|
};
|
|
|
|
//控制台运行 pnpm i @nomicfoundation/hardhat-toolbox
|