Skip to content

Commit

Permalink
feat: add SwissDLT Mainnet (#3053)
Browse files Browse the repository at this point in the history
  • Loading branch information
qi-0826 authored Nov 25, 2024
1 parent 8d101fa commit e135e9f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/young-tips-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added SwissDLT Mainnet.
23 changes: 23 additions & 0 deletions src/chains/definitions/swissdlt.ts
Original file line number Diff line number Diff line change
@@ -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,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e135e9f

Please sign in to comment.