{"id":19336596,"url":"https://github.com/subsquid/substrate-gateway","last_synced_at":"2025-04-23T01:30:51.085Z","repository":{"id":37418679,"uuid":"459482353","full_name":"subsquid/substrate-gateway","owner":"subsquid","description":"graphql server for subsquid archive","archived":true,"fork":false,"pushed_at":"2023-07-24T19:26:05.000Z","size":407,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-13T01:33:53.622Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subsquid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-02-15T08:00:22.000Z","updated_at":"2024-05-23T19:30:38.000Z","dependencies_parsed_at":"2023-02-16T22:31:42.661Z","dependency_job_id":null,"html_url":"https://github.com/subsquid/substrate-gateway","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsquid%2Fsubstrate-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsquid%2Fsubstrate-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsquid%2Fsubstrate-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsquid%2Fsubstrate-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subsquid","download_url":"https://codeload.github.com/subsquid/substrate-gateway/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250352182,"owners_count":21416454,"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:45.571Z","updated_at":"2025-04-23T01:30:50.730Z","avatar_url":"https://github.com/subsquid.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Substrate Gateway\n\n### Graphql api over data from [substrate-ingest](https://github.com/subsquid/squid-sdk/tree/master/substrate/substrate-ingest)\n\n\u003c/div\u003e\n\n# Configuration\n`substrate-gateway` supports configuration via command line arguments.\n```\nOPTIONS:\n    --acala-support\n        Acala's EVM pallet support\n\n    --contracts-support\n        Сontracts pallet support\n\n    --database-max-connections \u003cDATABASE_MAX_CONNECTIONS\u003e\n        Maximum number of connections supported by pool [default: 1]\n\n    --database-statement-timeout \u003cDATABASE_STATEMENT_TIMEOUT\u003e\n        Abort any statement that takes more than the specified amount of ms [default: 0]\n\n    --database-type \u003cDATABASE_TYPE\u003e\n        Database type [default: postgres] [possible values: postgres, cockroach]\n\n    --database-url \u003cDATABASE_URL\u003e\n        Database connection string\n\n    --evm-support\n        EVM pallet support\n\n    --gear-support\n        Gear pallet support\n\n    --scan-max-value \u003cSCAN_MAX_VALUE\u003e\n        Query engine will be upper limited by this amount of blocks [default: 100000]\n\n    --scan-start-value \u003cSCAN_START_VALUE\u003e\n        Number of blocks to start scanning a database [default: 100]\n\n    -h, --help\n        Print help information\n```\n\n# Logging\nLogging can be enabled as follows: `RUST_LOG=substrate_gateway=info`\n\nTo examine sql queries it's required to specify additional log rules: `RUST_LOG=substrate_gateway=info,sqlx=debug`\n\n# Development\n[git-cliff](https://github.com/orhun/git-cliff) is used as a changelog generator\n```bash\ngit cliff --prepend CHANGELOG.md -u --tag \u003clatest-tag\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsquid%2Fsubstrate-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubsquid%2Fsubstrate-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsquid%2Fsubstrate-gateway/lists"}