Skip to content

Commit

Permalink
Showing 3 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/three-llamas-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const dymension = /*#__PURE__*/ defineChain({
id: 1100,
name: 'Dymension',
nativeCurrency: {
name: 'DYM',
symbol: 'DYM',
decimals: 18,
},
rpcUrls: {
default: {
http: ['https://dymension-evm-rpc.publicnode.com'],
webSocket: ['wss://dymension-evm-rpc.publicnode.com']
},
},
blockExplorers: {
default: {
name: 'Dym FYI',
url: 'https://dym.fyi',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
@@ -100,6 +100,7 @@ export { dosChain } from './definitions/dosChain.js'
export { dosChainTestnet } from './definitions/dosChainTestnet.js'
export { dreyerxMainnet } from './definitions/dreyerxMainnet.js'
export { dreyerxTestnet } from './definitions/dreyerxTestnet.js'
export { dymension } from './definitions/dymension.js'
export { edgeless } from './definitions/edgeless.js'
export { edgelessTestnet } from './definitions/edgelessTestnet.js'
export { edgeware } from './definitions/edgeware.js'

0 comments on commit 93af33e

Please sign in to comment.