File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -602,8 +602,8 @@ Also configure RPC URLs in `packages/nextjs/.env`:
602602
603603```
604604NEXT_PUBLIC_DEVNET_PROVIDER_URL=http://127.0.0.1:5050
605- NEXT_PUBLIC_SEPOLIA_PROVIDER_URL=https://starknet-sepolia.public.blastapi.io/ rpc/v0_9
606- NEXT_PUBLIC_MAINNET_PROVIDER_URL=https://starknet-mainnet.public.blastapi.io/ rpc/v0_9
605+ NEXT_PUBLIC_SEPOLIA_PROVIDER_URL=https://starknet-sepolia.g.alchemy.com/starknet/version/ rpc/v0_10/_hKu4IgnPgrF8O82GLuYU
606+ NEXT_PUBLIC_MAINNET_PROVIDER_URL=https://starknet-mainnet.g.alchemy.com/starknet/version/ rpc/v0_10/_hKu4IgnPgrF8O82GLuYU
607607```
608608
609609#### 3. Deploy your smart contract(s)
Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ export const getWsUrlForChain = (chain: Chain): string => {
4040 sepoliaWs ||
4141 httpToWs (
4242 chain . rpcUrls . public . http [ 0 ] ||
43- "https://starknet-sepolia.public.blastapi.io/ rpc/v0_9 " ,
43+ "https://starknet-sepolia.g.alchemy.com/starknet/version/ rpc/v0_10/_hKu4IgnPgrF8O82GLuYU " ,
4444 )
4545 ) ;
4646 case "mainnet" :
4747 return (
4848 mainnetWs ||
4949 httpToWs (
5050 chain . rpcUrls . public . http [ 0 ] ||
51- "https://starknet-mainnet.public.blastapi.io/ rpc/v0_9 " ,
51+ "https://starknet-mainnet.g.alchemy.com/starknet/version/ rpc/v0_10/_hKu4IgnPgrF8O82GLuYU " ,
5252 )
5353 ) ;
5454 default :
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const mainnetFork = {
2828 http : [ rpcUrlDevnet ] ,
2929 } ,
3030 } ,
31- } as chains . Chain ;
31+ } as const satisfies chains . Chain ;
3232
3333const devnet = {
3434 ...chains . devnet ,
You can’t perform that action at this time.
0 commit comments