Skip to content

Commit c29085f

Browse files
juanmahidalgoKinerius
authored andcommitted
feat: add main The Graph subgraphs to use dcl provider (decentraland#6213)
1 parent d3f77d6 commit c29085f

File tree

2 files changed

+7
-7
lines changed
  • browser-interface/packages/config
  • unity-renderer/Assets/Scripts/MainScripts/DCL/ServiceProviders/TheGraph

2 files changed

+7
-7
lines changed

browser-interface/packages/config/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export namespace ethereumConfigurations {
197197
wss: 'wss://rpc.decentraland.org/mainnet',
198198
http: 'https://rpc.decentraland.org/mainnet',
199199
etherscan: 'https://etherscan.io',
200-
names: 'https://api.thegraph.com/subgraphs/name/decentraland/marketplace',
200+
names: 'https://subgraph.decentraland.org/marketplace',
201201

202202
// contracts
203203
LANDProxy: assertValue(contractInfo.mainnet.LANDProxy),

unity-renderer/Assets/Scripts/MainScripts/DCL/ServiceProviders/TheGraph/TheGraph.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
public class TheGraph : ITheGraph
1212
{
1313
private const float DEFAULT_CACHE_TIME = 5 * 60;
14-
private const string LAND_SUBGRAPH_URL_ORG = "https://api.thegraph.com/subgraphs/name/decentraland/land-manager";
15-
private const string LAND_SUBGRAPH_URL_ZONE = "https://api.thegraph.com/subgraphs/name/decentraland/land-manager-sepolia";
16-
private const string MANA_SUBGRAPH_URL_ETHEREUM = "https://api.thegraph.com/subgraphs/name/decentraland/mana-ethereum-mainnet";
17-
private const string MANA_SUBGRAPH_URL_POLYGON = "https://api.thegraph.com/subgraphs/name/decentraland/mana-matic-mainnet";
18-
private const string NFT_COLLECTIONS_SUBGRAPH_URL_ETHEREUM = "https://api.thegraph.com/subgraphs/name/decentraland/collections-ethereum-mainnet";
19-
private const string NFT_COLLECTIONS_SUBGRAPH_URL_MATIC = "https://api.thegraph.com/subgraphs/name/decentraland/collections-matic-mainnet";
14+
private const string LAND_SUBGRAPH_URL_ORG = "https://subgraph.decentraland.org/land-manager";
15+
private const string LAND_SUBGRAPH_URL_ZONE = "https://api.studio.thegraph.com/query/49472/land-manager-sepolia/version/latest";
16+
private const string MANA_SUBGRAPH_URL_ETHEREUM = "https://subgraph.decentraland.org/mana-ethereum-mainnet";
17+
private const string MANA_SUBGRAPH_URL_POLYGON = "https://subgraph.decentraland.org/mana-matic-mainnet";
18+
private const string NFT_COLLECTIONS_SUBGRAPH_URL_ETHEREUM = "https://subgraph.decentraland.org/collections-ethereum-mainnet";
19+
private const string NFT_COLLECTIONS_SUBGRAPH_URL_MATIC = "https://subgraph.decentraland.org/collections-matic-mainnet";
2020

2121
private readonly IDataCache<List<Land>> landQueryCache = new DataCache<List<Land>>();
2222

0 commit comments

Comments
 (0)