Skip to content

Commit 813ebf2

Browse files
authored
chore: update scarb to latest (#657)
1 parent de90f01 commit 813ebf2

File tree

6 files changed

+16
-19
lines changed

6 files changed

+16
-19
lines changed

.devcontainer.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
22
"name": "Scaffold Stark",
3-
"image": "starknetfoundation/starknet-dev:2.12.0",
3+
"image": "starknetfoundation/starknet-dev:2.12.2",
44
"customizations": {
55
"vscode": {
6-
"extensions": [
7-
"StarkWare.cairo1",
8-
"tamasfe.even-better-toml"
9-
]
6+
"extensions": ["StarkWare.cairo1", "tamasfe.even-better-toml"]
107
}
118
}
12-
}
9+
}

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
scarb 2.12.0
1+
scarb 2.12.2
22
starknet-foundry 0.49.0
33
starknet-devnet 0.5.1

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,19 @@ You can refer to the guide of manual installation of asdf [here](https://asdf-vm
7878

7979
#### Scarb version
8080

81-
To ensure the proper functioning of scaffold-stark, your `Scarb` version must be `2.12.0`. To accomplish this, first check Scarb version:
81+
To ensure the proper functioning of scaffold-stark, your `Scarb` version must be `2.12.2`. To accomplish this, first check Scarb version:
8282

8383
```sh
8484
scarb --version
8585
```
8686

87-
If your `Scarb` version is not `2.12.0`, you need to install it. If you already have installed `Scarb` via `starkup`, you can setup this specific version with the following command:
87+
If your `Scarb` version is not `2.12.2`, you need to install it. If you already have installed `Scarb` via `starkup`, you can setup this specific version with the following command:
8888

8989
```sh
90-
asdf install scarb 2.12.0 && asdf set scarb 2.12.0
90+
asdf install scarb 2.12.2 && asdf set scarb 2.12.2
9191
```
9292

93-
Otherwise, you can install Scarb `2.12.0` following the [instructions](https://docs.swmansion.com/scarb/download.html#install-via-asdf).
93+
Otherwise, you can install Scarb `2.12.2` following the [instructions](https://docs.swmansion.com/scarb/download.html#install-via-asdf).
9494

9595
#### Starknet Foundry version
9696

@@ -137,7 +137,7 @@ As an alternative to installing the tools locally (Scarb, Starknet Foundry, Star
137137

138138
4. Check your project folder contains a `devcontainer.json` file. This file is used to set up the environment:
139139

140-
- The configuration uses the `starknetfoundation/starknet-dev:2.12.0` image.
140+
- The configuration uses the `starknetfoundation/starknet-dev:2.12.2` image.
141141
- This includes all required tools pre-installed, such as Scarb, Starknet Foundry, Starknet Devnet and other dependencies.
142142

143143
#### 2.2 Getting Started with Docker Setup
@@ -156,9 +156,9 @@ Now you are ready!!!
156156
## Compatible versions
157157

158158
- Starknet-devnet - 0.5.1
159-
- Scarb - v2.12.0
159+
- Scarb - v2.12.2
160160
- Snforge - v0.49.0
161-
- Cairo - v2.12.0
161+
- Cairo - v2.12.2
162162
- Rpc - v0.9.x
163163

164164
## Quickstart 1: Deploying a Smart Contract to Starknet-Devnet

packages/nextjs/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
NEXT_PUBLIC_DEVNET_PROVIDER_URL=http://127.0.0.1:5050
33

44
# URL Sepolia
5-
NEXT_PUBLIC_SEPOLIA_PROVIDER_URL=https://starknet-sepolia.blastapi.io/64168c77-3fa5-4e1e-9fe4-41675d212522/rpc/v0_9
5+
NEXT_PUBLIC_SEPOLIA_PROVIDER_URL=https://starknet-sepolia.g.alchemy.com/starknet/version/rpc/v0_9/_hKu4IgnPgrF8O82GLuYU
66

77
# URL Mainnet
8-
NEXT_PUBLIC_MAINNET_PROVIDER_URL=https://starknet-mainnet.blastapi.io/64168c77-3fa5-4e1e-9fe4-41675d212522/rpc/v0_9
8+
NEXT_PUBLIC_MAINNET_PROVIDER_URL=https://starknet-mainnet.g.alchemy.com/starknet/version/rpc/v0_9/_hKu4IgnPgrF8O82GLuYU
99

1010

packages/snfoundry/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
# Below input your testnet private key
1111
PRIVATE_KEY_SEPOLIA=
1212
# Below input the rpc url of the testnet network
13-
RPC_URL_SEPOLIA=https://starknet-sepolia.public.blastapi.io/rpc/v0_9
13+
RPC_URL_SEPOLIA=https://starknet-sepolia.g.alchemy.com/starknet/version/rpc/v0_9/_hKu4IgnPgrF8O82GLuYU
1414
# Below input your testnet account address
1515
ACCOUNT_ADDRESS_SEPOLIA=
1616

1717
## Mainnet
1818
# Below input your mainnet private key
1919
PRIVATE_KEY_MAINNET=
2020
# Below input the rpc url of the mainnet network
21-
RPC_URL_MAINNET=https://starknet-mainnet.public.blastapi.io/rpc/v0_9
21+
RPC_URL_MAINNET=https://starknet-mainnet.g.alchemy.com/starknet/version/rpc/v0_9/_hKu4IgnPgrF8O82GLuYU
2222
# Below input your mainnet account address
2323
ACCOUNT_ADDRESS_MAINNET=

packages/snfoundry/contracts/Scarb.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2024_07"
66
# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
77

88
[dependencies]
9-
starknet = ">=2.12.0"
9+
starknet = ">=2.12.2"
1010
openzeppelin_access = ">=2.0.0"
1111
openzeppelin_token = ">=2.0.0"
1212

0 commit comments

Comments
 (0)