{"id":24461019,"url":"https://github.com/kilnfi/vsuite-subgraph","last_synced_at":"2026-03-05T06:31:31.005Z","repository":{"id":254419911,"uuid":"578273398","full_name":"kilnfi/vsuite-subgraph","owner":"kilnfi","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-19T08:43:20.000Z","size":739,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-19T16:43:02.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kilnfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-14T17:01:03.000Z","updated_at":"2026-01-19T08:42:21.000Z","dependencies_parsed_at":"2025-05-06T00:07:58.337Z","dependency_job_id":"03033adb-e379-432e-9444-7d89779fd505","html_url":"https://github.com/kilnfi/vsuite-subgraph","commit_stats":null,"previous_names":["kilnfi/vsuite-subgraph"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/kilnfi/vsuite-subgraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilnfi%2Fvsuite-subgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilnfi%2Fvsuite-subgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilnfi%2Fvsuite-subgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilnfi%2Fvsuite-subgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kilnfi","download_url":"https://codeload.github.com/kilnfi/vsuite-subgraph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kilnfi%2Fvsuite-subgraph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30112226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-21T04:17:03.501Z","updated_at":"2026-03-05T06:31:30.956Z","avatar_url":"https://github.com/kilnfi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `vsuite-subgraph`\n\n## Run locally\n\n### Requirements\n\n- [docker](https://docs.docker.com/compose/install/)\n- [docker-compose](https://docs.docker.com/compose/install/linux/)\n- [graph cli](https://thegraph.com/docs/en/cookbook/quick-start/)\n- A goerli RPC endpoint (on-premise works better)\n\n### 1. Clone the `graph-node` repo\n\n```\ngit clone https://github.com/graphprotocol/graph-node.git\n```\n\n### 2. Locate the `docker-compose.yml` file\n\n```\ncd graph-node/docker \u0026\u0026 ls\n```\n\n### 3. Edit the `ethereum` environment variable of the `graph-node` service (L.22)\n\n\n```\n...\n      ethereum: 'goerli:ETHEREUM_GOERLI_RPC_ENDPOINT'\n...\n```\n\n### 4. Start everything\n\n```\ndocker-compose up\n```\n\n\n### 5. Register this subgraph on the `graph-node`\n\n```\ngraph codegen subgraph.goerli_fast.yaml\ngraph create --node http://localhost:8020 vsuite-goerli\n```\n\n### 6. Deploy this subgraph\n\n```\ngraph deploy vsuite-goerli --node http://localhost:8020 --ipfs http://localhost:5001 subgraph.goerli_fast.yaml\n```\n\n### 7. Visit the [web UI](http://localhost:8000/subgraphs/name/vsuite-goerli/graphql)\n\nTest the following GraphQL request to ensure everything works well\n\n```\n{\n  nexuses {\n    factories {\n      address\n      pools {\n        address\n      }\n    }\n  }\n}\n```\n\n## Run on chainstack dedicated subgraph\n\nAfter you create an account on [chainstack](https://chainstack.com/), you can deploy this subgraph on their platform.\n\n### 1. Install the graph cli and prepare the environment\n\n```\nyarn global add @graphprotocol/graph-cli\nyarn\ngraph codegen subgraph.testnet_fast.yaml  # or subgraph.mainnet_fast.yaml\n```\n\n### 2. Create a new project\n\nYou'll need to create a new project on chainstack to contain the subgraph.\n\n### 3. Create a new subgraph\n\nThen go into `Subgraphs` \u003e `Add Subgraph` \u003e `Dedicated Subgraph` \nSelect Ethereum and chose the network you want to deploy on. (Mainnet or Holesky)\nThen `Deploy Subgraph`\n\n### 4. Deploy the subgraph\n\nCopy the `Deployment command` and append the `subgraph.mainnet_fast.yaml` or `subgraph.testnet_fast.yaml` to the command according to the network you want to deploy on.\n\n```\n\n`graph deploy --node https://api.graph-ams.p2pify.com/.../deploy --ipfs https://api.graph-ams.p2pify.com/.../ipfs sgr-190-148-475 subgraph.mainnet_fast.yaml\n`\n```\n### 5. Test the GraphQL request\n\nWait for the indexing to happen and test the following GraphQL request in the webUI (next to the indexing bar)\n```\n{\n  nexuses {\n    factories {\n      address\n      pools {\n        address\n      }\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkilnfi%2Fvsuite-subgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkilnfi%2Fvsuite-subgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkilnfi%2Fvsuite-subgraph/lists"}