Skip to content

Commit

Permalink
remove no use code
Browse files Browse the repository at this point in the history
  • Loading branch information
hackfisher authored Oct 9, 2024
1 parent eeae530 commit c73b91a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions context/Web3Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
PUB_WEB3_ENDPOINT,
} from "@/constants";
import {mainnet, darwinia, crab} from "viem/chains";
import type { Chain } from "viem/chains";

// wagmi config
const metadata = {
Expand All @@ -21,19 +20,6 @@ const metadata = {
icons: [PUB_WALLET_ICON],
};

const crabChain: Chain = {
// Define your Crab network configuration
id: 44, // Crab network chain ID
name: "Crab2",
rpcUrls: { default: { http: ["https://crab-rpc.darwinia.network"] } },
nativeCurrency: {
decimals: 18,
name: "Crab",
symbol: "CRAB",
},
blockExplorers: { default: { name: "Carb scab", url: "https://crab-scan.darwinia.network/" } },
};

export const config = createConfig({
chains: [PUB_CHAIN, mainnet, darwinia, crab],
ssr: true,
Expand Down

0 comments on commit c73b91a

Please sign in to comment.