diff --git a/bun.lockb b/bun.lockb index e429f0c..9bded3d 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/index.html b/index.html index e0dea3e..3c28b3c 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + ENS Deed Reclaim diff --git a/package.json b/package.json index cbbbe10..fb5f60d 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "react-dom": "^18.2.0", "react-transition-state": "^1.1.5", "styled-components": "^6.1.11", - "viem": "2.13.6", - "wagmi": "2.9.9" + "viem": "2.19.4", + "wagmi": "2.12.5" }, "devDependencies": { "@biomejs/biome": "^1.1.2", diff --git a/src/wagmi.ts b/src/wagmi.ts index 984259a..d63b2b0 100644 --- a/src/wagmi.ts +++ b/src/wagmi.ts @@ -2,13 +2,12 @@ import { type CheckedChainWithEns, addresses } from "@ensdomains/ensjs/contracts import { http, createConfig } from "wagmi"; import { mainnet } from "wagmi/chains"; import { injected } from "wagmi/connectors"; - -const ENS_SUBGRAPH_API_KEY = "9ad5cff64d93ed2c33d1a57b3ec03ea9"; +import { ENS_SUBGRAPH_URI } from "./constants"; const subgraphs = { 1: { ens: { - url: `https://gateway-arbitrum.network.thegraph.com/api/${ENS_SUBGRAPH_API_KEY}/subgraphs/id/5XqPmWe6gjyrJtFn9cLy237i4cWw2j9HcUJEXsP5qGtH`, + url: ENS_SUBGRAPH_URI, }, }, }; @@ -28,7 +27,7 @@ export const config = createConfig({ chains: [mainnetWithEns], connectors: [injected()], transports: { - [mainnet.id]: http(), + [mainnet.id]: http("https://web3.euc.li/v1/mainnet"), }, });