Skip to content

Commit

Permalink
feat: add Shape Sepolia chain (#2571)
Browse files Browse the repository at this point in the history
* Add Shape Sepolia

* add nl

* rm import comment

* export shapeSepolia, add patch changeset with description
  • Loading branch information
j6i authored Jul 31, 2024
1 parent 4546419 commit 39c0ce0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
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

0 comments on commit 39c0ce0

Please sign in to comment.