diff --git a/.changeset/polite-teachers-sniff.md b/.changeset/polite-teachers-sniff.md new file mode 100644 index 0000000000..59cc40b0e4 --- /dev/null +++ b/.changeset/polite-teachers-sniff.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added DisChain. diff --git a/src/chains/definitions/disChain.ts b/src/chains/definitions/disChain.ts new file mode 100644 index 0000000000..c48327b845 --- /dev/null +++ b/src/chains/definitions/disChain.ts @@ -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', + }, + }, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index c3dc9ca87d..6b64c8bb5d 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -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'