Skip to content

Commit

Permalink
feat: add elysiumTestnet chain (#2774)
Browse files Browse the repository at this point in the history
* Added elysiumTestnet chain

* Update elysiumTestnet.ts

* Create many-bananas-bathe.md

---------

Co-authored-by: jxom <[email protected]>
  • Loading branch information
aqeelVaival and jxom authored Sep 25, 2024
1 parent 44facee commit 000a2dc
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-bananas-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added `elysiumTestnet` chain.
26 changes: 26 additions & 0 deletions src/chains/definitions/elysiumTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { chainConfig } from '../../op-stack/chainConfig.js'
import { defineChain } from '../../utils/chain/defineChain.js'


export const elysiumTestnet = /*#__PURE__*/ defineChain({
...chainConfig,
id: 1338,
name: 'Elysium Testnet',
nativeCurrency: {
decimals: 18,
name: 'LAVA',
symbol: 'LAVA',
},
rpcUrls: {
default: {
http: ['https://elysium-test-rpc.vulcanforged.com'],
},
},
blockExplorers: {
default: {
name: 'Elysium testnet explorer',
url: 'https://elysium-explorer.vulcanforged.com'
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export { edgeless } from './definitions/edgeless.js'
export { edgelessTestnet } from './definitions/edgelessTestnet.js'
export { edgeware } from './definitions/edgeware.js'
export { edgewareTestnet } from './definitions/edgewareTestnet.js'
export { elysiumTestnet} from './definitions/elysiumTestnet.js';
export { eon } from './definitions/eon.js'
export { eos } from './definitions/eos.js'
export { eosTestnet } from './definitions/eosTestnet.js'
Expand Down

0 comments on commit 000a2dc

Please sign in to comment.