Skip to content

Commit 47910c3

Browse files
committed
add zkconfig
1 parent 66b66da commit 47910c3

3 files changed

Lines changed: 272 additions & 15 deletions

File tree

hardhat.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ require('@nomiclabs/hardhat-etherscan');
77
require('hardhat-contract-sizer');
88
require('solidity-coverage');
99
require('hardhat-deploy');
10+
require('@matterlabs/hardhat-zksync-deploy');
11+
require('@matterlabs/hardhat-zksync-solc');
12+
require('@matterlabs/hardhat-zksync-verify');
1013
require('dotenv').config();
1114

1215
task('accounts', 'Prints the list of accounts', async () => {
@@ -192,6 +195,12 @@ module.exports = {
192195
deployments: './deployments',
193196
imports: './imports',
194197
},
198+
zksolc: {
199+
version: '1.3.10',
200+
compilerSource: 'binary',
201+
settings: {
202+
},
203+
},
195204
};
196205

197206
const INFURA_API_KEY = process.env.INFURA_API_KEY;

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@
6464
"web3-eth-abi": "1.2.11"
6565
},
6666
"dependencies": {
67+
"@matterlabs/hardhat-zksync-deploy": "^0.6.3",
68+
"@matterlabs/hardhat-zksync-solc": "^0.3.17",
69+
"@matterlabs/hardhat-zksync-verify": "^0.1.7",
6770
"@openzeppelin/contracts": "3.4.1",
6871
"hardhat-deploy": "^0.11.10"
6972
}

0 commit comments

Comments
 (0)