Skip to content

Commit 5abea52

Browse files
committed
- Move game/assets to public folder
- fix build
1 parent 9b9c4de commit 5abea52

File tree

539 files changed

+10895
-1708
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

539 files changed

+10895
-1708
lines changed

client/apps/game/.env.local

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
VITE_PUBLIC_MASTER_ADDRESS=0x01BFC84464f990C09Cc0e5D64D18F54c3469fD5c467398BF31293051bAde1C39
2+
VITE_PUBLIC_MASTER_PRIVATE_KEY=0x075362a844768f31c8058ce31aec3dd7751686440b4f220f410ae0c9bf042e60
3+
VITE_PUBLIC_WORLD_ADDRESS="0x00fd85ef42eaed3b90d02d2cdc7417d6cae189ff4ba876aa5608551afbf1fb47"
4+
VITE_PUBLIC_ACCOUNT_CLASS_HASH="0x07dc7899aa655b0aae51eadff6d801a58e97dd99cf4666ee59e704249e51adf2"
5+
VITE_PUBLIC_FEE_TOKEN_ADDRESS=0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7
6+
7+
VITE_PUBLIC_DEV=false
8+
VITE_PUBLIC_GAME_VERSION="v1.0.0-rc7"
9+
VITE_PUBLIC_SHOW_FPS=false
10+
VITE_PUBLIC_GRAPHICS_DEV=false
11+
12+
13+
VITE_SOCIAL_LINK=http://bit.ly/3Zz1mpp
14+
15+
VITE_PUBLIC_CONSTRUCTION_FLAG=false
16+
VITE_PUBLIC_HIDE_THREEJS_MENU=false
17+
18+
VITE_PUBLIC_ARK_MARKETPLACE_API=https://abc.com
19+
VITE_PUBLIC_IMAGE_CDN_URL=https://abc.com
20+
VITE_PUBLIC_IMAGE_PROXY_URL=https://abc.com
21+
VITE_PUBLIC_IPFS_GATEWAY=https://abc.com
22+
23+
VITE_PUBLIC_VRF_PROVIDER_ADDRESS="0x051fea4450da9d6aee758bdeba88b2f665bcbf549d2c61421aa724e9ac0ced8f"
24+
VITE_PUBLIC_CLIENT_FEE_RECIPIENT=0x045c587318c9ebcf2fbe21febf288ee2e3597a21cd48676005a5770a50d433c5
25+
26+
VITE_PUBLIC_CHAIN=sepolia
27+
VITE_PUBLIC_SLOT=sepolia-rc-17
28+
VITE_PUBLIC_TORII=https://api.cartridge.gg/x/sepolia-rc-18/torii
29+
VITE_PUBLIC_NODE_URL=https://api.cartridge.gg/x/starknet/sepolia
30+
VITE_PUBLIC_TORII_RELAY=/dns4/api.cartridge.gg/tcp/443/x-parity-wss/%2Fx%2Fsepolia-rc-18%2Ftorii%2Fwss

client/apps/game/dojoConfig.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import { Chain, getGameManifest } from "@/utils/utils";
12
import { createDojoConfig } from "@dojoengine/core";
2-
import { Chain, getGameManifest } from "../../common/utils";
33
import { env } from "./env";
4-
import { ETERNUM_CONFIG } from "./src/utils/config";
4+
import { ETERNUM_CONFIG } from "@/utils/config";
5+
56
const {
67
VITE_PUBLIC_NODE_URL,
78
VITE_PUBLIC_TORII,

client/apps/game/src/dojo/create-system-calls.ts

Lines changed: 0 additions & 308 deletions
This file was deleted.

client/apps/game/src/hooks/context/starknet-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const namespace: string = "s1_eternum";
2727
const colorMode: ColorMode = "dark";
2828

2929
const controller =
30-
env.VITE_PUBLIC_CHAIN === "mainnet" || env.VITE_PUBLIC_CHAIN === "sepolia"
30+
env.VITE_PUBLIC_CHAIN === "mainnet"
3131
? new ControllerConnector({
3232
chains: [{ rpcUrl: env.VITE_PUBLIC_NODE_URL }],
3333
defaultChainId: StarknetChainId.SN_MAIN,

0 commit comments

Comments
 (0)