File tree Expand file tree Collapse file tree 5 files changed +44
-3
lines changed Expand file tree Collapse file tree 5 files changed +44
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import '@nomicfoundation/hardhat-toolbox'
3
3
import '@nomicfoundation/hardhat-ignition-ethers'
4
4
import 'hardhat-storage-layout'
5
5
import 'hardhat-contract-sizer'
6
+ import 'hardhat-secure-accounts'
6
7
7
8
import { HardhatUserConfig } from 'hardhat/config'
8
9
@@ -20,17 +21,20 @@ const config: HardhatUserConfig = {
20
21
artifacts : './build/contracts' ,
21
22
sources : './contracts' ,
22
23
} ,
24
+ secureAccounts : {
25
+ enabled : true ,
26
+ } ,
23
27
networks : {
24
28
hardhat : {
29
+ secureAccounts : {
30
+ enabled : false ,
31
+ } ,
25
32
accounts : {
26
33
mnemonic : 'myth like bonus scare over problem client lizard pioneer submit female collect' ,
27
34
} ,
28
35
} ,
29
36
arbitrumSepolia : {
30
37
url : 'https://sepolia-rollup.arbitrum.io/rpc' ,
31
- accounts : {
32
- mnemonic : process . env . MNEMONIC ?? '' ,
33
- } ,
34
38
} ,
35
39
} ,
36
40
etherscan : {
Original file line number Diff line number Diff line change 37
37
"hardhat" : " ^2.20.1" ,
38
38
"hardhat-contract-sizer" : " ^2.10.0" ,
39
39
"hardhat-gas-reporter" : " ^1.0.8" ,
40
+ "hardhat-secure-accounts" : " ^1.0.4" ,
40
41
"hardhat-storage-layout" : " ^0.1.7" ,
41
42
"lint-staged" : " ^15.2.2" ,
42
43
"prettier" : " ^3.2.5" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import '@nomicfoundation/hardhat-ignition-ethers'
3
3
import '@nomicfoundation/hardhat-toolbox'
4
4
import 'hardhat-contract-sizer'
5
5
import 'hardhat-storage-layout'
6
+ import 'hardhat-secure-accounts'
6
7
import 'solidity-docgen'
7
8
8
9
import { HardhatUserConfig } from 'hardhat/config'
@@ -21,6 +22,22 @@ const config: HardhatUserConfig = {
21
22
artifacts : './build/contracts' ,
22
23
sources : './contracts' ,
23
24
} ,
25
+ secureAccounts : {
26
+ enabled : true ,
27
+ } ,
28
+ networks : {
29
+ hardhat : {
30
+ secureAccounts : {
31
+ enabled : false ,
32
+ } ,
33
+ accounts : {
34
+ mnemonic : 'myth like bonus scare over problem client lizard pioneer submit female collect' ,
35
+ } ,
36
+ } ,
37
+ arbitrumSepolia : {
38
+ url : 'https://sepolia-rollup.arbitrum.io/rpc' ,
39
+ } ,
40
+ } ,
24
41
}
25
42
26
43
export default config
Original file line number Diff line number Diff line change 38
38
"hardhat" : " ^2.20.1" ,
39
39
"hardhat-contract-sizer" : " ^2.10.0" ,
40
40
"hardhat-gas-reporter" : " ^1.0.8" ,
41
+ "hardhat-secure-accounts" : " ^1.0.4" ,
41
42
"hardhat-storage-layout" : " ^0.1.7" ,
42
43
"lint-staged" : " ^15.2.2" ,
43
44
"prettier" : " ^3.2.5" ,
Original file line number Diff line number Diff line change @@ -2953,6 +2953,7 @@ __metadata:
2953
2953
hardhat: "npm:^2.20.1"
2954
2954
hardhat-contract-sizer: "npm:^2.10.0"
2955
2955
hardhat-gas-reporter: "npm:^1.0.8"
2956
+ hardhat-secure-accounts: "npm:^1.0.4"
2956
2957
hardhat-storage-layout: "npm:^0.1.7"
2957
2958
lint-staged: "npm:^15.2.2"
2958
2959
prettier: "npm:^3.2.5"
@@ -3046,6 +3047,7 @@ __metadata:
3046
3047
hardhat: "npm:^2.20.1"
3047
3048
hardhat-contract-sizer: "npm:^2.10.0"
3048
3049
hardhat-gas-reporter: "npm:^1.0.8"
3050
+ hardhat-secure-accounts: "npm:^1.0.4"
3049
3051
hardhat-storage-layout: "npm:^0.1.7"
3050
3052
lint-staged: "npm:^15.2.2"
3051
3053
prettier: "npm:^3.2.5"
@@ -14246,6 +14248,22 @@ __metadata:
14246
14248
languageName: node
14247
14249
linkType: hard
14248
14250
14251
+ "hardhat-secure-accounts@npm:^1.0.4":
14252
+ version: 1.0.4
14253
+ resolution: "hardhat-secure-accounts@npm:1.0.4"
14254
+ dependencies:
14255
+ debug: "npm:^4.3.4"
14256
+ enquirer: "npm:^2.3.6"
14257
+ lodash.clonedeep: "npm:^4.5.0"
14258
+ prompt-sync: "npm:^4.2.0"
14259
+ peerDependencies:
14260
+ "@nomicfoundation/hardhat-ethers": ^3.0.0
14261
+ ethers: ^6.13.0
14262
+ hardhat: ^2.22.0
14263
+ checksum: 6406be693502234f342b9e27215bb3ecb3502a0d9f5299c5c1f5e1be28f08d26226cff511723e719639dc12fb2e4e329386a41e5c90f57b3bf3116656c45c2b5
14264
+ languageName: node
14265
+ linkType: hard
14266
+
14249
14267
"hardhat-storage-layout@npm:0.1.6":
14250
14268
version: 0.1.6
14251
14269
resolution: "hardhat-storage-layout@npm:0.1.6"
You can’t perform that action at this time.
0 commit comments