Skip to content

Commit

Permalink
feat: add DisChain (#3038)
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelle817 authored Nov 21, 2024
1 parent a22c5b1 commit 3491432
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-teachers-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const disChain = /*#__PURE__*/ defineChain({
id: 513100,
name: 'DisChain',
nativeCurrency: {
decimals: 18,
name: 'DIS',
symbol: 'DIS',
},
rpcUrls: {
default: {
http: ['https://rpc.dischain.xyz'],
},
},
blockExplorers: {
default: {
name: 'DisChain Explorer',
url: 'https://www.oklink.com/dis',
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export { defichainEvmTestnet } from './definitions/defichainEvmTestnet.js'
export { degen } from './definitions/degen.js'
export { dfk } from './definitions/dfk.js'
export { diode } from './definitions/diode.js'
export { disChain } from './definitions/disChain.js'
export { dodochainTestnet } from './definitions/dodochainTestnet.js'
export { dogechain } from './definitions/dogechain.js'
export { dosChain } from './definitions/dosChain.js'
Expand Down

0 comments on commit 3491432

Please sign in to comment.