{"id":21221782,"url":"https://github.com/primitivefinance/dfmm-indexer","last_synced_at":"2025-07-10T13:32:56.558Z","repository":{"id":232871390,"uuid":"774647427","full_name":"primitivefinance/dfmm-indexer","owner":"primitivefinance","description":"Indexer for the DFMM protocol","archived":false,"fork":false,"pushed_at":"2024-04-26T19:44:08.000Z","size":130,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-05T14:01:56.749Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/primitivefinance.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}},"created_at":"2024-03-19T23:13:20.000Z","updated_at":"2024-04-23T19:49:10.000Z","dependencies_parsed_at":"2024-04-26T19:23:26.755Z","dependency_job_id":"8d72bb32-fa60-4042-973d-6ab7a0a0ee03","html_url":"https://github.com/primitivefinance/dfmm-indexer","commit_stats":null,"previous_names":["primitivefinance/dfmm-indexer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/primitivefinance/dfmm-indexer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fdfmm-indexer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fdfmm-indexer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fdfmm-indexer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fdfmm-indexer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primitivefinance","download_url":"https://codeload.github.com/primitivefinance/dfmm-indexer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fdfmm-indexer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264585371,"owners_count":23632646,"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":"2024-11-20T22:33:36.273Z","updated_at":"2025-07-10T13:32:56.189Z","avatar_url":"https://github.com/primitivefinance.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup \u0026 Installation\nDFMM Indexer is current setup to run on the most recent DFMM deployment on OP Sepolia Testnet.\n\n1. Run `bun i` to install dependancies.\n2. Create a `.env` file and add an HTTP OP Sepolia Testnet RPC URL under `PONDER_RPC_URL_11155420`\n3. Run `bun dev` to start development server.\n\n# Production Deployment\nFollow the Ponder deployment instructions to easily spin up an indexer enpoint using Railway.\n\n\n# Usage \n## Web Applications\nInternally, Primitive uses Tanstack Query to write queries for dfmm-indexer. Please visit [Tanstack Query v4 documentation](https://tanstack.com/query/v4).\n\n## Static Websites\nStatic webpages must consume gql using `fetch`.  Write an async function that creates the necessary headers, place the gql query within the requestBody, and write a simple loading state.\n\nRemember, dfmm-indexer is not authenticated so we can strip out a lot of common boilerplate. This example demonstates the most simple method of implementing `fetch` in Next.js:\nhttps://github.com/aagam29/graphql-clients/blob/main/pages/fetch.jsx","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimitivefinance%2Fdfmm-indexer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimitivefinance%2Fdfmm-indexer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimitivefinance%2Fdfmm-indexer/lists"}