-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'NickKelly1-devop/add-manta-pacific-network' into devop/…
…release-prep
- Loading branch information
Showing
9 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+13 KB
packages/extension/src/providers/ethereum/networks/icons/manta-pacific.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
packages/extension/src/providers/ethereum/networks/manta-pacific.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
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 assetsInfoHandler from "@/providers/ethereum/libs/assets-handlers/assetinfo-mew"; | ||
import shNFTHandler from "@/libs/nft-handlers/simplehash"; | ||
|
||
const mantaPacificOptions: EvmNetworkOptions = { | ||
name: NetworkNames.MantaPacific, | ||
name_long: "Manta Pacific", | ||
homePage: "https://pacific-info.manta.network/", | ||
blockExplorerTX: "https://pacific-explorer.manta.network/tx/[[txHash]]", | ||
blockExplorerAddr: | ||
"https://pacific-explorer.manta.network/address/[[address]]", | ||
chainID: "0xa9", | ||
isTestNetwork: false, | ||
currencyName: "ETH", | ||
currencyNameLong: "Ethereum", | ||
node: "wss://pacific-rpc.manta.network/ws", | ||
icon: require("./icons/manta-pacific.png"), | ||
coingeckoPlatform: CoingeckoPlatform.MantaPacific, | ||
NFTHandler: shNFTHandler, | ||
assetsInfoHandler, | ||
activityHandler: wrapActivityHandler(EtherscanActivity), | ||
}; | ||
|
||
const mantapacific = new EvmNetwork(mantaPacificOptions); | ||
|
||
export default mantapacific; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15bfaf4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Virus total analysis
chrome:
https://www.virustotal.com/gui/file/3666e53590b749e1ac530c0279ec5da1108b87dbfbcc6d277e3022ab6a76e31e
firefox:
https://www.virustotal.com/gui/file/da784160a63249caffca30a07a14365bbed3e1c2500367b729a18a4e630372e4