{"id":19336552,"url":"https://github.com/subsquid/sqd-network","last_synced_at":"2025-04-23T01:30:49.388Z","repository":{"id":241770249,"uuid":"517026030","full_name":"subsquid/sqd-network","owner":"subsquid","description":"A network of decentralized archives","archived":false,"fork":false,"pushed_at":"2025-04-14T11:11:46.000Z","size":1019,"stargazers_count":8,"open_issues_count":17,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-14T12:25:09.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subsquid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-07-23T10:26:35.000Z","updated_at":"2025-04-11T09:50:38.000Z","dependencies_parsed_at":"2024-08-26T15:22:44.520Z","dependency_job_id":"4116a9ad-a70e-45da-ae5e-7147bee82b09","html_url":"https://github.com/subsquid/sqd-network","commit_stats":null,"previous_names":["subsquid/subsquid-network","subsquid/sqd-network"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsquid%2Fsqd-network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsquid%2Fsqd-network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsquid%2Fsqd-network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsquid%2Fsqd-network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subsquid","download_url":"https://codeload.github.com/subsquid/sqd-network/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250352167,"owners_count":21416453,"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-10T03:11:37.912Z","updated_at":"2025-04-23T01:30:48.999Z","avatar_url":"https://github.com/subsquid.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQD Network\n\nThis is a libp2p-based network that allows communication between nodes. See\n[this page](https://github.com/subsquid/subsquid-network-contracts/wiki/Network-architecture)\nfor the network architecture.\n\n## Transport crate\n\nContains the implementation of the libp2p transport protocol for the network.\nIt exposes the simple API for the following predefined actors on the network.\n\n### Worker\n\nMost nodes on the network are workers. Their main purpose is to process queries\nfrom the Gateways.\n\n### Scheduler\n\nThe Scheduler is a centralized controller of data distribution on the network.\nIt assigns chunks to workers based on collected pings and sends them the\nassignments.\n\n### Gateway\n\nThe Gateway is the entry point for the clients. It sends queries to the Workers\nand receives the responses.\n\n### Logs Collector\n\nThe Logs Collector saves the logs it receives to the persistent database for\nfurther analysis.\n\n### Pings Collector\n\nThe Pings Collector instances collect broadcasted pings from the Workers and\nstore them in the database.\n\n## Messages crate\n\nContains protobuf schemas for the messages exchanged between nodes.\n\n## Keygen\n\nA simple binary for generating a keypair for a node.\n\nThe simplest way to use it is by using Docker. The following command will\ngenerate a keypair and save it to the `key` file in the current directory, or\nprint the peer id if the file already exists.\n\n```bash\ndocker run -u $(id -u):$(id -g) -v .:/host subsquid/keygen:tethys /host/key\n```\n\n## Bootnode\n\nThe simplest possible node which acts as a source of information about other\nnodes. It is used by new nodes to connect to the network.\n\n## Contract Client\n\nA client for interacting with the smart contracts through the RPC node.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsquid%2Fsqd-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubsquid%2Fsqd-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsquid%2Fsqd-network/lists"}