-
Notifications
You must be signed in to change notification settings - Fork 177
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 #325 from enkryptcom/develop
Release: v1.23.0
- Loading branch information
Showing
34 changed files
with
2,120 additions
and
472 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
68 changes: 68 additions & 0 deletions
68
packages/extension/src/providers/polkadot/networks/icons/vara.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
32 changes: 32 additions & 0 deletions
32
packages/extension/src/providers/polkadot/networks/vara.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,32 @@ | ||
import { 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 varaOptions: SubstrateNetworkOptions = { | ||
name: NetworkNames.Vara, | ||
name_long: "Vara Network", | ||
homePage: "https://vara-network.io/", | ||
blockExplorerTX: "https://vara.subscan.io/extrinsic/[[txHash]]", | ||
blockExplorerAddr: "https://vara.subscan.io/account/[[address]]", | ||
isTestNetwork: false, | ||
currencyName: "VARA", | ||
currencyNameLong: "Vara", | ||
icon: require("./icons/vara.svg"), | ||
decimals: 12, | ||
prefix: 137, | ||
gradient: "#0ed3a3", | ||
node: "wss://rpc.vara-network.io", | ||
genesisHash: | ||
"0xfe1b4c55fd4d668101126434206571a7838a8b6b93a6d1b95d607e78e6c53763", | ||
activityHandler: wrapActivityHandler(subscanActivity), | ||
existentialDeposit: toBN("10000000000000"), | ||
}; | ||
|
||
const vara = new SubstrateNetwork(varaOptions); | ||
|
||
export default vara; |
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
Oops, something went wrong.
94ad2bc
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/0e55f4ffd4202f575631a23699c42b59a3303eb88600f09d8d720a1db83ac1c0
firefox:
https://www.virustotal.com/gui/file/8182fe468b780e33f9d3d4621a059a7336c8facf034d438372ac46f9d83f788d
94ad2bc
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/92dc74f6efa8f2ba27a8aa828c9490ee5f13436689d9ed25c61233b0ef117b1d
firefox:
https://www.virustotal.com/gui/file/99bd022ba05fb61d568b2d43952587079eeb6d11e2f25f282be01a4dd1f073d5