Skip to content

Commit bb9398a

Browse files
feat: add Gunz Mainnet (#3581)
1 parent 0098740 commit bb9398a

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

Diff for: .changeset/metal-cats-protect.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Added Gunz Mainnet.

Diff for: src/chains/definitions/gunz.ts

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+
export const gunz = /*#__PURE__*/ defineChain({
4+
id: 43_419,
5+
name: 'Gunz Mainnet',
6+
nativeCurrency: { name: 'GUN', symbol: 'GUN', decimals: 18 },
7+
rpcUrls: {
8+
default: {
9+
http: ['https://rpc.gunzchain.io/ext/bc/2M47TxWHGnhNtq6pM5zPXdATBtuqubxn5EPFgFmEawCQr9WFML/rpc'],
10+
},
11+
},
12+
blockExplorers: {
13+
default: {
14+
name: 'Gunz Explorer',
15+
url: 'https://gunzscan.io/',
16+
},
17+
},
18+
contracts: {
19+
multicall3: {
20+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
21+
blockCreated: 70502,
22+
},
23+
},
24+
})

Diff for: src/chains/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ export { goChain } from './definitions/goChain.js'
211211
export { godwoken } from './definitions/godwoken.js'
212212
export { goerli } from './definitions/goerli.js'
213213
export { gravity } from './definitions/gravity.js'
214+
export { gunz } from './definitions/gunz.js'
214215
export { guruNetwork } from './definitions/guruNetwork.js'
215216
export { guruTestnet } from './definitions/guruTestnet.js'
216217
export { ham } from './definitions/ham.js'

0 commit comments

Comments
 (0)