Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit d98de62

Browse files
committed
chore: address configure contract linking
1 parent 0530864 commit d98de62

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/hooks/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_position: 4
66

77
Scaffold-Stark provides a collection of custom React hooks designed to simplify interactions with your deployed smart contracts. These hooks are wrappers around Starknet-React, an easy-to-use interface with typescript autocompletions for reading from, writing to, and monitoring events emitted by your smart contracts.
88

9-
If you need to interact with external contracts (i.e. not deployed with your SS-2 instance) you can add external contract data to your `packages/nextjs/contracts/preDeployedContracts.ts` file, which would let you use Scaffold-Stark hooks.
9+
If you need to interact with external contracts (i.e. not deployed with your SS-2 instance) you can add external contract data to your `packages/nextjs/contracts/preDeployedContracts.ts` file, which would let you use Scaffold-Stark hooks. You can also use our [external contract fetching tool](/quick-start/configure-contracts) that allows you to bring in external contracts with few simple clicks.
1010

1111
To achieve this, include the contract name, its `address`, and `abi` in `preDeployedContracts.ts` for each chain ID. Ensure to update the [`targetNetworks`](/deploying/deploy-nextjs-app#--targetnetworks) in `scaffold.config.ts` to your preferred chains to enable hooks typescript autocompletion.
1212

docs/quick-start/installation.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ asdf plugin add scarb
4848
This will allow you to download specific versions. You can choose the same version as the Dojo's Cairo version, for example, 2.6.5, with the following command:
4949

5050
```bash
51-
asdf install scarb 2.8.2
51+
asdf install scarb 2.8.3
5252
```
5353

5454
and set a global version:
5555

5656
```bash
57-
asdf global scarb 2.8.2
57+
asdf global scarb 2.8.3
5858
```
5959

6060
Otherwise, you can simply run the following command in your terminal, and follow the onscreen instructions. This
61-
will install the version `2.6.5` of Scarb.
61+
will install the version `2.8.3` of Scarb.
6262

6363
```bash
6464
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v 2.8.2
@@ -83,7 +83,7 @@ cargo install starknet-devnet --version 0.2.0
8383

8484
## Install Starknet Foundry
8585

86-
If your Starknet Foundry version is not 0.30.0, you need to install it.
86+
If your Starknet Foundry version is not 0.31.0, you need to install it.
8787

8888
```sh
8989
snforge --version
@@ -104,13 +104,13 @@ asdf plugin add starknet-foundry
104104
This will allow you to download specific versions.
105105

106106
```bash
107-
asdf install starknet-foundry 0.30.0
107+
asdf install starknet-foundry 0.31.0
108108
```
109109

110110
and set a global version:
111111

112112
```bash
113-
asdf global starknet-foundry 0.30.0
113+
asdf global starknet-foundry 0.31.0
114114
```
115115

116116
</details>

0 commit comments

Comments
 (0)