Skip to content

Commit

Permalink
feat: add isTestnet to ArbitrumNetwork (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
brtkx authored Aug 2, 2024
1 parent 480ad71 commit ae1a33d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib/dataEntities/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ export interface ArbitrumNetwork {
* In case of a chain that uses an ERC-20 token from the parent chain as its native/gas token, this is the address of said token on the parent chain
*/
nativeToken?: string
/**
* Whether or not it is a testnet chain.
*/
isTestnet: boolean
/**
* Whether or not the chain was registered by the user.
*/
Expand Down Expand Up @@ -197,6 +201,7 @@ const networks: {
},
confirmPeriodBlocks: 45818,
isCustom: false,
isTestnet: false,
},
42170: {
chainId: 42170,
Expand All @@ -209,6 +214,7 @@ const networks: {
sequencerInbox: '0x211E1c4c7f1bF5351Ac850Ed10FD68CFfCF6c21b',
},
isCustom: false,
isTestnet: false,
name: 'Arbitrum Nova',
parentChainId: 1,
tokenBridge: {
Expand Down Expand Up @@ -243,6 +249,7 @@ const networks: {
sequencerInbox: '0x6c97864CE4bEf387dE0b3310A44230f7E3F1be0D',
},
isCustom: false,
isTestnet: true,
name: 'Arbitrum Rollup Sepolia Testnet',
parentChainId: 11155111,
tokenBridge: {
Expand Down

0 comments on commit ae1a33d

Please sign in to comment.