diff --git a/.changeset/young-tips-mix.md b/.changeset/young-tips-mix.md new file mode 100644 index 0000000000..c3b51c664c --- /dev/null +++ b/.changeset/young-tips-mix.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added SwissDLT Mainnet. diff --git a/src/chains/definitions/swissdlt.ts b/src/chains/definitions/swissdlt.ts new file mode 100644 index 0000000000..e63fd9d5c2 --- /dev/null +++ b/src/chains/definitions/swissdlt.ts @@ -0,0 +1,23 @@ +import { defineChain } from '../../utils/chain/defineChain.js' + +export const swissdlt = /*#__PURE__*/ defineChain({ + id: 94, + name: 'SwissDLT Mainnet', + nativeCurrency: { + decimals: 18, + name: 'BCTS', + symbol: 'BCTS', + }, + rpcUrls: { + default: { + http: ['https://rpc.swissdlt.ch'], + }, + }, + blockExplorers: { + default: { + name: 'SwissDLT Explorer', + url: 'https://explorer.swissdlt.ch', + }, + }, + testnet: false, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index af1e1663f3..9bd45718e7 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -389,6 +389,7 @@ export { superposition } from './definitions/superposition.js' export { swan } from './definitions/swan.js' export { swanProximaTestnet } from './definitions/swanProximaTestnet.js' export { swanSaturnTestnet } from './definitions/swanSaturnTestnet.js' +export { swissdlt } from './definitions/swissdlt.js' export { syscoin } from './definitions/syscoin.js' export { syscoinTestnet } from './definitions/syscoinTestnet.js' export { taiko } from './definitions/taiko.js'