Skip to content

Commit

Permalink
Update template to not use goerli
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek committed Apr 4, 2024
1 parent aaac45f commit 076bf45
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/lovely-flies-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-starknet": patch
---

Update template to not use goerli
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
4 changes: 2 additions & 2 deletions packages/create-starknet/public/templates/vite/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { devnet, goerli, mainnet } from "@starknet-react/chains";
import { mainnet } from "@starknet-react/chains";
import {
StarknetConfig,
argent,
Expand All @@ -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.
Expand Down

0 comments on commit 076bf45

Please sign in to comment.