Skip to content

Commit

Permalink
add base goerli network
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubhaankar-Sharma committed Jun 8, 2023
1 parent 229fb4a commit 572dec9
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion packages/network/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ export enum ChainId {

// AURORA
AURORA = 1313161554,
AURORA_TESTNET = 1313161556
AURORA_TESTNET = 1313161556,

// BASE
BASE_GOERLI = 84531
}

export interface NetworkConfig {
Expand Down Expand Up @@ -297,6 +300,15 @@ export const networks: Record<ChainId, NetworkConfig> = {
name: 'Aurora Explorer (Testnet)',
rootUrl: 'https://testnet.aurorascan.dev/'
}
},
[ChainId.BASE_GOERLI]: {
chainId: ChainId.BASE_GOERLI,
name: 'base-goerli',
title: 'Base Goerli',
blockExplorer: {
name: 'Base Goerli Explorer',
rootUrl: 'https://goerli.basescan.org/'
}
}
}

Expand Down Expand Up @@ -393,5 +405,11 @@ export const testnetNetworks = validateAndSortNetworks([
rpcUrl: nodesURL('arbitrum-goerli'),
relayer: { url: relayerURL('arbitrum-goerli') },
indexerUrl: indexerURL('arbitrum-goerli')
},
{
...networks[ChainId.BASE_GOERLI],
rpcUrl: nodesURL('base-goerli'),
relayer: { url: relayerURL('base-goerli') },
indexerUrl: indexerURL('base-goerli')
}
])

0 comments on commit 572dec9

Please sign in to comment.