From 1636834c6816884b21fc1dbba3f1b58724fbf838 Mon Sep 17 00:00:00 2001 From: mace Date: Fri, 20 Sep 2024 09:19:29 +0200 Subject: [PATCH] fix: add missing metadata (#221) * add missing metadata * fix url --- src/utils/domainMetadata.ts | 11 +++++++++++ src/utils/resourcesMetadata.ts | 20 ++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/src/utils/domainMetadata.ts b/src/utils/domainMetadata.ts index 58f2e9b7..8757e668 100644 --- a/src/utils/domainMetadata.ts +++ b/src/utils/domainMetadata.ts @@ -236,5 +236,16 @@ export const DomainMetadataConfig: EnvironmentMetadataConfigType = { blockExplorerUrl: "https://polygonscan.com", renderName: "Polygon", }, + 8: { + icon: "https://scan.buildwithsygma.com/assets/icons/b3-sepolia.svg", + name: "b3", + caipId: "eip155:8333", + nativeTokenSymbol: "eth", + nativeTokenDecimals: 18, + nativeTokenFullName: "ether", + type: "evm", + blockExplorerUrl: "https://explorer.b3.fun/", + renderName: "B3", + }, }, } diff --git a/src/utils/resourcesMetadata.ts b/src/utils/resourcesMetadata.ts index 4f0c3664..728a76f3 100644 --- a/src/utils/resourcesMetadata.ts +++ b/src/utils/resourcesMetadata.ts @@ -250,6 +250,12 @@ export const ResourcesMetadataConfig: EnvironmentResourcesMetadataConfig = { decimals: 18, resourceId: "0x0000000000000000000000000000000000000000000000000000000000000000", }, + { + caip19: "eip155:8333/erc20:0x0000000000000000000000000000000000000000", + symbol: "ETH", + decimals: 18, + resourceId: "0x0000000000000000000000000000000000000000000000000000000000000002", + }, ], 2: [ { @@ -282,6 +288,12 @@ export const ResourcesMetadataConfig: EnvironmentResourcesMetadataConfig = { decimals: 18, resourceId: "0x0000000000000000000000000000000000000000000000000000000000000000", }, + { + caip19: "eip155:8333/erc20:0x0000000000000000000000000000000000000000", + symbol: "eth", + decimals: 18, + resourceId: "0x0000000000000000000000000000000000000000000000000000000000000002", + }, ], 6: [ { @@ -299,5 +311,13 @@ export const ResourcesMetadataConfig: EnvironmentResourcesMetadataConfig = { resourceId: "0x0000000000000000000000000000000000000000000000000000000000000000", }, ], + 8: [ + { + caip19: "eip155:8333/erc20:0x0000000000000000000000000000000000000000", + symbol: "ETH", + decimals: 18, + resourceId: "0x0000000000000000000000000000000000000000000000000000000000000002", + }, + ], }, }