Skip to content

Commit

Permalink
chore: up flare networks naming (#2712)
Browse files Browse the repository at this point in the history
* Update Flare networks naming

* Update native currency names

* Create smooth-ladybugs-draw.md

---------

Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
RareData and jxom committed Sep 11, 2024
1 parent 4e9ea72 commit aa57cf1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/smooth-ladybugs-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Updated naming for Flare chains.
2 changes: 1 addition & 1 deletion src/chains/definitions/flare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const flare = /*#__PURE__*/ defineChain({
name: 'Flare Mainnet',
nativeCurrency: {
decimals: 18,
name: 'flare',
name: 'Flare',
symbol: 'FLR',
},
rpcUrls: {
Expand Down
4 changes: 2 additions & 2 deletions src/chains/definitions/flareTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { defineChain } from '../../utils/chain/defineChain.js'

export const flareTestnet = /*#__PURE__*/ defineChain({
id: 114,
name: 'Coston2',
name: 'Flare Testnet Coston2',
nativeCurrency: {
decimals: 18,
name: 'coston2flare',
name: 'Coston2 Flare',
symbol: 'C2FLR',
},
rpcUrls: {
Expand Down
4 changes: 2 additions & 2 deletions src/chains/definitions/songbird.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { defineChain } from '../../utils/chain/defineChain.js'

export const songbird = /*#__PURE__*/ defineChain({
id: 19,
name: 'Songbird Mainnet',
name: 'Songbird Canary-Network',
nativeCurrency: {
decimals: 18,
name: 'songbird',
name: 'Songbird',
symbol: 'SGB',
},
rpcUrls: {
Expand Down
4 changes: 2 additions & 2 deletions src/chains/definitions/songbirdTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { defineChain } from '../../utils/chain/defineChain.js'

export const songbirdTestnet = /*#__PURE__*/ defineChain({
id: 16,
name: 'Coston',
name: 'Songbird Testnet Coston',
nativeCurrency: {
decimals: 18,
name: 'costonflare',
name: 'Coston Flare',
symbol: 'CFLR',
},
rpcUrls: {
Expand Down

0 comments on commit aa57cf1

Please sign in to comment.