From 6d1a69cbb0165e425a3b82f9c92a7c1a14277007 Mon Sep 17 00:00:00 2001 From: jimenezz22 Date: Tue, 8 Jul 2025 23:03:33 -0600 Subject: [PATCH 1/2] refactor: remove outdated application sections, update routes, and fix docs --- .../applications/cartridge_controller.md | 3 --- client/pages/applications/erc20.md | 3 --- client/pages/applications/erc721.md | 3 --- .../pages/integrations/react/dojo-config.md | 2 +- client/pages/integrations/react/manifest.md | 2 +- .../integrations/react/starknet-provider.md | 3 ++- client/routes.ts | 26 +++---------------- 7 files changed, 8 insertions(+), 34 deletions(-) delete mode 100644 client/pages/applications/cartridge_controller.md delete mode 100644 client/pages/applications/erc20.md delete mode 100644 client/pages/applications/erc721.md diff --git a/client/pages/applications/cartridge_controller.md b/client/pages/applications/cartridge_controller.md deleted file mode 100644 index 7bd831a..0000000 --- a/client/pages/applications/cartridge_controller.md +++ /dev/null @@ -1,3 +0,0 @@ -# Cartridge Controller Integration - -Under development... \ No newline at end of file diff --git a/client/pages/applications/erc20.md b/client/pages/applications/erc20.md deleted file mode 100644 index bcda565..0000000 --- a/client/pages/applications/erc20.md +++ /dev/null @@ -1,3 +0,0 @@ -# ERC20 Integration - -Under development... diff --git a/client/pages/applications/erc721.md b/client/pages/applications/erc721.md deleted file mode 100644 index fd3b00b..0000000 --- a/client/pages/applications/erc721.md +++ /dev/null @@ -1,3 +0,0 @@ -# ERC721 Integration - -Under development... diff --git a/client/pages/integrations/react/dojo-config.md b/client/pages/integrations/react/dojo-config.md index 2e64453..633d67b 100644 --- a/client/pages/integrations/react/dojo-config.md +++ b/client/pages/integrations/react/dojo-config.md @@ -119,4 +119,4 @@ export const dojoConfig = createDojoConfig({ This configuration connects the React game client to the Dojo onchain gaming infrastructure, allowing real-time multiplayer gameplay with persistent blockchain state. -**Next**: Set up [Starknet Provider](./starknet-provider.md) for player wallet connections. \ No newline at end of file +**Next**: While dojoConfig establishes how your React frontend connects to the Dojo infrastructure, the [Manifest](./manifest.md) handles the critical "where" question - determining which deployed contract addresses your app should use based on the current network environment. diff --git a/client/pages/integrations/react/manifest.md b/client/pages/integrations/react/manifest.md index 52d5c21..bf488c7 100644 --- a/client/pages/integrations/react/manifest.md +++ b/client/pages/integrations/react/manifest.md @@ -234,4 +234,4 @@ The manifest system provides automatic network switching without code changes, e --- -*Ready to connect your contracts to React? Check out [Dojo Config](/integrations/react/dojo-config) to see how manifest data powers your game's blockchain connection* +**Next**: Once the manifest.ts configuration resolves the correct network deployments, the [Main](./main.md) file serves as the orchestration layer that brings everything together. This file takes the manifest's deployment information and dojoConfig settings to initialize the Dojo SDK, establish the React provider hierarchy, and bootstrap the entire onchain game application. diff --git a/client/pages/integrations/react/starknet-provider.md b/client/pages/integrations/react/starknet-provider.md index 3ab69e8..dd6ffb5 100644 --- a/client/pages/integrations/react/starknet-provider.md +++ b/client/pages/integrations/react/starknet-provider.md @@ -296,4 +296,5 @@ function PlayerDashboard() { --- -*Ready to configure gaming-specific wallet features? Check out [Controller Connector](/integrations/react/controller-connector) to set up Cartridge Controller for your game.* \ No newline at end of file +**Next**: While StarknetProvider handles the network infrastructure and RPC connections, the [Controller Connector](./controller-connector.md) +takes this foundation and transforms it into a gaming-optimized experience. diff --git a/client/routes.ts b/client/routes.ts index 6ae4ae6..7856df0 100644 --- a/client/routes.ts +++ b/client/routes.ts @@ -97,24 +97,6 @@ const config: Sidebar = [ }, ], }, - { - text: "Applications", - collapsed: true, - items: [ - { - text: "Cartridge Controller", - link: "/applications/cartridge_controller", - }, - { - text: "ERC20 Token", - link: "/applications/erc20", - }, - { - text: "ERC721 NFT", - link: "/applications/erc721", - }, - ], - }, { text: "Advanced concepts", collapsed: true, @@ -174,14 +156,14 @@ const config: Sidebar = [ { text: "Data Bindings", items: [ - { - text: "Contracts Bindings", - link: "/integrations/react/bindings/contracts-bindings", - }, { text: "Models Bindings", link: "/integrations/react/bindings/models-bindings", }, + { + text: "Contracts Bindings", + link: "/integrations/react/bindings/contracts-bindings", + }, ], }, ], From aaa0b97c031cd03a266fc3ad2ecd327af9800fd9 Mon Sep 17 00:00:00 2001 From: jimenezz22 Date: Tue, 8 Jul 2025 23:27:31 -0600 Subject: [PATCH 2/2] docs: update contracts bindings description and modify sidebar route text --- client/pages/integrations/react/bindings/contracts-bindings.md | 2 +- client/routes.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/pages/integrations/react/bindings/contracts-bindings.md b/client/pages/integrations/react/bindings/contracts-bindings.md index b9aaeef..e81ec79 100644 --- a/client/pages/integrations/react/bindings/contracts-bindings.md +++ b/client/pages/integrations/react/bindings/contracts-bindings.md @@ -366,4 +366,4 @@ const game_train = async (snAccount: Account) => { --- -_The contracts.gen.ts file transforms blockchain complexity into simple game function calls, enabling developers to build engaging onchain games with traditional gaming development patterns._ +*The contracts.gen.ts file transforms complex blockchain transactions into simple game function calls, enabling developers to build engaging fully on-chain games with traditional gaming development patterns.* diff --git a/client/routes.ts b/client/routes.ts index 7856df0..1680a4c 100644 --- a/client/routes.ts +++ b/client/routes.ts @@ -154,7 +154,7 @@ const config: Sidebar = [ ], }, { - text: "Data Bindings", + text: "Bindings", items: [ { text: "Models Bindings",