Skip to content

Commit 460a5d7

Browse files
authored
fix(ch-5): repoint dead fork RPC to Alchemy, document shared demo key (#382)
1 parent 54daad9 commit 460a5d7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ In this tab you can start your transaction proposal to either add or remove owne
212212

213213
> Find the `packages/snfoundry/.env` file and fill the env variables related to Sepolia testnet with your own wallet account address and private key.
214214
215+
> 💡 The RPC URL shipped in `.env.example` uses a shared demo Alchemy key. That's fine for a quick first run, but for anything sustained - a workshop, a long session, or a mainnet fork - grab your own free key from [Alchemy](https://www.alchemy.com/). The shared key has one rate limit across everyone using it, and when it throttles you won't see a "rate limited" error - you'll get an opaque parse or fork error and may think your own setup is broken.
216+
>
217+
> If you already have a `packages/snfoundry/.env` from an earlier clone, compare it against `.env.example` - `yarn install` never touches an existing `.env`, so a stale one may still point at the now-decommissioned `public.blastapi.io`. That failure won't say the endpoint is dead either; devnet just reports a raw parse error that looks like devnet itself is broken.
218+
215219
⛽️ You will need to get some `STRK` Sepolia tokens to deploy your contract to Sepolia testnet.
216220

217221
🚀 Run `yarn deploy --network [network]` to deploy your smart contract to a public network (mainnet or sepolia).

packages/snfoundry/contracts/Scarb.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ sort-module-level-items = true
3232

3333
[[tool.snforge.fork]]
3434
name = "SEPOLIA_LATEST"
35-
url = "https://starknet-sepolia.public.blastapi.io/rpc/v0_9"
35+
url = "https://starknet-sepolia.g.alchemy.com/starknet/version/rpc/v0_10/_hKu4IgnPgrF8O82GLuYU"
3636
block_id.tag = "latest"
3737

3838
[tool]

0 commit comments

Comments
 (0)