Skip to content

Commit

Permalink
Merge pull request #516 from Geo-Web-Project/develop
Browse files Browse the repository at this point in the history
feat: update Superfluid subgraph endpoint (#515)
  • Loading branch information
gravenp committed Jun 12, 2024
2 parents c8c1bb1 + 65b8045 commit 9a39522
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/redux/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ export const makeStore = () => {
return await Framework.create({
chainId: NETWORK_ID,
provider: new ethers.providers.JsonRpcProvider(RPC_URLS_HTTP[NETWORK_ID]),
customSubgraphQueriesEndpoint:
customSubgraphQueriesEndpoint: `https://subgraph-endpoints.superfluid.dev/${
import.meta.env.MODE === "mainnet"
? "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-optimism-mainnet"
: "https://subgraph-endpoints.superfluid.dev/optimism-sepolia/protocol-v1",
? "optimism-mainnet"
: "optimism-sepolia"
}/protocol-v1`,
resolverAddress: SUPERFLUID_RESOLVER_ADDRESS,
});
});
Expand Down

0 comments on commit 9a39522

Please sign in to comment.