diff --git a/.changeset/lovely-flies-shake.md b/.changeset/lovely-flies-shake.md new file mode 100644 index 00000000..2dfb286c --- /dev/null +++ b/.changeset/lovely-flies-shake.md @@ -0,0 +1,5 @@ +--- +"create-starknet": patch +--- + +Update template to not use goerli diff --git a/packages/create-starknet/public/templates/next/src/components/starknet-provider.tsx b/packages/create-starknet/public/templates/next/src/components/starknet-provider.tsx index 90a80451..d79097d0 100644 --- a/packages/create-starknet/public/templates/next/src/components/starknet-provider.tsx +++ b/packages/create-starknet/public/templates/next/src/components/starknet-provider.tsx @@ -1,7 +1,7 @@ "use client"; import { ReactNode } from "react"; -import { devnet, goerli, mainnet } from "@starknet-react/chains"; +import { mainnet } from "@starknet-react/chains"; import { StarknetConfig, argent, diff --git a/packages/create-starknet/public/templates/vite/src/main.tsx b/packages/create-starknet/public/templates/vite/src/main.tsx index fe0a0dd7..d860cd79 100644 --- a/packages/create-starknet/public/templates/vite/src/main.tsx +++ b/packages/create-starknet/public/templates/vite/src/main.tsx @@ -1,4 +1,4 @@ -import { devnet, goerli, mainnet } from "@starknet-react/chains"; +import { mainnet } from "@starknet-react/chains"; import { StarknetConfig, argent, @@ -12,7 +12,7 @@ import App from "./App"; import "./globals.css"; function Root({ children }: { children: React.ReactNode }) { - const chains = [goerli, mainnet, devnet]; + const chains = [mainnet]; const provider = publicProvider(); const { connectors } = useInjectedConnectors({ // Show these connectors if the user has no connector installed.