diff --git a/packages/extension/src/providers/ethereum/networks/holesky.ts b/packages/extension/src/providers/ethereum/networks/holesky.ts new file mode 100644 index 000000000..bb06f1f3f --- /dev/null +++ b/packages/extension/src/providers/ethereum/networks/holesky.ts @@ -0,0 +1,21 @@ +import { NetworkNames } from "@enkryptcom/types"; +import { EvmNetwork, EvmNetworkOptions } from "../types/evm-network"; + +const holeskyOptions: EvmNetworkOptions = { + name: NetworkNames.Holesky, + name_long: "Holesky", + homePage: "https://holesky.dev/", + blockExplorerTX: "https://holesky.etherscan.io/tx/[[txHash]]", + blockExplorerAddr: "https://holesky.etherscan.io/address/[[address]]", + chainID: "0x4268", + isTestNetwork: true, + currencyName: "HOL", + currencyNameLong: "Holesky", + node: "wss://nodes.mewapi.io/ws/holesky", + icon: require("./icons/eth.svg"), + activityHandler: () => Promise.resolve([]), +}; + +const holesky = new EvmNetwork(holeskyOptions); + +export default holesky; diff --git a/packages/extension/src/providers/ethereum/networks/index.ts b/packages/extension/src/providers/ethereum/networks/index.ts index 5d94e223a..c5197358f 100644 --- a/packages/extension/src/providers/ethereum/networks/index.ts +++ b/packages/extension/src/providers/ethereum/networks/index.ts @@ -58,6 +58,7 @@ import palmNode from "./palm"; import proofOfPlayApexNode from "./pop-apex"; import scrollNode from "./scroll"; import cotiDevnetNode from "./coti-devnet"; +import holeskyNode from "./holesky"; export default { sepolia: sepoliaNode, @@ -129,4 +130,5 @@ export default { popApex: proofOfPlayApexNode, scroll: scrollNode, cotiDevnet: cotiDevnetNode, + holesky: holeskyNode, }; diff --git a/packages/types/src/networks.ts b/packages/types/src/networks.ts index e30405fcf..3b5d00cc2 100644 --- a/packages/types/src/networks.ts +++ b/packages/types/src/networks.ts @@ -93,6 +93,7 @@ export enum NetworkNames { Scroll = "scroll", Rari = "rari", CotiDevnet = "CotiDevnet", + Holesky = "HOLESKY", } export enum CoingeckoPlatform {