Skip to content

Commit

Permalink
feat: add base sepolia and opt sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-miao committed Nov 14, 2023
1 parent c30760b commit f6f6176
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/src/utils/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ import {
arbitrumSepolia,
base,
baseGoerli,
baseSepolia,
goerli,
mainnet,
optimism,
optimismGoerli,
optimismSepolia,
polygon,
polygonMumbai,
sepolia,
Expand All @@ -30,11 +32,13 @@ export const getDefaultEntryPointAddress = (chain: Chain): Address => {
case polygonMumbai.id:
case optimism.id:
case optimismGoerli.id:
case optimismSepolia.id:
case arbitrum.id:
case arbitrumGoerli.id:
case arbitrumSepolia.id:
case base.id:
case baseGoerli.id:
case baseSepolia.id:
return "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789";
}
throw new Error(
Expand All @@ -56,9 +60,11 @@ export const getDefaultSimpleAccountFactoryAddress = (
case mainnet.id:
case polygon.id:
case optimism.id:
case optimismSepolia.id:
case arbitrum.id:
case base.id:
case baseGoerli.id:
case baseSepolia.id:
case arbitrumSepolia.id:
return "0x15Ba39375ee2Ab563E8873C8390be6f2E2F50232";
case sepolia.id:
Expand Down

0 comments on commit f6f6176

Please sign in to comment.