Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Update pulsechain metadata (#374)
Browse files Browse the repository at this point in the history
* Updates pulsechain metadata

* Adds testnet false to pulsechain explicitly

* Adds changeset
  • Loading branch information
3commascapital authored Jun 29, 2023
1 parent 3027d7b commit d642e1d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/chatty-games-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": patch
---

Updated PulseChain Metadata
5 changes: 3 additions & 2 deletions packages/chains/src/pulsechain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import { Chain } from './types'
export const pulsechain = {
id: 369,
network: 'pulsechain',
name: 'Pulsechain',
name: 'PulseChain',
nativeCurrency: { name: 'Pulse', symbol: 'PLS', decimals: 18 },
testnet: false,
rpcUrls: {
default: {
http: ['https://rpc.pulsechain.com'],
Expand All @@ -17,7 +18,7 @@ export const pulsechain = {
},
blockExplorers: {
default: {
name: 'Etherscan',
name: 'PulseScan',
url: 'https://scan.pulsechain.com',
},
},
Expand Down
6 changes: 3 additions & 3 deletions packages/chains/src/pulsechainV4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { Chain } from './types'
export const pulsechainV4 = {
id: 943,
network: 'pulsechainV4',
name: 'Pulsechain V4',
name: 'PulseChain V4',
testnet: true,
nativeCurrency: { name: 'Pulse', symbol: 'PLS', decimals: 18 },
nativeCurrency: { name: 'V4 Pulse', symbol: 'v4PLS', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.v4.testnet.pulsechain.com'],
Expand All @@ -18,7 +18,7 @@ export const pulsechainV4 = {
},
blockExplorers: {
default: {
name: 'Blockscout',
name: 'PulseScan',
url: 'https://scan.v4.testnet.pulsechain.com',
},
},
Expand Down

0 comments on commit d642e1d

Please sign in to comment.