Skip to content

Commit

Permalink
Enables Astar (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcauchi authored Aug 20, 2024
1 parent 733e36c commit c248cd9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions networks/known_networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -974,6 +1002,8 @@ var (
"MODE_MAINNET": ModeMainnet,
"ZKSYNC_SEPOLIA": ZKSyncSepolia,
"ZKSYNC_MAINNET": ZKSyncMainnet,
"ASTAR_SHIBUYA": AstarShibuya,
"ASTAR_MAINNET": AstarMainnet,
}
)

Expand Down

0 comments on commit c248cd9

Please sign in to comment.