Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Add Arbitrum Nova to chain list (#216)
Browse files Browse the repository at this point in the history
* Adding Arbitrum Nova to chain list

* Updated changeset and README

* Adding export to index
  • Loading branch information
chrisco512 authored Apr 7, 2023
1 parent b06e508 commit a1bd7c6
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-plants-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@wagmi/chains': patch
---

Added Arbitrum Nova to list of supported chains
1 change: 1 addition & 0 deletions packages/chains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const { chains, provider } = configureChains(

- `arbitrum`
- `arbitrumGoerli`
- `arbitrumNova`
- `aurora`
- `auroraTestnet`
- `avalanche`
Expand Down
34 changes: 34 additions & 0 deletions packages/chains/src/arbitrumNova.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import { Chain } from './types'

export const arbitrumNova = {
id: 42_170,
name: 'Arbitrum Nova',
network: 'arbitrum-nova',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
blast: {
http: ['https://arbitrum-nova.public.blastapi.io'],
webSocket: ['wss://arbitrum-nova.public.blastapi.io'],
},
default: {
http: ['https://nova.arbitrum.io/rpc'],
},
public: {
http: ['https://nova.arbitrum.io/rpc'],
},
},
blockExplorers: {
etherscan: { name: 'Arbiscan', url: 'https://nova.arbiscan.io' },
blockScout: {
name: 'BlockScout',
url: 'https://nova-explorer.arbitrum.io/',
},
default: { name: 'Arbiscan', url: 'https://nova.arbiscan.io' },
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 1746963,
},
},
} as const satisfies Chain
1 change: 1 addition & 0 deletions packages/chains/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export type { Chain } from './types'

export { arbitrum } from './arbitrum'
export { arbitrumGoerli } from './arbitrumGoerli'
export { arbitrumNova } from './arbitrumNova'
export { aurora } from './aurora'
export { auroraTestnet } from './auroraTestnet'
export { avalanche } from './avalanche'
Expand Down

0 comments on commit a1bd7c6

Please sign in to comment.