Skip to content

Commit

Permalink
Merge branch 'devop/add-proof-of-play-apex-network' of github.com:Nic…
Browse files Browse the repository at this point in the history
…kKelly1/enKrypt into devop/release-prep
  • Loading branch information
kvhnuke committed Aug 15, 2024
2 parents db54ede + 81ebca2 commit 822feec
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ const supportedNetworks: Record<SupportedNetworkNames, SupportedNetwork> = {
tbName: "degen",
cgPlatform: CoingeckoPlatform.Degen,
},
[NetworkNames.ProofOfPlayApex]: {
tbName: "apex",
cgPlatform: undefined,
[NetworkNames.Godwoken]: {
tbName: "ckb",
cgPlatform: CoingeckoPlatform.Godwoken,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const TokenList: Record<SupportedNetworkNames, string> = {
[NetworkNames.Blast]: `https://tokens.coingecko.com/${CoingeckoPlatform.Blast}/all.json`,
[NetworkNames.Sanko]: `https://tokens.coingecko.com/${CoingeckoPlatform.Sanko}/all.json`,
[NetworkNames.Degen]: `https://tokens.coingecko.com/${CoingeckoPlatform.Degen}/all.json`,
[NetworkNames.ProofOfPlayApex]: `https://raw.githubusercontent.com/enkryptcom/dynamic-data/main/tokenlists/apex.json`,
[NetworkNames.Godwoken]: `https://tokens.coingecko.com/${CoingeckoPlatform.Godwoken}/all.json`,
[NetworkNames.Linea]: `https://tokens.coingecko.com/${CoingeckoPlatform.Linea}/all.json`,
[NetworkNames.MantaPacific]: `https://tokens.coingecko.com/${CoingeckoPlatform.MantaPacific}/all.json`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export type SupportedNetworkNames =
| NetworkNames.Sanko
| NetworkNames.Degen
| NetworkNames.Blast
| NetworkNames.ProofOfPlayApex
| NetworkNames.Godwoken
| NetworkNames.Linea
| NetworkNames.MantaPacific
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ 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 apexOptions: EvmNetworkOptions = {
Expand All @@ -19,6 +20,7 @@ const apexOptions: EvmNetworkOptions = {
icon: require("./icons/apex.png"),
coingeckoID: "ethereum",
NFTHandler: shNFTHandler,
assetsInfoHandler,
activityHandler: wrapActivityHandler(EtherscanActivity),
};

Expand Down

0 comments on commit 822feec

Please sign in to comment.