pyth-crosschain/target-chains/ethereum/hardhat.config.ts

33 lines
714 B
TypeScript

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,
},
},
},
};