-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99839e7
commit b22b545
Showing
4 changed files
with
63 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,6 @@ You'll also display the balance of an ERC-20 token and perform a token transfer. | |
|
||
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 | ||
|
@@ -33,9 +31,10 @@ Change into the project directory: | |
cd get-starknet-tutorial | ||
``` | ||
|
||
### 1.2 Add `get-starknet` and `starknet.js` | ||
## 2. Add `get-starknet` and `starknet.js` | ||
|
||
Add the required libraries for interacting with Starknet: | ||
Add [`get-starknet`](https://github.com/starknet-io/get-starknet) version `3.3.0` and `starknet.js` | ||
version `6.11.0` to your project's dependencies: | ||
|
||
```bash | ||
yarn add [email protected] [email protected] | ||
|
@@ -47,9 +46,6 @@ yarn add [email protected] [email protected] | |
|
||
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. | ||
|
||
</div> | ||
</details> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters