-
Notifications
You must be signed in to change notification settings - Fork 174
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 #447 from enkryptcom/devop/new-networks
devop: new networks
- Loading branch information
Showing
20 changed files
with
327 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
import { NetworkNames } from "@enkryptcom/types"; | ||
|
||
const newNetworks = [NetworkNames.Kadena]; | ||
const newNetworks = [ | ||
NetworkNames.Kadena, | ||
NetworkNames.Rollux, | ||
NetworkNames.Syscoin, | ||
]; | ||
const newSwaps = [NetworkNames.MaticZK, NetworkNames.Base]; | ||
|
||
export { newNetworks, newSwaps }; |
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
56 changes: 56 additions & 0 deletions
56
packages/extension/src/providers/ethereum/networks/icons/sys_nevm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions
36
packages/extension/src/providers/ethereum/networks/icons/sys_rollux.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions
52
packages/extension/src/providers/ethereum/networks/icons/tsys_nevm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions
34
packages/extension/src/providers/ethereum/networks/icons/tsys_rollux.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
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,27 @@ | ||
import { NetworkNames, CoingeckoPlatform } 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 assetsInfoHandler from "@/providers/ethereum/libs/assets-handlers/assetinfo-mew"; | ||
|
||
const rolluxOptions: EvmNetworkOptions = { | ||
name: NetworkNames.Rollux, | ||
name_long: "Syscoin ROLLUX", | ||
homePage: "https://www.rollux.com/", | ||
blockExplorerTX: "https://explorer.rollux.com/tx/[[txHash]]", | ||
blockExplorerAddr: "https://explorer.rollux.com/address/[[address]]", | ||
chainID: "0x23a", | ||
isTestNetwork: false, | ||
currencyName: "SYS", | ||
currencyNameLong: "Syscoin", | ||
node: "wss://rpc.rollux.com/wss", | ||
coingeckoID: "syscoin", | ||
coingeckoPlatform: CoingeckoPlatform.Rollux, | ||
icon: require("./icons/sys_rollux.svg"), | ||
assetsInfoHandler, | ||
activityHandler: wrapActivityHandler(EtherscanActivity), | ||
}; | ||
|
||
const rollux = new EvmNetwork(rolluxOptions); | ||
|
||
export default rollux; |
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, CoingeckoPlatform } 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"; | ||
|
||
const syscoinOptions: EvmNetworkOptions = { | ||
name: NetworkNames.Syscoin, | ||
name_long: "Syscoin NEVM", | ||
homePage: "https://www.syscoin.org/", | ||
blockExplorerTX: "https://explorer.syscoin.org/tx/[[txHash]]", | ||
blockExplorerAddr: "https://explorer.syscoin.org/address/[[address]]", | ||
chainID: "0x39", | ||
isTestNetwork: false, | ||
currencyName: "SYS", | ||
currencyNameLong: "Syscoin", | ||
node: "wss://rpc.syscoin.org/wss", | ||
icon: require("./icons/sys_nevm.svg"), | ||
coingeckoID: "syscoin", | ||
coingeckoPlatform: CoingeckoPlatform.Syscoin, | ||
activityHandler: wrapActivityHandler(EtherscanActivity), | ||
}; | ||
|
||
const syscoin = new EvmNetwork(syscoinOptions); | ||
|
||
export default syscoin; |
23 changes: 23 additions & 0 deletions
23
packages/extension/src/providers/ethereum/networks/trlx.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,23 @@ | ||
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"; | ||
|
||
const rolluxTestOptions: EvmNetworkOptions = { | ||
name: NetworkNames.RolluxTest, | ||
name_long: "Syscoin ROLLUX Testnet", | ||
homePage: "https://www.rollux.com/", | ||
blockExplorerTX: "https://rollux.tanenbaum.io/tx/[[txHash]]", | ||
blockExplorerAddr: "https://rollux.tanenbaum.io/address/[[address]]", | ||
chainID: "0xdea8", | ||
isTestNetwork: true, | ||
currencyName: "TSYS", | ||
currencyNameLong: "Test Syscoin", | ||
node: "wss://rpc-tanenbaum.rollux.com/wss", | ||
icon: require("./icons/tsys_rollux.svg"), | ||
activityHandler: wrapActivityHandler(EtherscanActivity), | ||
}; | ||
|
||
const rolluxTest = new EvmNetwork(rolluxTestOptions); | ||
|
||
export default rolluxTest; |
Oops, something went wrong.
a90bc83
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/ae852bd8af78bd2b90f78c61164c48987b3705c1eef872a907dddeebf699afe5
firefox:
https://www.virustotal.com/gui/file/ef9415953922d226a92419f1d450c238f049e08be1c6a3b23b52fd5e98e2811f