From 39cb1db1851468ea086261c815998c7b4fcfef2e Mon Sep 17 00:00:00 2001 From: Lucemans Date: Sun, 2 Jun 2024 07:28:44 +0000 Subject: [PATCH] Update Contract & GraphQL API --- src/constants.ts | 2 +- src/hooks/useExpiryNames.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index 7f54ae6..2aa712d 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -3,5 +3,5 @@ import { mainnet, sepolia } from "wagmi/chains"; export const CONTRACT_ADDRESS: { [key: number]: Address } = { [mainnet.id]: "0x0", - [sepolia.id]: "0x8478988df937aeE1b9b25f6016ee5A45eBc1bb39" + [sepolia.id]: "0x53d35F2735293Ca4b5599f378aC41a60b3910Ba5" }; diff --git a/src/hooks/useExpiryNames.tsx b/src/hooks/useExpiryNames.tsx index 0bcebac..69e057e 100644 --- a/src/hooks/useExpiryNames.tsx +++ b/src/hooks/useExpiryNames.tsx @@ -35,7 +35,7 @@ export const useExpiryNames = () => { const x = await axios.post( // Yes, this uses a cors-anywhere bypass. This is a demo. // The streamingfast entrypoint doesnt output the right cors headers - "https://cors-anywhere.herokuapp.com/https://srv.streamingfast.io/9e804b35/graphql", + "https://cors-anywhere.herokuapp.com/https://srv.streamingfast.io/b868bc69/graphql", { query }