{"id":28306203,"url":"https://github.com/veloradex/paraswap-subgraph","last_synced_at":"2025-08-04T21:44:23.344Z","repository":{"id":37928787,"uuid":"364615965","full_name":"VeloraDEX/paraswap-subgraph","owner":"VeloraDEX","description":"Subgraph for swaps on ParaSwap","archived":false,"fork":false,"pushed_at":"2023-09-13T11:34:44.000Z","size":249,"stargazers_count":20,"open_issues_count":0,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-31T13:12:09.325Z","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/VeloraDEX.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}},"created_at":"2021-05-05T15:05:18.000Z","updated_at":"2024-12-10T08:44:53.000Z","dependencies_parsed_at":"2025-04-22T12:13:23.527Z","dependency_job_id":"08ff3028-f68a-41b2-a09e-6bde6f17ab16","html_url":"https://github.com/VeloraDEX/paraswap-subgraph","commit_stats":null,"previous_names":["veloradex/paraswap-subgraph"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VeloraDEX/paraswap-subgraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeloraDEX%2Fparaswap-subgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeloraDEX%2Fparaswap-subgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeloraDEX%2Fparaswap-subgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeloraDEX%2Fparaswap-subgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VeloraDEX","download_url":"https://codeload.github.com/VeloraDEX/paraswap-subgraph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeloraDEX%2Fparaswap-subgraph/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261250208,"owners_count":23130538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-05-24T03:14:30.652Z","updated_at":"2025-08-04T21:44:23.318Z","avatar_url":"https://github.com/VeloraDEX.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paraswap Subgraph\n[ParaSwap](https://www.paraswap.io/) aggregates decentralized exchanges and other DeFi services in one comprehensive interface to streamline and facilitate users' interactions with decentralized finance.\n\u003e To read more about Paraswap, visit the official documentaion page [here](https://doc.paraswap.network/).\n\n### About the Subgraph\nThis subgraph dynamically tracks **all the transactions** (swaps) made via Paraswap on the **Ethereum** (mainnet) chain. This subgraph supports Paraswap v0.1.0 to the latest v5 release.\n\n\u003e You can query the subgraph via GraphQL from the legacy explorer [here](https://thegraph.com/hosted-service/subgraph/paraswap/paraswap-subgraph).\n\n### Instructions to run locally\n#### Setup Graph Node\n1. Have a local graph-node setup. Please visit https://github.com/graphprotocol/graph-node for more instructions.\n\n2. Start the local graph-node using the instructions. Replace the `[url]` segment of the cargo command with your RPC provider's url with the network prefix. Example (for mainnet):  \n    ```\n    cargo run -p graph-node --release -- \\\n    --postgres-url postgresql://USERNAME[:PASSWORD]@localhost:5432/graph-node \\\n    --ethereum-rpc mainnet:\u003cURL\u003e \\\n    --ipfs 127.0.0.1:5001\n    ```\n#### Build the Subgraph\n1. Clone the subgraph, and run `yarn codegen` to generate the required schema and TS files.\n2. Run `yarn build` to generate the build files to be deployed.\n3. Run `yarn create-local` followed by `yarn deploy-local` to deploy the subgraph to the local graph-node.\n4. If you wish to remove the local deployed graph, run `yarn remove-local`.\n5. To redploy, follow steps 2 and 3 again.\n\u003e Checkout package.json to check the corresponding yarn commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveloradex%2Fparaswap-subgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveloradex%2Fparaswap-subgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveloradex%2Fparaswap-subgraph/lists"}