diff --git a/packages/extension/src/providers/ethereum/libs/activity-handlers/providers/etherscan/configs.ts b/packages/extension/src/providers/ethereum/libs/activity-handlers/providers/etherscan/configs.ts index a92b32ec8..92fabf1c5 100644 --- a/packages/extension/src/providers/ethereum/libs/activity-handlers/providers/etherscan/configs.ts +++ b/packages/extension/src/providers/ethereum/libs/activity-handlers/providers/etherscan/configs.ts @@ -46,6 +46,7 @@ const NetworkEndpoints: Record = { [NetworkNames.MaticZK]: "https://api-zkevm.polygonscan.com/", [NetworkNames.Base]: "https://api.basescan.org/", [NetworkNames.Celo]: "https://explorer.celo.org/mainnet/", + [NetworkNames.Arthera]: "https://explorer-test.arthera.net/", }; export { NetworkEndpoints }; diff --git a/packages/extension/src/providers/ethereum/networks/aa.ts b/packages/extension/src/providers/ethereum/networks/aa.ts new file mode 100644 index 000000000..4f0dd16dd --- /dev/null +++ b/packages/extension/src/providers/ethereum/networks/aa.ts @@ -0,0 +1,24 @@ +import { NetworkNames } from "@enkryptcom/types"; +import { EvmNetwork, EvmNetworkOptions } from "../types/evm-network"; +import { EtherscanActivity } from "../libs/activity-handlers"; +import wrapActivityHandler from "@/libs/activity-state/wrap-activity-handler"; +import assetsInfoHandler from "@/providers/ethereum/libs/assets-handlers/assetinfo-mew"; + +const artheraOptions: EvmNetworkOptions = { + name: NetworkNames.Arthera, + name_long: "Arthera", + homePage: "https://arthera.net/", + blockExplorerTX: "https://explorer-test.arthera.net/tx/[[txHash]]", + blockExplorerAddr: "https://explorer-test.arthera.net/address/[[address]]", + chainID: "0x2803", + isTestNetwork: true, + currencyName: "AA", + currencyNameLong: "Arthera", + node: "wss://ws-test.arthera.net", + icon: require("./icons/aa.svg"), + activityHandler: wrapActivityHandler(EtherscanActivity), +}; + +const arthera = new EvmNetwork(artheraOptions); + +export default arthera; diff --git a/packages/extension/src/providers/ethereum/networks/icons/aa.svg b/packages/extension/src/providers/ethereum/networks/icons/aa.svg new file mode 100644 index 000000000..7b3782553 --- /dev/null +++ b/packages/extension/src/providers/ethereum/networks/icons/aa.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/extension/src/providers/ethereum/networks/index.ts b/packages/extension/src/providers/ethereum/networks/index.ts index a92613503..067492027 100644 --- a/packages/extension/src/providers/ethereum/networks/index.ts +++ b/packages/extension/src/providers/ethereum/networks/index.ts @@ -30,6 +30,7 @@ import sepoliaNode from "./sepolia"; import baseNode from "./base"; import celoNode from "./celo"; import shibNode from "./shib"; +import artheraNode from "./aa"; export default { goerli: goerliNode, @@ -73,4 +74,5 @@ export default { base: baseNode, celo: celoNode, shib: shibNode, + arthera: artheraNode, }; diff --git a/packages/types/src/networks.ts b/packages/types/src/networks.ts index 2e30e99b2..6a4ed8786 100644 --- a/packages/types/src/networks.ts +++ b/packages/types/src/networks.ts @@ -60,6 +60,7 @@ export enum NetworkNames { Celo = "CELO", Litecoin = "LTC", Dogecoin = "DOGE", + Arthera = "AA", } export enum CoingeckoPlatform {