-
Notifications
You must be signed in to change notification settings - Fork 172
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 #210 from enkryptcom/develop
Release: v1.10.0
- Loading branch information
Showing
41 changed files
with
2,366 additions
and
1,722 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
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
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
34 changes: 34 additions & 0 deletions
34
packages/extension/src/providers/polkadot/networks/edgeware.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,34 @@ | ||
import { CoingeckoPlatform, NetworkNames } from "@enkryptcom/types"; | ||
import { toBN } from "web3-utils"; | ||
import { subscanActivity } from "../libs/activity-handlers"; | ||
import { | ||
SubstrateNetwork, | ||
SubstrateNetworkOptions, | ||
} from "../types/substrate-network"; | ||
import wrapActivityHandler from "@/libs/activity-state/wrap-activity-handler"; | ||
|
||
const ksmOptions: SubstrateNetworkOptions = { | ||
name: NetworkNames.Edgeware, | ||
name_long: "Edgeware", | ||
homePage: "https://www.edgeware.io/", | ||
blockExplorerTX: "https://edgeware.subscan.io/extrinsic/[[txHash]]", | ||
blockExplorerAddr: "https://edgeware.subscan.io/account/[[address]]", | ||
isTestNetwork: false, | ||
currencyName: "EDG", | ||
currencyNameLong: "Edge", | ||
icon: require("./icons/edgeware.svg"), | ||
decimals: 18, | ||
prefix: 7, | ||
gradient: "#000000", | ||
node: "wss://edgeware.jelliedowl.net", | ||
coingeckoID: "edgeware", | ||
coingeckoPlatform: CoingeckoPlatform.Edgeware, | ||
genesisHash: | ||
"0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b", | ||
activityHandler: wrapActivityHandler(subscanActivity), | ||
existentialDeposit: toBN("10000000000000"), | ||
}; | ||
|
||
const ksm = new SubstrateNetwork(ksmOptions); | ||
|
||
export default ksm; |
13 changes: 13 additions & 0 deletions
13
packages/extension/src/providers/polkadot/networks/icons/edgeware.svg
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
Binary file not shown.
Oops, something went wrong.
13d3a61
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/39f4097c412840263d32e36e42c31d90f89ac19ef1e040ca5a37a77c69a11f10
firefox:
https://www.virustotal.com/gui/file/d6cd406fc873872e70eabb6d4a99460ed8b3711a4a2be25a2a7f3aa9f5bafe74
13d3a61
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/a3a18be6292cc71270c2e768d6a175aed52fa2f8bc8774f991cd56920fb7ca3b
firefox:
https://www.virustotal.com/gui/file/1c3111a1ee34701b98ce47a04c0d1ccf2c44335db6fdf35b99990337efca8b34