Skip to content

Commit

Permalink
Adding ZKSync to known networks
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid committed Sep 28, 2023
1 parent 613f84b commit 995b9f5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions networks/known_networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,18 @@ var (
GasEstimationBuffer: 1000,
}

// https://era.zksync.io/docs/dev/troubleshooting/important-links.html
ZKSyncGoerliTestnet blockchain.EVMNetwork = blockchain.EVMNetwork{
Name: "ZKSync Goerli Testnet",
ClientImplementation: blockchain.ZKSyncClientImplementation,
ChainID: 280,
Simulated: false,
ChainlinkTransactionLimit: 5000,
Timeout: blockchain.JSONStrDuration{5 * time.Minute},
MinimumConfirmations: 1,
GasEstimationBuffer: 1000,
}

MappedNetworks = map[string]blockchain.EVMNetwork{
"SIMULATED": SimulatedEVM,
"SIMULATED_1": SimulatedEVMNonDev1,
Expand Down Expand Up @@ -545,6 +557,7 @@ var (
"BSC_MAINNET": BSCMainnet,
"LINEA_GOERLI": LineaGoerli,
"LINEA_MAINNET": LineaMainnet,
"ZK_SYNC_GOERLI": ZKSyncGoerliTestnet,
}
)

Expand Down

0 comments on commit 995b9f5

Please sign in to comment.