| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import "@matterlabs/hardhat-zksync-deploy";
- import "@matterlabs/hardhat-zksync-solc";
- import "@nomiclabs/hardhat-etherscan";
- import "@openzeppelin/hardhat-upgrades";
- import "@matterlabs/hardhat-zksync-verify";
- module.exports = {
- zksolc: {
- version: "1.3.1",
- compilerSource: "binary",
- settings: {
- optimizer: {
- enabled: true,
- },
- },
- },
- defaultNetwork: "zkSyncTestnet",
- networks: {
- goerli: {
- url: `https://goerli.infura.io/v3/${process.env.INFURA_KEY}`,
- zksync: false,
- },
- zkSyncTestnet: {
- 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,
- verifyURL:
- "https://zksync2-testnet-explorer.zksync.dev/contract_verification",
- },
- zkSyncMainnet: {
- url: "https://zksync2-mainnet.zksync.io",
- ethNetwork: "mainnet",
- zksync: true,
- chainId: 324,
- verifyURL:
- "https://zksync2-mainnet-explorer.zksync.io/contract_verification",
- },
- },
- solidity: {
- version: "0.8.4",
- settings: {
- optimizer: {
- enabled: true,
- runs: 10000,
- },
- },
- },
- };
|