Skip to content

Commit

Permalink
feat: add inEvm chain (#2237)
Browse files Browse the repository at this point in the history
* feat: add inEvm chain

Signed-off-by: Mostafa Abouzeid <mostafatalaat770@gmail.com>

* fix: use correct name format

Signed-off-by: Mostafa Abouzeid <mostafatalaat770@gmail.com>

* chore: tweaks

---------

Signed-off-by: Mostafa Abouzeid <mostafatalaat770@gmail.com>
Co-authored-by: Mostafa Abouzeid <mostafatalaat770@gmail.com>
  • Loading branch information
tmm and Mostafatalaat770 committed May 9, 2024
1 parent 477ca53 commit eecb230
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-ligers-bathe.md
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added inEVM chain
27 changes: 27 additions & 0 deletions src/chains/definitions/inEVM.ts
@@ -0,0 +1,27 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const inEVM = /*#__PURE__*/ defineChain({
id: 2525,
name: 'inEVM Mainnet',
nativeCurrency: {
decimals: 18,
name: 'Injective',
symbol: 'INJ',
},
rpcUrls: {
default: { http: ['https://mainnet.rpc.inevm.com/http'] },
},
blockExplorers: {
default: {
name: 'inEVM Explorer',
url: 'https://inevm.calderaexplorer.xyz',
apiUrl: 'https://inevm.calderaexplorer.xyz/api/v2',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 118606,
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Expand Up @@ -110,6 +110,7 @@ export { hederaPreviewnet } from './definitions/hederaPreviewnet.js'
export { holesky } from './definitions/holesky.js'
export { immutableZkEvm } from './definitions/immutableZkEvm.js'
export { immutableZkEvmTestnet } from './definitions/immutableZkEvmTestnet.js'
export { inEVM } from './definitions/inEVM.js'
export { kakarotSepolia } from './definitions/kakarotSepolia.js'
export { kava } from './definitions/kava.js'
export { kavaTestnet } from './definitions/kavaTestnet.js'
Expand Down

0 comments on commit eecb230

Please sign in to comment.