Skip to content

Commit

Permalink
Add THAT Mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
qi-0826 committed Oct 26, 2024
1 parent 8a2a2ac commit 837448d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-clocks-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const that = /*#__PURE__*/ defineChain({
id: 8428,
name: 'THAT Mainnet',
nativeCurrency: { name: 'THAT', symbol: 'THAT', decimals: 18 },
rpcUrls: {
default: {
http: ['https://api.thatchain.io/mainnet'],
},
},
blockExplorers: {
default: {
name: 'Blockscout',
url: 'https://that.blockscout.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 @@ -367,6 +367,7 @@ export { telos } from './definitions/telos.js'
export { telosTestnet } from './definitions/telosTestnet.js'
export { tenet } from './definitions/tenet.js'
export { thaiChain } from './definitions/thaiChain.js'
export { that } from './definitions/that.js'
export { thunderCore } from './definitions/thunderCore.js'
export { thunderTestnet } from './definitions/thunderTestnet.js'
export { tiktrixTestnet } from './definitions/tiktrixTestnet.js'
Expand Down

0 comments on commit 837448d

Please sign in to comment.