Skip to content

Commit

Permalink
[METADATA] Subgraph V1 Endpoints (#1951)
Browse files Browse the repository at this point in the history
* changed hostedendpoint to canonicalendpoint

* lint error fix

* added api-gateway subgraph endpoints

* update metadata readme

* removed canonical endpoints

* metadata readme update

* try to fix docker-compose

* try to fix by updating docker-compose version

* get docker-compose from the graph's repo

* revert some changes to avoid flaky ci/cd test...

* revert docker-compose whitespace change

---------

Co-authored-by: Kaspar Kallas <git@kasparkallas.com>
  • Loading branch information
mmd-afegbua and kasparkallas authored Jun 12, 2024
1 parent 8a3424d commit 8b4f683
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 137 deletions.
4 changes: 4 additions & 0 deletions packages/metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to the metadata will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v1.2.5]
### Changed
- Use superfluid public subgraph endpoints

## [v1.2.3]
### Changed
- Use Goldsky automation subgraphs over The Graph's hosted service ones
Expand Down
2 changes: 1 addition & 1 deletion packages/metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const network = sfMeta.getNetworkByName("eth-sepolia");
explorer: 'https://optimistic.etherscan.io',
subgraphV1: {
name: 'protocol-v1-optimism-mainnet',
hostedEndpoint: 'https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-optimism-mainnet'
hostedEndpoint: 'https://subgraph-endpoints.superfluid.dev/optimism-mainnet/protocol-v1'
},
publicRPCs: [ 'https://mainnet.optimism.io', 'https://rpc.ankr.com/optimism' ],
coinGeckoId: 'optimistic-ethereum'
Expand Down
91 changes: 46 additions & 45 deletions packages/metadata/main/networks/list.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports =
"subgraphV1": {
"cliName": "fuji",
"name": "protocol-v1-avalanche-fuji",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-avalanche-fuji"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/avalanche-fuji/protocol-v1"
},
"publicRPCs": [
"https://api.avax-test.network/ext/bc/C/rpc",
Expand Down Expand Up @@ -79,7 +79,7 @@ module.exports =
"subgraphV1": {
"cliName": "sepolia",
"name": "protocol-v1-eth-sepolia",
"satsumaEndpoint": "https://subgraph.satsuma-prod.com/c5br3jaVlJI6/superfluid/eth-sepolia/api"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/eth-sepolia/protocol-v1"
},
"publicRPCs": [
"https://rpc.sepolia.org",
Expand Down Expand Up @@ -122,19 +122,19 @@ module.exports =
"subgraphV1": {
"cliName": "optimism-sepolia",
"name": "protocol-v1-optimism-sepolia",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-optimism-sepolia"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/optimism-sepolia/protocol-v1"
},
"subgraphVesting": {
"name": "vesting-v1-optimism-sepolia",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-optimism-sepolia/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/optimism-sepolia/vesting-scheduler"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-optimism-sepolia",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-optimism-sepolia/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/optimism-sepolia/flow-scheduler"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-optimism-sepolia",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-optimism-sepolia/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/optimism-sepolia/auto-wrap"
},
"publicRPCs": [
"https://sepolia.optimism.io"
Expand Down Expand Up @@ -170,7 +170,8 @@ module.exports =
"explorer": "https://sepolia.scrollscan.com/",
"subgraphV1": {
"cliName": "scroll-sepolia",
"name": "protocol-v1-scroll-sepolia"
"name": "protocol-v1-scroll-sepolia",
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/scroll-sepolia/protocol-v1"
},
"publicRPCs": ["https://sepolia-rpc.scroll.io"]
},
Expand Down Expand Up @@ -249,20 +250,19 @@ module.exports =
"subgraphV1": {
"cliName": "gnosis",
"name": "protocol-v1-xdai",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-xdai",
"satsumaEndpoint": "https://subgraph.satsuma-prod.com/c5br3jaVlJI6/superfluid/xdai/api"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/xdai-mainnet/protocol-v1"
},
"subgraphVesting": {
"name": "vesting-v1-xdai-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-xdai-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/xdai-mainnet/vesting-scheduler"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-xdai-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-xdai-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/xdai-mainnet/flow-scheduler"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-xdai-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-xdai-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/xdai-mainnet/auto-wrap"
},
"publicRPCs": [
"https://rpc.gnosischain.com",
Expand Down Expand Up @@ -311,20 +311,19 @@ module.exports =
"subgraphV1": {
"cliName": "matic",
"name": "protocol-v1-matic",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-matic",
"satsumaEndpoint": "https://subgraph.satsuma-prod.com/c5br3jaVlJI6/superfluid/matic/api"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/polygon-mainnet/protocol-v1"
},
"subgraphVesting": {
"name": "vesting-v1-polygon-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-polygon-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/polygon-mainnet/vesting-scheduler"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-polygon-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-polygon-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/polygon-mainnet/flow-scheduler"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-polygon-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-polygon-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/polygon-mainnet/auto-wrap"
},
"publicRPCs": [
"https://polygon-rpc.com",
Expand Down Expand Up @@ -373,19 +372,19 @@ module.exports =
"subgraphV1": {
"cliName": "optimism",
"name": "protocol-v1-optimism-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-optimism-mainnet"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/optimism-mainnet/protocol-v1"
},
"subgraphVesting": {
"name": "vesting-v1-optimism-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-optimism-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/optimism-mainnet/vesting-scheduler"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-optimism-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-optimism-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/optimism-mainnet/flow-scheduler"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-optimism-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-optimism-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/optimism-mainnet/auto-wrap"
},
"publicRPCs": [
"https://mainnet.optimism.io",
Expand Down Expand Up @@ -434,19 +433,19 @@ module.exports =
"subgraphV1": {
"cliName": "arbitrum-one",
"name": "protocol-v1-arbitrum-one",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-arbitrum-one"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/arbitrum-one/protocol-v1"
},
"subgraphVesting": {
"name": "vesting-v1-arbitrum-one",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-arbitrum-one/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/arbitrum-one/vesting-scheduler"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-arbitrum-one",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-arbitrum-one/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/arbitrum-one/flow-scheduler"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-arbitrum-one",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-arbitrum-one/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/arbitrum-one/auto-wrap"
},
"publicRPCs": [
"https://arb1.arbitrum.io/rpc",
Expand Down Expand Up @@ -495,19 +494,19 @@ module.exports =
"subgraphV1": {
"cliName": "avalanche",
"name": "protocol-v1-avalanche-c",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-avalanche-c"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/avalanche-c/protocol-v1"
},
"subgraphVesting": {
"name": "vesting-v1-avalanche-c",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-avalanche-c/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/avalanche-c/vesting-scheduler"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-avalanche-c",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-avalanche-c/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/avalanche-c/flow-scheduler"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-avalanche-c",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-avalanche-c/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/avalanche-c/auto-wrap"
},
"publicRPCs": [
"https://api.avax.network/ext/bc/C/rpc",
Expand Down Expand Up @@ -556,19 +555,19 @@ module.exports =
"subgraphV1": {
"cliName": "bsc",
"name": "protocol-v1-bsc-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-bsc-mainnet"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/bsc-mainnet/protocol-v1"
},
"subgraphVesting": {
"name": "vesting-v1-bsc-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-bsc-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/bsc-mainnet/vesting-scheduler"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-bsc-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-bsc-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/bsc-mainnet/flow-scheduler"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-bsc-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-bsc-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/bsc-mainnet/auto-wrap"
},
"publicRPCs": [
"https://bscrpc.com",
Expand Down Expand Up @@ -612,20 +611,19 @@ module.exports =
"subgraphV1": {
"cliName": "mainnet",
"name": "protocol-v1-eth-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-eth-mainnet",
"satsumaEndpoint": "https://subgraph.satsuma-prod.com/c5br3jaVlJI6/superfluid/eth-mainnet/api"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/eth-mainnet/protocol-v1"
},
"subgraphVesting": {
"name": "vesting-v1-eth-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/vesting-v1-eth-mainnet"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/eth-mainnet/vesting-scheduler"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-eth-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/scheduling-v1-eth-mainnet"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/eth-mainnet/flow-scheduler"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-eth-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/auto-wrap-v1-eth-mainnet"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/eth-mainnet/auto-wrap"
},
"publicRPCs": [
"https://cloudflare-eth.com",
Expand Down Expand Up @@ -668,7 +666,7 @@ module.exports =
"subgraphV1": {
"cliName": "celo",
"name": "protocol-v1-celo-mainnet",
"hostedEndpoint": "https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-v1-celo-mainnet"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/celo-mainnet/protocol-v1"
},
"publicRPCs": ["https://forno.celo.org", "https://rpc.ankr.com/celo"],
"coinGeckoId": "celo"
Expand Down Expand Up @@ -714,19 +712,19 @@ module.exports =
"subgraphV1": {
"cliName": "base",
"name": "protocol-v1-base-mainnet",
"satsumaEndpoint": "https://subgraph.satsuma-prod.com/c5br3jaVlJI6/superfluid/base-mainnet/api"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/base-mainnet/protocol-v1"
},
"subgraphVesting": {
"name": "vesting-v1-base-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/vesting-v1-base-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/base-mainnet/vesting-scheduler"
},
"subgraphFlowScheduler": {
"name": "scheduling-v1-base-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/scheduling-v1-base-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/base-mainnet/flow-scheduler"
},
"subgraphAutoWrap": {
"name": "auto-wrap-v1-base-mainnet",
"hostedEndpoint": "https://api.goldsky.com/api/public/project_clsnd6xsoma5j012qepvucfpp/subgraphs/auto-wrap-v1-base-mainnet/prod/gn"
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/base-mainnet/auto-wrap"
},
"publicRPCs": ["https://developer-access-mainnet.base.org"],
"coinGeckoId": "base"
Expand Down Expand Up @@ -764,7 +762,8 @@ module.exports =
"explorer": "https://scrollscan.com/",
"subgraphV1": {
"cliName": "scroll",
"name": "protocol-v1-scroll-mainnet"
"name": "protocol-v1-scroll-mainnet",
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/scroll-mainnet/protocol-v1"
},
"publicRPCs": ["https://rpc.scroll.io"]
},
Expand Down Expand Up @@ -799,7 +798,9 @@ module.exports =
"logsQueryRange": 50000,
"explorer": "https://explorer.degen.tips/",
"subgraphV1": {
"cliName": "degen"
"cliName": "degen",
"name": "protocol-v1-degenchain",
"hostedEndpoint": "https://subgraph-endpoints.superfluid.dev/degenchain/protocol-v1"
},
"publicRPCs": ["https://rpc.degen.tips"]
}
Expand Down
Loading

0 comments on commit 8b4f683

Please sign in to comment.