Skip to content

Commit

Permalink
Added Networks (smartcontractkit#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalverra authored Nov 21, 2023
1 parent 3da44f9 commit 368aa75
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion networks/known_networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ var (
DefaultGasLimit: 6000000,
}

// optimismGoerli https://dev.optimism.io/kovan-to-goerli/
// OptimismGoerli https://dev.optimism.io/kovan-to-goerli/
OptimismGoerli blockchain.EVMNetwork = blockchain.EVMNetwork{
Name: "Optimism Goerli",
SupportsEIP1559: true,
Expand All @@ -311,6 +311,21 @@ var (
DefaultGasLimit: 6000000,
}

// OptimismSepolia https://community.optimism.io/docs/useful-tools/networks/#parameters-for-node-operators-2
OptimismSepolia blockchain.EVMNetwork = blockchain.EVMNetwork{
Name: "Optimism Sepolia",
SupportsEIP1559: true,
ClientImplementation: blockchain.OptimismClientImplementation,
ChainID: 420,
Simulated: false,
ChainlinkTransactionLimit: 5000,
Timeout: blockchain.JSONStrDuration{Duration: 3 * time.Minute},
MinimumConfirmations: 0,
GasEstimationBuffer: 0,
FinalityTag: true,
DefaultGasLimit: 6000000,
}

RSKMainnet blockchain.EVMNetwork = blockchain.EVMNetwork{
Name: "RSK Mainnet",
SupportsEIP1559: false,
Expand Down Expand Up @@ -419,6 +434,21 @@ var (
DefaultGasLimit: 6000000,
}

// BaseSepolia https://base.mirror.xyz/kkz1-KFdUwl0n23PdyBRtnFewvO48_m-fZNzPMJehM4
BaseSepolia blockchain.EVMNetwork = blockchain.EVMNetwork{
Name: "Base Sepolia",
SupportsEIP1559: true,
ClientImplementation: blockchain.OptimismClientImplementation,
ChainID: 84531,
Simulated: false,
ChainlinkTransactionLimit: 5000,
Timeout: blockchain.JSONStrDuration{Duration: 3 * time.Minute},
MinimumConfirmations: 0,
GasEstimationBuffer: 0,
FinalityTag: true,
DefaultGasLimit: 6000000,
}

CeloAlfajores = blockchain.EVMNetwork{
Name: "Celo Alfajores",
SupportsEIP1559: false,
Expand Down Expand Up @@ -654,7 +684,9 @@ var (
"ARBITRUM_SEPOLIA": ArbitrumSepolia,
"OPTIMISM_MAINNET": OptimismMainnet,
"OPTIMISM_GOERLI": OptimismGoerli,
"OPTIMISM_SEPOLIA": OptimismSepolia,
"BASE_GOERLI": BaseGoerli,
"BASE_SEPOLIA": BaseSepolia,
"CELO_ALFAJORES": CeloAlfajores,
"CELO_MAINNET": CeloMainnet,
"RSK": RSKTestnet,
Expand Down

0 comments on commit 368aa75

Please sign in to comment.