|
|
@@ -1,3 +1,4 @@
|
|
|
+import { http } from "wagmi";
|
|
|
import "@nomiclabs/hardhat-etherscan";
|
|
|
import "@openzeppelin/hardhat-upgrades";
|
|
|
import "@matterlabs/hardhat-zksync-deploy";
|
|
|
@@ -14,19 +15,15 @@ module.exports = {
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
- defaultNetwork: "cronosZkEvmTestnet",
|
|
|
+ defaultNetwork: "cronosZkEvmMainnet",
|
|
|
networks: {
|
|
|
- [process.env.MIGRATIONS_NETWORK!]: {
|
|
|
- url: process.env.RPC_URL,
|
|
|
- chainId: Number(process.env.NETWORK_ID),
|
|
|
- accounts: {
|
|
|
- mnemonic: process.env.MNEMONIC,
|
|
|
- },
|
|
|
- },
|
|
|
- goerli: {
|
|
|
- url: `https://goerli.infura.io/v3/${process.env.INFURA_KEY}`,
|
|
|
- zksync: false,
|
|
|
- },
|
|
|
+ // [process.env.MIGRATIONS_NETWORK!]: {
|
|
|
+ // url: process.env.RPC_URL,
|
|
|
+ // chainId: Number(process.env.NETWORK_ID),
|
|
|
+ // accounts: {
|
|
|
+ // mnemonic: process.env.MNEMONIC,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
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>`)
|
|
|
@@ -49,19 +46,12 @@ module.exports = {
|
|
|
zksync: true,
|
|
|
verifyURL: "https://explorer.zkevm.cronos.org/contract_verification",
|
|
|
},
|
|
|
- neon_devnet: {
|
|
|
- url: "https://devnet.neonevm.org",
|
|
|
- chainId: 245022926,
|
|
|
- accounts: {
|
|
|
- mnemonic: process.env.MNEMONIC,
|
|
|
- },
|
|
|
- },
|
|
|
- shimmer_testnet: {
|
|
|
- url: "https://json-rpc.evm.testnet.shimmer.network",
|
|
|
- chainId: 1071,
|
|
|
- accounts: {
|
|
|
- mnemonic: process.env.MNEMONIC,
|
|
|
- },
|
|
|
+ cronosZkEvmMainnet: {
|
|
|
+ url: "https://mainnet.zkevm.cronos.org",
|
|
|
+ ethNetwork: "sepolia", // or a Sepolia RPC endpoint from Infura/Alchemy/Chainstack etc.
|
|
|
+ zksync: true,
|
|
|
+ verifyURL:
|
|
|
+ "https://explorer-api.zkevm.cronos.org/api/v1/contract/verify/hardhat?apikey=",
|
|
|
},
|
|
|
},
|
|
|
etherscan: {
|