Skip to content

Commit

Permalink
feat: add Arthera Testnet (#3228)
Browse files Browse the repository at this point in the history
* feat: add Arthera Testnet

* Update artheraTestnet.ts

---------

Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
  • Loading branch information
hello-jdj and jxom authored Jan 15, 2025
1 parent 6f1e109 commit 0631655
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/itchy-pants-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const artheraTestnet = /*#__PURE__*/ defineChain({
id: 10243,
name: 'Arthera Testnet',
nativeCurrency: { name: 'Arthera', symbol: 'AA', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc-test.arthera.net'],
},
},
blockExplorers: {
default: {
name: 'Arthera EVM Explorer',
url: 'https://explorer-test.arthera.net',
apiUrl: 'https://explorer-test.arthera.net/api',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 22051,
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ 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 { artheraTestnet } from './definitions/artheraTestnet.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 0631655

Please sign in to comment.