Skip to content

Commit 1a85c7a

Browse files
authored
feat: add Plasma Devnet (#3935)
feat add Plasma Devnet Co-authored-by: Crypto Shuting <[email protected]>
1 parent 7e83e52 commit 1a85c7a

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

.changeset/blue-steaks-sin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"viem": patch
3+
---
4+
5+
Added Plasma Devnet.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { defineChain } from '../../utils/chain/defineChain.js'
2+
3+
export const plasmaDevnet = /*#__PURE__*/ defineChain({
4+
id: 9747,
5+
name: 'Plasma Devnet',
6+
nativeCurrency: {
7+
name: 'Devnet Plasma',
8+
symbol: 'XPL',
9+
decimals: 18,
10+
},
11+
rpcUrls: {
12+
default: {
13+
http: ['https://devnet-rpc.plasma.to'],
14+
},
15+
},
16+
testnet: true,
17+
})

src/chains/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ export { pgnTestnet } from './definitions/pgnTestnet.js'
414414
export { phoenix } from './definitions/phoenix.js'
415415
export { planq } from './definitions/planq.js'
416416
export { plasma } from './definitions/plasma.js'
417+
export { plasmaDevnet } from './definitions/plasmaDevnet.js'
417418
export { plasmaTestnet } from './definitions/plasmaTestnet.js'
418419
export { playfiAlbireo } from './definitions/playfiAlbireo.js'
419420
export { plinga } from './definitions/plinga.js'

0 commit comments

Comments
 (0)