diff --git a/wallet/how-to/use-non-evm-networks/starknet/create-a-simple-starknet-dapp.md b/wallet/how-to/use-non-evm-networks/starknet/create-a-simple-starknet-dapp.md index e2426a3d42..6e7552db8b 100644 --- a/wallet/how-to/use-non-evm-networks/starknet/create-a-simple-starknet-dapp.md +++ b/wallet/how-to/use-non-evm-networks/starknet/create-a-simple-starknet-dapp.md @@ -17,8 +17,41 @@ You'll also display the balance of an ERC-20 token and perform a token transfer. ## 1. Set up the project -Follow steps 1 and 2 of [Connect to Starknet](connect-to-starknet.md#1-set-up-the-project) to set up -your React TypeScript project and install the `get-starknet` library. +Create a new React project with TypeScript and set up the necessary dependencies for working with Starknet. + +### 1.1 Create a new React project with TypeScript + +Create a new directory called `get-starknet-tutorial` with a basic React app using TypeScript: + +```bash +yarn create react-app get-starknet-tutorial --template typescript +``` + +Change into the project directory: + +```bash +cd get-starknet-tutorial +``` + +### 1.2 Add `get-starknet` and `starknet.js` + +Add the required libraries for interacting with Starknet: + +```bash +yarn add get-starknet@3.3.0 starknet@6.11.0 +``` + +
+ Did you get an error? +
+ +See how to [troubleshoot](troubleshoot.md) connection issues when configuring your dapp. + +Alternatively, you can review [Connect to Starknet](connect-to-starknet.md#1-set-up-the-project) to set up +your React TypeScript project and install the `get-starknet` library. + +
+
Your file structure should look similar to the following: