Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Shape Sepolia chain #2571

Merged
merged 4 commits into from
Jul 31, 2024
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/loud-shoes-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added Shape Sepolia chain.
19 changes: 19 additions & 0 deletions src/chains/definitions/shapeSepolia.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const shapeSepolia = /*#__PURE__*/ defineChain({
id: 11_011,
name: 'Shape Sepolia Testnet',
nativeCurrency: { name: 'Sepolia Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://sepolia.shape.network'],
},
},
blockExplorers: {
default: {
name: 'blockscout',
url: 'https://shape-sepolia-explorer.alchemy.com',
apiUrl: 'https://shape-sepolia-explorer.alchemy.com/api/v2',
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ export { sei } from './definitions/sei.js'
export { seiDevnet } from './definitions/seiDevnet.js'
export { seiTestnet } from './definitions/seiTestnet.js'
export { sepolia } from './definitions/sepolia.js'
export { shapeSepolia } from './definitions/shapeSepolia.js'
export { shimmer } from './definitions/shimmer.js'
export { shimmerTestnet } from './definitions/shimmerTestnet.js'
export { skaleBlockBrawlers } from './definitions/skale/brawl.js'
Expand Down