From c248cd988323a194d53a7b61f4c6dfa910038a40 Mon Sep 17 00:00:00 2001 From: David Cauchi <13139524+davidcauchi@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:10:59 +0200 Subject: [PATCH] Enables Astar (#1076) --- networks/known_networks.go | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/networks/known_networks.go b/networks/known_networks.go index a6e683067..b3ab936c7 100644 --- a/networks/known_networks.go +++ b/networks/known_networks.go @@ -911,6 +911,34 @@ var ( DefaultGasLimit: 6000000, } + AstarShibuya = blockchain.EVMNetwork{ + Name: "Astar Shibuya", + SupportsEIP1559: true, + ClientImplementation: blockchain.EthereumClientImplementation, + ChainID: 81, + Simulated: false, + ChainlinkTransactionLimit: 5000, + Timeout: blockchain.StrDuration{Duration: 3 * time.Minute}, + MinimumConfirmations: 1, + GasEstimationBuffer: 10000, + FinalityDepth: 100, + DefaultGasLimit: 8000000, + } + + AstarMainnet = blockchain.EVMNetwork{ + Name: "Astar Mainnet", + SupportsEIP1559: true, + ClientImplementation: blockchain.EthereumClientImplementation, + ChainID: 592, + Simulated: false, + ChainlinkTransactionLimit: 5000, + Timeout: blockchain.StrDuration{Duration: 3 * time.Minute}, + MinimumConfirmations: 1, + GasEstimationBuffer: 10000, + FinalityDepth: 100, + DefaultGasLimit: 8000000, + } + MappedNetworks = map[string]blockchain.EVMNetwork{ "SIMULATED": SimulatedEVM, "ANVIL": Anvil, @@ -974,6 +1002,8 @@ var ( "MODE_MAINNET": ModeMainnet, "ZKSYNC_SEPOLIA": ZKSyncSepolia, "ZKSYNC_MAINNET": ZKSyncMainnet, + "ASTAR_SHIBUYA": AstarShibuya, + "ASTAR_MAINNET": AstarMainnet, } )