Sitelet https://github.com/wevm/references/commit/7797238b767dee6018a2bfe92ca4e2d334a46f22
Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 7797238

Browse files
authored
feat: add Scroll Sepolia testnet (#467)
1 parent f62be25 commit 7797238

3 files changed

Lines changed: 31 additions & 0 deletions

File tree

‎.changeset/tame-cobras-worry.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@wagmi/chains": patch
3+
---
4+
5+
Added Scroll Sepolia testnet

‎packages/chains/src/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export { polygonZkEvmTestnet } from './polygonZkEvmTestnet'
8282
export { polygonZkEvm } from './polygonZkEvm'
8383
export { pulsechain } from './pulsechain'
8484
export { pulsechainV4 } from './pulsechainV4'
85+
export { scrollSepolia } from './scrollSepolia'
8586
export { scrollTestnet } from './scrollTestnet'
8687
export { sepolia } from './sepolia'
8788
export { skaleBlockBrawlers } from './skale/brawl'
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { Chain } from './types'
2+
3+
export const scrollSepolia = {
4+
id: 534_351,
5+
name: 'Scroll Sepolia',
6+
network: 'scroll-sepolia',
7+
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
8+
rpcUrls: {
9+
default: {
10+
http: ['https://sepolia-rpc.scroll.io'],
11+
webSocket: ['wss://sepolia-rpc.scroll.io/ws'],
12+
},
13+
public: {
14+
http: ['https://sepolia-rpc.scroll.io'],
15+
webSocket: ['wss://sepolia-rpc.scroll.io/ws'],
16+
},
17+
},
18+
blockExplorers: {
19+
default: {
20+
name: 'Blockscout',
21+
url: 'https://sepolia-blockscout.scroll.io',
22+
},
23+
},
24+
testnet: true,
25+
} as const satisfies Chain

0 commit comments

Comments
 (0)