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

feat: add Scroll Sepolia testnet #467

Merged
merged 1 commit into from
Aug 8, 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/tame-cobras-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": patch
---

Added Scroll Sepolia testnet
1 change: 1 addition & 0 deletions packages/chains/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export { polygonZkEvmTestnet } from './polygonZkEvmTestnet'
export { polygonZkEvm } from './polygonZkEvm'
export { pulsechain } from './pulsechain'
export { pulsechainV4 } from './pulsechainV4'
export { scrollSepolia } from './scrollSepolia'
export { scrollTestnet } from './scrollTestnet'
export { sepolia } from './sepolia'
export { skaleBlockBrawlers } from './skale/brawl'
Expand Down
25 changes: 25 additions & 0 deletions packages/chains/src/scrollSepolia.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { Chain } from './types'

export const scrollSepolia = {
id: 534_351,
name: 'Scroll Sepolia',
network: 'scroll-sepolia',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://sepolia-rpc.scroll.io'],
webSocket: ['wss://sepolia-rpc.scroll.io/ws'],
},
public: {
http: ['https://sepolia-rpc.scroll.io'],
webSocket: ['wss://sepolia-rpc.scroll.io/ws'],
},
},
blockExplorers: {
default: {
name: 'Blockscout',
url: 'https://sepolia-blockscout.scroll.io',
},
},
testnet: true,
} as const satisfies Chain