-
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 pull request #478 from NickKelly1/devop/add-format-network
Add Forma network
- Loading branch information
Showing
6 changed files
with
30 additions
and
0 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
25 changes: 25 additions & 0 deletions
25
packages/extension/src/providers/ethereum/networks/forma.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,25 @@ | ||
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 shNFTHandler from "@/libs/nft-handlers/simplehash"; | ||
|
||
const formaOptions: EvmNetworkOptions = { | ||
name: NetworkNames.Forma, | ||
name_long: "Forma", | ||
homePage: "https://forma.art/", | ||
blockExplorerTX: "https://explorer.forma.art/tx/[[txHash]]", | ||
blockExplorerAddr: "https://explorer.forma.art/address/[[address]]", | ||
chainID: "0xf043a", | ||
isTestNetwork: false, | ||
currencyName: "TIA", | ||
currencyNameLong: "TIA", | ||
node: "https://rpc.forma.art", | ||
icon: require("./icons/forma.png"), | ||
activityHandler: wrapActivityHandler(EtherscanActivity), | ||
NFTHandler: shNFTHandler, | ||
}; | ||
|
||
const forma = new EvmNetwork(formaOptions); | ||
|
||
export default forma; |
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
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
9266125
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/1120abfbeba6ace06fc50c9396ddfa9497bb02c78fb6b66531768b762068ea78
firefox:
https://www.virustotal.com/gui/file/ac0bf6f7bba838ecd3c92b316094ac31eff2e9728fc03ccd44d889275a7ba0ed