You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/components/_category_.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,6 @@
4
4
"link": {
5
5
"type": "generated-index",
6
6
"slug": "components",
7
-
"description": "Scaffold-Stark 2 provides a set of pre-built components for common web3 use cases. You can make use of them to accelerate and simplify your dapp development."
7
+
"description": "Scaffold-Stark provides a set of pre-built components for common web3 use cases. You can make use of them to accelerate and simplify your dapp development."
Copy file name to clipboardexpand all lines: docs/hooks/hooks.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ sidebar_position: 4
4
4
5
5
# 🛠 Interacting with Your Smart Contracts
6
6
7
-
Scaffold-Stark 2 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.
7
+
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.
8
8
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-ETH 2 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.
10
10
11
11
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.
Copy file name to clipboardexpand all lines: docs/intro.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -3,21 +3,21 @@ sidebar_position: 1
3
3
slug: /
4
4
---
5
5
6
-
# 🏗 Welcome to Scaffold-Stark 2
6
+
# 🏗 Welcome to Scaffold-Stark
7
7
8
8
[Scaffold-Stark](https://github.com/Quantum3-Labs/scaffold-stark-2) is everything you need to get started building decentralized applications on Starknet! 🚀
9
9
10
10
⚙️ Built using NextJS, StarknetJS, Scarb, Starknet-React, Starknet Foundry and Typescript.
11
11
12
-
## About Scaffold-Stark 2
12
+
## About Scaffold-Stark
13
13
14
14
Scaffold-Stark is an open-source, up-to-date toolkit for building decentralized applications (dapps) on the Starknet blockchain. It's designed to make it easier for developers to create and deploy smart contracts and build user interfaces that interact with those contracts. Scaffold-Stark is a UI-agnostic framework, meaning it does not enforce any specific UI framework or library, giving developers the flexibility to choose their preferred UI tools and libraries.
15
15
16
16
- ✅ **Contract Fast Reload**: Your frontend auto-adapts to your smart contract as you edit it.
17
17
- 🔥 **Burner Wallet & Local Faucet**: Quickly test your application with a burner wallet and local faucet.
18
18
- 🔐 **Integration with Wallet Providers**: Connect to different wallet providers and interact with the Starknet network.
19
19
20
-
## Scaffold-Stark2 Tech Stack
20
+
## Scaffold-Stark Tech Stack
21
21
22
22
Scaffold-Stark is not a product itself but more of a combination or stack of other great tools. It allows you to quickly build and iterate over your smart contracts and frontends.
Copy file name to clipboardexpand all lines: docs/quick-start/customize-your-own-dApp.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,6 @@ In this example, the `MyBalance` component:
115
115
### Using Scaffold Stark Hooks
116
116
117
117
The `hooks` directory, located at `packages/nextjs/hooks/scaffold-stark`, offers several hooks.
118
-
Scaffold-Stark 2 provides a collection of custom React hooks designed to simplify interactions with your deployed smart contracts.
118
+
Scaffold-Stark provides a collection of custom React hooks designed to simplify interactions with your deployed smart contracts.
119
119
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.
120
120
For more details, please see the [Interacting with Your Smart Contracts](../hooks) section.
Fetch the Ethereum address of the currently connected account using the [useAccount starknet-react hook](https://starknet-react.com/hooks/account/useaccount) and easily display them using Scaffold Stark-2[Address](/components/Address) and [Balance](/components/Balance) components.
57
+
Fetch the Ethereum address of the currently connected account using the [useAccount starknet-react hook](https://starknet-react.com/hooks/account/useaccount) and easily display them using Scaffold Stark [Address](/components/Address) and [Balance](/components/Balance) components.
Copy file name to clipboardexpand all lines: docs/recipes/_category_.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,6 @@
4
4
"link": {
5
5
"type": "generated-index",
6
6
"slug": "recipes",
7
-
"description": "Explore a collection of practical recipes to implement common web3 use-cases with Scaffold-ETH 2. Learn how to interact with smart contracts, read and display data, manage account balances, and more. Each recipe offers step-by-step guidance, making it easy to implement different blockchain features into your dApps."
7
+
"description": "Explore a collection of practical recipes to implement common web3 use-cases with Scaffold-Stark. Learn how to interact with smart contracts, read and display data, manage account balances, and more. Each recipe offers step-by-step guidance, making it easy to implement different blockchain features into your dApps."
0 commit comments