Skip to content

Commit

Permalink
feat: add tomb mainnet (#2931)
Browse files Browse the repository at this point in the history
Co-authored-by: parchedpanda <qi-0826@users.noreply.github.com>
  • Loading branch information
qi-0826 and qi-0826 authored Oct 28, 2024
1 parent 8a2a2ac commit f1ee515
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-windows-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const tomb = /*#__PURE__*/ defineChain({
id: 6969,
name: 'Tomb Mainnet',
nativeCurrency: { name: 'TOMB', symbol: 'TOMB', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.tombchain.com'],
},
},
blockExplorers: {
default: {
name: 'Tomb Explorer',
url: 'https://tombscout.com',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ export { thaiChain } from './definitions/thaiChain.js'
export { thunderCore } from './definitions/thunderCore.js'
export { thunderTestnet } from './definitions/thunderTestnet.js'
export { tiktrixTestnet } from './definitions/tiktrixTestnet.js'
export { tomb } from './definitions/tomb.js'
export { tron } from './definitions/tron.js'
export { ultron } from './definitions/ultron.js'
export { ultronTestnet } from './definitions/ultronTestnet.js'
Expand Down

0 comments on commit f1ee515

Please sign in to comment.