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

Add Arbitrum Nova to chain list #216

Merged
merged 3 commits into from
Apr 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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