Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Add new chains for Sourcify for May 2023 #6027

Merged
merged 1 commit into from
May 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/source-fetcher/lib/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export const networkNamesById: { [id: number]: string } = {
50: "xinfin", //not presently supported by either fetcher, but...
51: "apothem-xinfin",
7700: "canto",
7701: "testnet-canto",
592: "astar",
336: "shiden-astar",
8217: "cypress-klaytn",
Expand All @@ -99,7 +100,12 @@ export const networkNamesById: { [id: number]: string } = {
2047: "testnet-stratos",
8453: "base", //not presently supported by either fetcher, but...
84531: "goerli-base",
641230: "bear"
641230: "bear",
888: "wanchain",
999: "testnet-wanchain",
7668: "root",
7672: "porcini-root",
295: "hedera"
//I'm not including crystaleum as it has network ID different from chain ID
//not including kekchain for the same reason
};
Expand Down
8 changes: 7 additions & 1 deletion packages/source-fetcher/lib/sourcify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const SourcifyFetcher: FetcherConstructor = class SourcifyFetcher
//sourcify does *not* support xinfin mainnet...?
"apothem-xinfin",
"canto",
"testnet-canto",
"astar",
"shiden-astar",
"cypress-klaytn",
Expand All @@ -124,7 +125,12 @@ const SourcifyFetcher: FetcherConstructor = class SourcifyFetcher
"testnet-stratos",
//sourcify does *not* support base mainnet?
"goerli-base",
"bear"
"bear",
"wanchain",
"testnet-wanchain",
"root",
"porcini-root",
"hedera"
//I'm excluding crystaleum as it has network ID different from chain ID
//excluding kekchain for the same reason
]);
Expand Down