Skip to content

Commit

Permalink
feat: new mainnet networks metadata (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
wainola authored Oct 18, 2024
1 parent ee21e26 commit 9f4a71f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/utils/domainMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,5 +247,27 @@ export const DomainMetadataConfig: EnvironmentMetadataConfigType = {
blockExplorerUrl: "https://explorer.b3.fun/",
renderName: "B3",
},
9: {
icon: "htps://scan.buildwithsygma.com/assets/icons/arbitrum.svg",
name: "arbitrum",
caipId: "eip155:42161",
nativeTokenSymbol: "eth",
nativeTokenDecimals: 18,
nativeTokenFullName: "ether",
type: "evm",
blockExplorerUrl: "https://arbiscan.io/",
renderName: "Arbitrum",
},
10: {
icon: "https://scan.buildwithsygma.com/assets/icons/optimism.svg",
name: "optimism",
caipId: "eip155:10",
nativeTokenSymbol: "eth",
nativeTokenFullName: "ether",
nativeTokenDecimals: 18,
type: "evm",
blockExplorerUrl: "https://optimistic.etherscan.io/",
renderName: "Optimism",
},
},
}
16 changes: 16 additions & 0 deletions src/utils/resourcesMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,5 +319,21 @@ export const ResourcesMetadataConfig: EnvironmentResourcesMetadataConfig = {
resourceId: "0x0000000000000000000000000000000000000000000000000000000000000002",
},
],
9: [
{
caip19: "eip155:42161/erc20:0x0000000000000000000000000000000000000000",
symbol: "ETH",
decimals: 18,
resourceId: "0x0000000000000000000000000000000000000000000000000000000000000002",
},
],
10: [
{
caip19: "eip155:10/erc20:0x0000000000000000000000000000000000000000",
symbol: "ETH",
decimals: 18,
resourceId: "0x0000000000000000000000000000000000000000000000000000000000000002",
},
],
},
}

0 comments on commit 9f4a71f

Please sign in to comment.