Skip to content

Commit

Permalink
devop: merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Aug 15, 2024
2 parents 439970c + cd000fa commit 4c1b41e
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/extension/src/libs/nft-handlers/simplehash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default async (
[NetworkNames.ZkSyncGoerli]: "zksync-era-testnet",
[NetworkNames.Base]: "base",
[NetworkNames.Blast]: "blast",
[NetworkNames.ImmutableZkevm]: "immutable-zkevm",
};
if (!Object.keys(supportedNetworks).includes(network.name))
throw new Error("Simplehash: network not supported");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const NetworkEndpoints: Record<string, string> = {
[NetworkNames.Sanko]: "https://explorer.sanko.xyz/",
[NetworkNames.Degen]: "https://explorer.degen.tips/",
[NetworkNames.Ham]: "https://explorer.ham.fun/",
[NetworkNames.ImmutableZkevm]: "https://explorer.immutable.com/",
};

export { NetworkEndpoints };
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { NetworkNames, CoingeckoPlatform } from "@enkryptcom/types";
import { EvmNetwork, EvmNetworkOptions } from "../types/evm-network";
import wrapActivityHandler from "@/libs/activity-state/wrap-activity-handler";
import { EtherscanActivity } from "../libs/activity-handlers";
import shNFTHandler from "@/libs/nft-handlers/simplehash";

const immutableZkEvmOptions: EvmNetworkOptions = {
name: NetworkNames.ImmutableZkevm,
name_long: "Immutable zkEVM",
homePage: "https://www.immutable.com/products/immutable-zkevm",
blockExplorerTX: "https://explorer.immutable.com/tx/[[txHash]]",
blockExplorerAddr: "https://explorer.immutable.com/address/[[address]]",
chainID: "0x343b",
isTestNetwork: false,
currencyName: "IMX",
currencyNameLong: "Immutable X",
node: "https://rpc.immutable.com",
icon: require("./icons/immutable-zkevm.png"),
coingeckoPlatform: CoingeckoPlatform.ImmutableZkevm,
NFTHandler: shNFTHandler,
activityHandler: wrapActivityHandler(EtherscanActivity),
};

const immutableZkEvm = new EvmNetwork(immutableZkEvmOptions);

export default immutableZkEvm;
2 changes: 2 additions & 0 deletions packages/extension/src/providers/ethereum/networks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import sankoNode from "./dmt";
import degenNode from "./degen";
import hamNode from "./ham";
import zcdNode from "./zcd";
import immutableZkevmNode from "./immutable-zkevm";

export default {
sepolia: sepoliaNode,
Expand Down Expand Up @@ -103,4 +104,5 @@ export default {
degen: degenNode,
ham: hamNode,
zcd: zcdNode,
immutableZkevm: immutableZkevmNode,
};
2 changes: 2 additions & 0 deletions packages/types/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export enum NetworkNames {
Degen = "degen",
Ham = "ham",
ZChains = "ZCD",
ImmutableZkevm = "ImmutableZkevm",
}

export enum CoingeckoPlatform {
Expand Down Expand Up @@ -126,4 +127,5 @@ export enum CoingeckoPlatform {
Blast = "blast",
Sanko = "sanko",
Degen = "degen",
ImmutableZkevm = "immutable",
}

1 comment on commit 4c1b41e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.