diff --git a/.changeset/khaki-kangaroos-dress.md b/.changeset/khaki-kangaroos-dress.md new file mode 100644 index 0000000000..579f8a8a40 --- /dev/null +++ b/.changeset/khaki-kangaroos-dress.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added Shiden chain. diff --git a/src/chains/definitions/shiden.ts b/src/chains/definitions/shiden.ts new file mode 100644 index 0000000000..cb809a1c64 --- /dev/null +++ b/src/chains/definitions/shiden.ts @@ -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, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index f64111f805..184e5a6918 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -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'