{"id":36692852,"url":"https://github.com/dipdup-io/mempool","last_synced_at":"2026-01-12T11:23:36.024Z","repository":{"id":38823806,"uuid":"359414015","full_name":"dipdup-io/mempool","owner":"dipdup-io","description":"Tezos mempool indexer","archived":false,"fork":false,"pushed_at":"2025-09-29T13:58:28.000Z","size":450,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T00:58:16.131Z","etag":null,"topics":["blockchain","dipdup","indexer","mempool","tezos"],"latest_commit_sha":null,"homepage":"https://ide.dipdup.io?resource=https://mempool.dipdup.net/v1/graphql","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dipdup-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-19T10:10:41.000Z","updated_at":"2025-09-29T13:58:29.000Z","dependencies_parsed_at":"2024-05-06T15:10:52.863Z","dependency_job_id":"f82afc60-54b5-4515-b50c-8faf4c6cdddf","html_url":"https://github.com/dipdup-io/mempool","commit_stats":null,"previous_names":["dipdup-net/mempool"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/dipdup-io/mempool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipdup-io%2Fmempool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipdup-io%2Fmempool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipdup-io%2Fmempool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipdup-io%2Fmempool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dipdup-io","download_url":"https://codeload.github.com/dipdup-io/mempool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dipdup-io%2Fmempool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["blockchain","dipdup","indexer","mempool","tezos"],"created_at":"2026-01-12T11:23:35.303Z","updated_at":"2026-01-12T11:23:36.008Z","avatar_url":"https://github.com/dipdup-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mempool indexer\n\n[![Tests](https://github.com/dipdup-net/mempool/workflows/Tests/badge.svg?)](https://github.com/dipdup-net/mempool/actions?query=workflow%3ATests)\n[![Docker images](https://github.com/dipdup-net/mempool/workflows/Release/badge.svg?)](https://hub.docker.com/r/dipdup/mempool)\n[![Made With](https://img.shields.io/badge/made%20with-dipdup-blue.svg?)](https://dipdup.net)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nSelective Tezos mempool indexer based on DipDup framework.\n\n## Configuration\n\nFully compatible with DipDup YAML configuration file format.  \nMempool indexer reuses [`datasources`][datasources], [`contracts`][contracts],\n[`database`][database], [`hasura`][hasura] sections, and reads its own\nsettings from `mempool` top-level section.  \n\nMempool configuration has two sections: settings and indexers **(required)**.\n\n## Settings\n\nThis section is optional so are all the setting keys.\n\n```yaml\nmempool:\n  settings:\n    keep_operations_seconds: 172800\n    expired_after_blocks: 60\n    keep_in_chain_blocks: 10\n    mempool_request_interval_seconds: 10\n    rpc_timeout_seconds: 10\n  indexers:\n    ...\n```\n\n### keep_operations_seconds\n\nHow long to store operations that did not get into the chain. After that period,\nsuch operations will be wiped from the database. Default value is **172800** **seconds**\n(2 days).\n\n### expired_after_blocks\n\nWhen `level(head) - level(operation.branch) \u003e= expired_after_blocks` and operation is\nstill on in chain it's marked as expired. Default value is **60 blocks** (~1 hour).\n\n### keep_in_chain_blocks\n\nSince the main purpose of this service is to index mempool operations (actually it's a\nrolling index), all the operations that were included in the chain are removed from  the\ndatabase after specified period of time. Default value is **10 blocks** (~10 minutes).\n\n### mempool_request_interval_seconds\n\nHow often Tezos nodes should be polled for pending mempool operations.\nDefault value is **10 seconds**.\n\n### rpc_timeout_seconds\n\nTezos node request timeout. Default value is **10 seconds**.\n\n## Indexers\n\nYou can index several networks at once, or index different nodes independently.\nIndexer names are not standardized, but for clarity it's better to stick with\nsome meaningful keys:\n\n```yaml\n mempool:\n   settings:\n     ...\n   indexers:\n     mainnet:\n       filters:\n         kinds:\n           - transaction\n         accounts:\n           - contract_alias\n       datasources:\n         tzkt: tzkt_mainnet\n         rpc: \n           - node_mainnet\n     edonet:\n     florencenet: \n```\n\nEach indexer object has two keys: `filters` and `datasources` (required).\n\n### Filters\n\nAn optional section specifying which mempool operations should be indexed.\nBy default, all transactions will be indexed.\n\n#### kinds\n\nArray of operations kinds, default value is `transaction` (single item).  \nThe complete list of values allowed:\n\n* `activate_account`\n* `ballot`\n* `delegation`\n* `double_baking_evidence`\n* `double_endorsement_evidence`\n* `endorsement`\n* `endorsement_with_slot`\n* `origination`\n* `proposals`\n* `reveal`\n* `seed_nonce_revelation`\n* `transaction`\n* `register_global_constant`\n* `preendorsement`\n* `set_deposits_limit`\n* `double_preendorsement_evidence`\n* `tx_rollup_origination`\n* `tx_rollup_submit_batch`\n* `tx_rollup_commit`\n* `tx_rollup_return_bond`\n* `tx_rollup_finalize_commitment`\n* `tx_rollup_remove_commitment`\n* `tx_rollup_rejection`\n* `tx_rollup_dispatch_tickets`\n* `transfer_ticket`\n* `vdf_revelation`\n* `Increase_paid_storage`\n* `update_consensus_key`\n* `drain_delegate`\n* `smart_rollup_add_messages`\n* `smart_rollup_originate`\n* `smart_rollup_execute_outbox_message`\n* `smart_rollup_refute`\n* `smart_rollup_publish`\n* `smart_rollup_recover_bond`\n* `smart_rollup_timeout`\n* `smart_rollup_cement`\n\n\n#### accounts\n\nArray of [contract][contracts] aliases used to filter operations by source or destination.  \n**NOTE**: applied to manager operations only.\n\n### Datasources\n\nMempool service is tightly coupled with [TzKT](https://docs.dipdup.io/config/datasources#tzkt)\nand [Tezos node](https://docs.dipdup.io/config/datasources#tezos-node) providers.\n\n#### tzkt\n\nAn alias pointing to a [datasource][datasources] of kind `tzkt` is expected.\n\n#### rpc\n\nAn array of aliases pointing to [datasources][datasources] of kind `tezos-node`  \nPolling multiple nodes allows to detect more refused operations and makes indexing more robust in general.\n\n\n## GQL Client\n\n```\nnpm i @dipdup/mempool\n```\n\nRead [how to use](./build/client/README.md) the GraphQL client for the Mempool service.\n\n\n[datasources]: [https://docs.dipdup.io/config/datasources]\n[contracts]: [https://docs.dipdup.io/config/contracts]\n[database]: [https://docs.dipdup.io/config/database]\n[hasura]: [https://docs.dipdup.io/config/hasura]","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdipdup-io%2Fmempool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdipdup-io%2Fmempool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdipdup-io%2Fmempool/lists"}