Skip to content

Commit

Permalink
feat: add planq chain (#3048)
Browse files Browse the repository at this point in the history
* feat: add planq mainnet

* Update the rpc urls
  • Loading branch information
Zhangnong authored Nov 24, 2024
1 parent c4e2a0d commit a66b43d
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://evm-rpc.planq.network'] },
},
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 @@ -303,6 +303,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 a66b43d

Please sign in to comment.