Skip to content

Commit

Permalink
feat: add WeaveVM Alphanet chain (#2788)
Browse files Browse the repository at this point in the history
* Added WeaveVM Alphanet chain.

* Update weavevmAlphanet.ts

* Update index.ts

---------

Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
maxknivets and jxom authored Sep 28, 2024
1 parent 1a51553 commit 320e2dc
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-guests-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const weaveVMAlphanet = /*#__PURE__*/ defineChain({
id: 9496,
name: 'WeaveVM Alphanet',
nativeCurrency: { name: 'Testnet WeaveVM', symbol: 'tWVM', decimals: 18 },
rpcUrls: {
default: { http: ['https://testnet-rpc.wvm.dev'] },
},
blockExplorers: {
default: {
name: 'WeaveVM Alphanet Explorer',
url: 'https://explorer.wvm.dev',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ export { unreal } from './definitions/unreal.js'
export { vechain } from './definitions/vechain.js'
export { wanchain } from './definitions/wanchain.js'
export { wanchainTestnet } from './definitions/wanchainTestnet.js'
export { weaveVMAlphanet } from './definitions/weavevmAlphanet.js'
export { wemix } from './definitions/wemix.js'
export { wemixTestnet } from './definitions/wemixTestnet.js'
export { worldchain } from './definitions/worldchain.js'
Expand Down

0 comments on commit 320e2dc

Please sign in to comment.