| 1234567891011121314151617181920212223242526272829303132 |
- require("@matterlabs/hardhat-zksync-deploy");
- require("@matterlabs/hardhat-zksync-solc");
- module.exports = {
- zksolc: {
- version: "1.2.0",
- compilerSource: "binary",
- settings: {
- optimizer: {
- enabled: true,
- },
- },
- },
- defaultNetwork: "zkTestnet",
- networks: {
- zkTestnet: {
- url: "https://zksync2-testnet.zksync.dev", // URL of the zkSync network RPC
- ethNetwork: "goerli", // Can also be the RPC URL of the Ethereum network (e.g. `https://goerli.infura.io/v3/<API_KEY>`)
- zksync: true,
- chainId: 280,
- },
- },
- solidity: {
- version: "0.8.4",
- settings: {
- optimizer: {
- enabled: true,
- runs: 10000,
- },
- },
- },
- };
|