From d642e1de39e04f260a3ac19714687ffe36310562 Mon Sep 17 00:00:00 2001 From: 3commascapital <90629478+3commascapital@users.noreply.github.com> Date: Thu, 29 Jun 2023 16:08:43 -0500 Subject: [PATCH] Update pulsechain metadata (#374) * Updates pulsechain metadata * Adds testnet false to pulsechain explicitly * Adds changeset --- .changeset/chatty-games-roll.md | 5 +++++ packages/chains/src/pulsechain.ts | 5 +++-- packages/chains/src/pulsechainV4.ts | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 .changeset/chatty-games-roll.md diff --git a/.changeset/chatty-games-roll.md b/.changeset/chatty-games-roll.md new file mode 100644 index 00000000..9474fa7e --- /dev/null +++ b/.changeset/chatty-games-roll.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Updated PulseChain Metadata diff --git a/packages/chains/src/pulsechain.ts b/packages/chains/src/pulsechain.ts index 1bbd69f0..29f47d5a 100644 --- a/packages/chains/src/pulsechain.ts +++ b/packages/chains/src/pulsechain.ts @@ -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'], @@ -17,7 +18,7 @@ export const pulsechain = { }, blockExplorers: { default: { - name: 'Etherscan', + name: 'PulseScan', url: 'https://scan.pulsechain.com', }, }, diff --git a/packages/chains/src/pulsechainV4.ts b/packages/chains/src/pulsechainV4.ts index f0d6f73b..a55b2715 100644 --- a/packages/chains/src/pulsechainV4.ts +++ b/packages/chains/src/pulsechainV4.ts @@ -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'], @@ -18,7 +18,7 @@ export const pulsechainV4 = { }, blockExplorers: { default: { - name: 'Blockscout', + name: 'PulseScan', url: 'https://scan.v4.testnet.pulsechain.com', }, },