-
Notifications
You must be signed in to change notification settings - Fork 165
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-rari-chain' into devop/release-prep
- Loading branch information
Showing
9 changed files
with
41 additions
and
1 deletion.
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
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
28 changes: 28 additions & 0 deletions
28
packages/extension/src/providers/ethereum/networks/rari.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,28 @@ | ||
import { NetworkNames } 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 rariOptions: EvmNetworkOptions = { | ||
name: NetworkNames.Rari, | ||
name_long: "Rari", | ||
homePage: "https://rarichain.org/", | ||
blockExplorerTX: "https://mainnet.explorer.rarichain.org/tx/[[txHash]]", | ||
blockExplorerAddr: | ||
"https://mainnet.explorer.rarichain.org/address/[[address]]", | ||
chainID: "0x52415249", | ||
isTestNetwork: false, | ||
currencyName: "ETH", | ||
currencyNameLong: "Rari ETH", | ||
node: "https://mainnet.rpc.rarichain.org/http", | ||
icon: require("./icons/rari.png"), | ||
NFTHandler: shNFTHandler, | ||
assetsInfoHandler, | ||
activityHandler: wrapActivityHandler(EtherscanActivity), | ||
}; | ||
|
||
const rari = new EvmNetwork(rariOptions); | ||
|
||
export default rari; |
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
a6a05e3
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/4cc4f7c36c0db0ea8da1ef0ab2fed32826117787685e09468ba2cc062d92496c
firefox:
https://www.virustotal.com/gui/file/d6508184ca3288aa31d194f1922e8edeadd2e984f75a2d5bd876e80b35e42217