Skip to content

Commit

Permalink
Merge pull request #9 from ensdomains/chore/change-api-endpoints
Browse files Browse the repository at this point in the history
chore: change api endpoints
  • Loading branch information
TateB authored Oct 1, 2024
2 parents 03654c4 + b12e0aa commit be236c4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">

<head>
<meta http-equiv="Content-Security-Policy" content="script-src 'self'">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' static.cloudflareinsights.com">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ENS Deed Reclaim</title>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 3 additions & 4 deletions src/wagmi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
};
Expand All @@ -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"),
},
});

Expand Down

0 comments on commit be236c4

Please sign in to comment.