Skip to content

Commit

Permalink
chore: add sepolia support for injected connectors
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecco committed Mar 6, 2024
1 parent e27b6e0 commit 3eed849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/connectors/injected/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ export class InjectedConnector extends Connector {
chainId?: StarknetChainId,
accounts?: string[],
): void {
const { SN_GOERLI, SN_MAIN } = constants.StarknetChainId
const { SN_GOERLI, SN_MAIN, SN_SEPOLIA } = constants.StarknetChainId
const account = accounts?.[0]
switch (chainId) {
// TODO: add sepolia
case SN_MAIN:
case SN_GOERLI:
case SN_SEPOLIA:
this.emit("change", { chainId, account })
break
default:
Expand Down

0 comments on commit 3eed849

Please sign in to comment.