Skip to content

Commit

Permalink
🍭 Add Optimism Goerli chain (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
b-tarczynski authored Aug 12, 2022
1 parent 3c8448e commit 9d723f1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/mars/src/options/chain/optimism.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,14 @@ export const optimism_kovan: Chain = {
`https://kovan-optimistic.etherscan.io/address/${contractAddress}`,
getEtherscanVerifierApi: () => 'https://api-kovan-optimistic.etherscan.io/api',
}

export const optimism_goerli: Chain = {
chainId: 420,
chainName: 'Optimism Goerli',
getPublicRpc: () => 'https://goerli.optimism.io/',
getInfuraRpc: (infuraApiKey) => `https://optimism-goerli.infura.io/v3/${infuraApiKey}`,
getAlchemyRpc: (alchemyApiKey) => `https://opt-goerli.g.alchemy.com/v2/${alchemyApiKey}`,
getBlockExplorerContractAddress: (contractAddress) =>
`https://blockscout.com/optimism/goerli/address/${contractAddress}`,
getEtherscanVerifierApi: () => 'https://blockscout.com/optimism/goerli/api',
}

0 comments on commit 9d723f1

Please sign in to comment.