Skip to content

Commit

Permalink
feat: add planq mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangnong committed Nov 21, 2024
1 parent ce1b8af commit 9852b55
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/shy-lobsters-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const planq = /*#__PURE__*/ defineChain({
id: 7070,
name: 'Planq Mainnet',
nativeCurrency: {
decimals: 18,
name: 'PLQ',
symbol: 'PLQ',
},
rpcUrls: {
default: { http: ['https://planq-rpc.nodies.app'] },
},
blockExplorers: {
default: {
name: 'Planq Explorer',
url: 'https://evm.planq.network',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ export { palmTestnet } from './definitions/palmTestnet.js'
export { pgn } from './definitions/pgn.js'
export { pgnTestnet } from './definitions/pgnTestnet.js'
export { phoenix } from './definitions/phoenix.js'
export { planq } from './definitions/planq.js'
export { playfiAlbireo } from './definitions/playfiAlbireo.js'
export { plinga } from './definitions/plinga.js'
export { plumeTestnet } from './definitions/plumeTestnet.js'
Expand Down

0 comments on commit 9852b55

Please sign in to comment.