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

Commit

Permalink
feat: add Scroll Sepolia testnet (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
dghelm authored Aug 8, 2023
1 parent f62be25 commit 7797238
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
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

0 comments on commit 7797238

Please sign in to comment.