From 600496a46851ed323c26e2e83dbaeb1ecf12e11f Mon Sep 17 00:00:00 2001 From: ponderingdemocritus Date: Thu, 12 Dec 2024 03:45:32 +1100 Subject: [PATCH] contracts --- landing/dojoConfig.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/landing/dojoConfig.ts b/landing/dojoConfig.ts index 1c0b1d139..41617863d 100644 --- a/landing/dojoConfig.ts +++ b/landing/dojoConfig.ts @@ -1,6 +1,7 @@ import { createDojoConfig } from "@dojoengine/core"; import devManifest from "../contracts/manifest_dev.json"; -import productionManifest from "../contracts/manifest_prod.json"; +import productionManifest from "../contracts/manifest_mainnet.json"; +import sepoliaManifest from "../contracts/manifest_prod.json"; import { env } from "./env"; const { @@ -15,8 +16,12 @@ const { VITE_PUBLIC_CHAIN, } = env; -const isLocal = VITE_PUBLIC_CHAIN === "local" || VITE_PUBLIC_CHAIN === "testnet"; -const manifest = VITE_PUBLIC_DEV === true && isLocal ? devManifest : productionManifest; +// const isLocal = VITE_PUBLIC_CHAIN === "local" || VITE_PUBLIC_CHAIN === "testnet"; +// const manifest = VITE_PUBLIC_DEV === true && isLocal ? devManifest : productionManifest; + +let manifest = VITE_PUBLIC_DEV === true ? devManifest : sepoliaManifest; + +manifest = VITE_PUBLIC_CHAIN === "mainnet" ? productionManifest : manifest; export const getManifest = () => { return manifest;