From 04da4cc704995073cc0e901a87263a0ec3e0fa8b Mon Sep 17 00:00:00 2001 From: Ayushi5ire <97879568+Ayushi5ire@users.noreply.github.com> Date: Sat, 23 Nov 2024 19:50:32 +0530 Subject: [PATCH] feat: add 5ireChain mainne; tweak thunder testnet (#3042) Signed-off-by: Ayushi5ire --- src/chains/definitions/5ireChain.ts | 19 +++++++++++++++++++ src/chains/definitions/thunderTestnet.ts | 6 +++--- src/chains/index.ts | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 src/chains/definitions/5ireChain.ts diff --git a/src/chains/definitions/5ireChain.ts b/src/chains/definitions/5ireChain.ts new file mode 100644 index 0000000000..b63a0cf5c4 --- /dev/null +++ b/src/chains/definitions/5ireChain.ts @@ -0,0 +1,19 @@ +import { defineChain } from '../../utils/chain/defineChain.js' + +export const fireChain = /*#__PURE__*/ defineChain({ + id: 995, + name: '5ireChain', + nativeCurrency: { name: '5ire Token', symbol: '5IRE', decimals: 18 }, + rpcUrls: { + default: { + http: ['https://rpc.5ire.network'], + }, + }, + blockExplorers: { + default: { + name: '5ireChain Mainnet Explorer', + url: 'https://5irescan.io/', + }, + }, + testnet: false, +}) diff --git a/src/chains/definitions/thunderTestnet.ts b/src/chains/definitions/thunderTestnet.ts index e4e7c71a3f..557a22b618 100644 --- a/src/chains/definitions/thunderTestnet.ts +++ b/src/chains/definitions/thunderTestnet.ts @@ -6,13 +6,13 @@ export const thunderTestnet = /*#__PURE__*/ defineChain({ nativeCurrency: { name: '5ire Token', symbol: '5IRE', decimals: 18 }, rpcUrls: { default: { - http: ['https://rpc-testnet.5ire.network'], + http: ['https://rpc.testnet.5ire.network'], }, }, blockExplorers: { default: { - name: '5ireChain Explorer', - url: 'https://explorer.5ire.network', + name: '5ireChain Thunder Explorer', + url: 'https://testnet.5irescan.io/', }, }, testnet: true, diff --git a/src/chains/index.ts b/src/chains/index.ts index 94706db9b7..6d519c6a69 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -141,6 +141,7 @@ export { fibo } from './definitions/fibo.js' export { filecoin } from './definitions/filecoin.js' export { filecoinCalibration } from './definitions/filecoinCalibration.js' export { filecoinHyperspace } from './definitions/filecoinHyperspace.js' +export { fireChain } from './definitions/5ireChain.js' export { flare } from './definitions/flare.js' export { flareTestnet } from './definitions/flareTestnet.js' /** @deprecated */