{"id":24066348,"url":"https://github.com/rainlanguage/rain-protocol-subgraph","last_synced_at":"2025-07-25T22:35:29.843Z","repository":{"id":38038427,"uuid":"420618390","full_name":"rainlanguage/rain-protocol-subgraph","owner":"rainlanguage","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-20T17:28:51.000Z","size":11770,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-26T19:27:42.751Z","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/rainlanguage.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}},"created_at":"2021-10-24T07:39:33.000Z","updated_at":"2022-12-21T11:44:27.000Z","dependencies_parsed_at":"2023-02-12T04:00:43.313Z","dependency_job_id":null,"html_url":"https://github.com/rainlanguage/rain-protocol-subgraph","commit_stats":null,"previous_names":["rainlanguage/rain-protocol-subgraph"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rainlanguage/rain-protocol-subgraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainlanguage%2Frain-protocol-subgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainlanguage%2Frain-protocol-subgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainlanguage%2Frain-protocol-subgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainlanguage%2Frain-protocol-subgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rainlanguage","download_url":"https://codeload.github.com/rainlanguage/rain-protocol-subgraph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainlanguage%2Frain-protocol-subgraph/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267073218,"owners_count":24031545,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-09T11:40:44.151Z","updated_at":"2025-07-25T22:35:29.810Z","avatar_url":"https://github.com/rainlanguage.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"// TODO Improve this documentation\n## Development setup (for contributors)\n\n### Nix Shell\n\nInstall the nix shell if you haven't already.\n\n```\ncurl -L https://nixos.org/nix/install | sh\n```\n\nDrop into a nix-shell.\n\n```\nnix-shell\n```\n\nThis will install all the dependencies correctly. The first time will take a while.\n\n### Prepare setup\n\nYou can deploy the subgraph to a existing node or locally with your own node. To prepare you should:\n\n### Run tests\n\nTo complete the setup, you need to run the necessary local nodes (Hardhat and TheGraph). Follow the next steps: - In the actual terminal run: `yarn hardhat-node` to start the hardhat local node. - In a new terminal run: `yarn graph-node` to start the Graph Node. Should wait until the node is started (~50 seconds) - In a new terminal run: `yarn test` to deploy and run the tests.\n\nYou can see GUI of the local subgraph on: `http://localhost:8000/subgraphs/name/vishalkale151071/rain-protocol/graphql`\n\n### Running Graph Node on an Macbook M1\n  \nWe do not currently build native images for Macbook M1, which can lead to processes being killed due to out-of-memory errors (code 137). Based on the example `docker-compose.yml` is possible to rebuild the image for your M1 by running the following, then running `docker-compose up` as normal:\n \n```\n# Remove the original image\ndocker rmi graphprotocol/graph-node:latest\n\n# Build the image\n./docker/build.sh\n\n# Tag the newly created image\ndocker tag graph-node graphprotocol/graph-node:latest\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainlanguage%2Frain-protocol-subgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frainlanguage%2Frain-protocol-subgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainlanguage%2Frain-protocol-subgraph/lists"}