Skip to content

Commit

Permalink
added missing constants for network selector.
Browse files Browse the repository at this point in the history
  • Loading branch information
Privilege Mendes committed Oct 30, 2023
1 parent 0cbc0c3 commit 860413d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions frontend/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ export const METRICS_CHARACTER = [

export const METRICS_ITEM = ["sales", "collection size", "floor price", "avg. item price", "avg. item level", "avg. marketplace level"];

export const EXCLUDE_ITEMS_SHOP = [
["hair", ["legendary"]],
] as [[Category, Rarity[]]];
export const EXCLUDE_ITEMS_SHOP = [["hair", ["legendary"]]] as [[Category, Rarity[]]];

/***************************************************************************/

Expand Down Expand Up @@ -139,8 +137,13 @@ export type InteractionMode = typeof ITEM_MODE | typeof MAIN_MODE | typeof CATEG
export const CHARACTER_HEIGHT = 1190.5511 as const;
export const CHARACTER_WIDTH = 841.8898 as const;

export const NETWORK_CONFIG = import.meta.env.VITE_NETWORK_CONFIG || ("https://emerynet.agoric.net/network-config" as const);
// export const NETWORK_CONFIG = import.meta.env.VITE_NETWORK_CONFIG || ("https://main.agoric.net/network-config" as const);
export const networkOptions = [
{ label: "local", value: "https://wallet.agoric.app/wallet/network-config" },
{ label: "emerynet", value: "https://emerynet.agoric.net/network-config" },
{ label: "mainnet", value: "https://main.agoric.net/network-config" },
] as const;
export const DEFAULT_NETWORK_CONFIG = import.meta.env.VITE_NETWORK_CONFIG || ("https://emerynet.agoric.net/network-config" as const);
export const NETWORK_CONFIG = import.meta.env.VITE_NETWORK_CONFIG || ("https://main.agoric.net/network-config" as const);

export const localBridgeHref = "http://localhost:3000/wallet/bridge.html" as const;
export const prodBridgeHref = "https://wallet.agoric.app/wallet/bridge.html" as const;
Expand Down

0 comments on commit 860413d

Please sign in to comment.