Skip to content

Commit

Permalink
Merge pull request #1827 from aragon/Add-SUBGRAPH_API_URL
Browse files Browse the repository at this point in the history
Add SUBGRAPH_API_URL
  • Loading branch information
xavikh authored Feb 25, 2025
2 parents 2a474c4 + b0737d2 commit 178aea4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/network-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ export const networkConfigs = {
nodes: {
defaultEth: 'wss://mainnet.eth.aragon.network/ws',
},
connectGraphEndpoint:
'https://gateway.thegraph.com/api/2beceb14035d698246ab171cdf757fb1/subgraphs/id/4yGHqv2uE7zDNxkZcevTMBzwzXKpMm3FGJRJ3c3r5Qw8',
connectGraphEndpoint: `https://gateway.thegraph.com/api/${process.env.SUBGRAPH_API_KEY}/subgraphs/id/4yGHqv2uE7zDNxkZcevTMBzwzXKpMm3FGJRJ3c3r5Qw8`,
settings: {
chainId: 1,
testnet: false,
Expand Down Expand Up @@ -174,7 +173,7 @@ export const networkConfigs = {
},
nodes: {
defaultEth:
'wss://polygon-mumbai.g.alchemy.com/v2/wgOXirpZVAKhsdwji9jzIE2rax8BsmHT',
`wss://polygon-mumbai.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`,
},
connectGraphEndpoint: null,
settings: {
Expand Down

0 comments on commit 178aea4

Please sign in to comment.