Skip to content

Commit

Permalink
Add Shiden chain
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangnong committed Oct 14, 2024
1 parent 64a9f5d commit b6ea9e6
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/khaki-kangaroos-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const shiden = /*#__PURE__*/ defineChain({
id: 336,
name: 'Shiden',
nativeCurrency: {
decimals: 18,
name: 'SDN',
symbol: 'SDN',
},
rpcUrls: {
default: {
http: ['https://shiden.public.blastapi.io'],
webSocket: ['wss://shiden-rpc.dwellir.com']
},
},
blockExplorers: {
default: {
name: 'Shiden Scan',
url: 'https://shiden.subscan.io',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ export { spicy } from './definitions/spicy.js'
export { shardeumSphinx } from './definitions/shardeumSphinx.js'
export { shibarium } from './definitions/shibarium.js'
export { shibariumTestnet } from './definitions/shibariumTestnet.js'
export { shiden } from './definitions/shiden.js'
export { storyTestnet } from './definitions/storyTestnet.js'
export { silicon } from './definitions/silicon.js'
export { siliconSepolia } from './definitions/siliconSepolia.js'
Expand Down

0 comments on commit b6ea9e6

Please sign in to comment.