Skip to content

Commit

Permalink
feat: add Arthera Mainnet (#3160)
Browse files Browse the repository at this point in the history
  • Loading branch information
elpiarthera authored Dec 26, 2024
1 parent 34e0d0d commit ffe0e95
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/honest-dragons-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const arthera = /*#__PURE__*/ defineChain({
id: 10242,
name: 'Arthera',
nativeCurrency: { name: 'Arthera', symbol: 'AA', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.arthera.net'],
},
},
blockExplorers: {
default: {
name: 'Arthera EVM Explorer',
url: 'https://explorer.arthera.net',
apiUrl: 'https://explorer.arthera.net/api',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 4502791,
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export { arbitrumSepolia } from './definitions/arbitrumSepolia.js'
export { areonNetwork } from './definitions/areonNetwork.js'
export { areonNetworkTestnet } from './definitions/areonNetworkTestnet.js'
export { artelaTestnet } from './definitions/artelaTestnet.js'
export { arthera } from './definitions/arthera.js'
export { assetChain } from './definitions/assetChain.js'
export { assetChainTestnet } from './definitions/assetChainTestnet.js'
export { astar } from './definitions/astar.js'
Expand Down

0 comments on commit ffe0e95

Please sign in to comment.