{"id":49479869,"url":"https://github.com/graphprotocol/graph-tally","last_synced_at":"2026-04-30T22:01:05.128Z","repository":{"id":354900885,"uuid":"1225774332","full_name":"graphprotocol/graph-tally","owner":"graphprotocol","description":"A fast, efficient and trust-minimized unidirectional micro-payments system.","archived":false,"fork":false,"pushed_at":"2026-04-30T20:55:58.000Z","size":1287,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-30T21:08:29.592Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphprotocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2026-04-30T16:15:40.000Z","updated_at":"2026-04-30T20:45:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/graphprotocol/graph-tally","commit_stats":null,"previous_names":["graphprotocol/graph-tally"],"tags_count":76,"template":false,"template_full_name":null,"purl":"pkg:github/graphprotocol/graph-tally","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fgraph-tally","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fgraph-tally/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fgraph-tally/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fgraph-tally/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphprotocol","download_url":"https://codeload.github.com/graphprotocol/graph-tally/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphprotocol%2Fgraph-tally/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32478162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: 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":[],"created_at":"2026-04-30T22:01:03.401Z","updated_at":"2026-04-30T22:01:05.066Z","avatar_url":"https://github.com/graphprotocol.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graph Tally\n\n| Crate                          | Latest Version                                                                                                                                                                                              |\n| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| **graph_tally_aggregator**     | [![GHCR](https://img.shields.io/github/v/release/graphprotocol/graph-tally?filter=graph_tally_aggregator-*\u0026label=ghcr.io)](https://github.com/graphprotocol/graph-tally/pkgs/container/graph_tally_aggregator) |\n| **graph_tally_core**           | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/graph-tally?filter=graph_tally_core-*)](https://github.com/graphprotocol/graph-tally/releases)        |\n| **graph_tally_eip712_message** | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/graph-tally?filter=graph_tally_eip712_message-*)](https://github.com/graphprotocol/graph-tally/releases) |\n| **graph_tally_graph**          | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/graph-tally?filter=graph_tally_graph-*)](https://github.com/graphprotocol/graph-tally/releases)       |\n| **graph_tally_receipt**        | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/graph-tally?filter=graph_tally_receipt-*)](https://github.com/graphprotocol/graph-tally/releases)     |\n\n## Overview\n\nGraph Tally (formerly TAP - Timeline Aggregation Protocol) facilitates a series of payments from a\nsender to a receiver (Receipts), who aggregates these payments into a single\npayment (a Receipt Aggregate Voucher, or RAV). This aggregate payment can then be\nverified on-chain by a payment verifier, reducing the number of transactions and\nsimplifying the payment process.\n\n## Documentation for Individual Components\n\n- [graph_tally_aggregator](crates/aggregator/README.md)\n\n## Key Components\n\n- **Sender:** Initiates the payment.\n- **Receiver:** Receives the payment.\n- **Signers:** Multiple signers authorized by the sender to sign receipts.\n- **State Channel:** A one-way channel opened by the sender with the receiver\nfor sending receipts.\n- **Receipt:** A record of payment sent by the sender to the receiver.\n- **ReceiptAggregateVoucher (RAV):** A signed message containing the aggregate\nvalue of the receipts.\n- **graph_tally_aggregator:** A service managed by the sender that aggregates receipts\non the receiver's request into a signed RAV.\n- **EscrowAccount:** An account created in the blockchain to hold funds for\nthe sender-receiver pair.\n\n## Security Measures\n\n- The protocol uses asymmetric cryptography (ECDSA secp256k1) to sign and\nverify messages, ensuring the integrity of receipts and RAVs.\n\n## Process\n\n1. **Opening a State Channel:** A state channel is opened via a blockchain\ncontract, creating an EscrowAccount for the sender-receiver pair.\n2. **Sending Receipts:** The sender sends receipts to the receiver through the\nstate channel.\n3. **Storing Receipts:** The receiver stores the receipts and tracks the\naggregate payment.\n4. **Creating a RAV Request:** A RAV request consists of a list of receipts and,\noptionally, the previous RAV.\n5. **Signing the RAV:** The receiver sends the RAV request to the graph_tally_aggregator,\nwhich signs it into a new RAV.\n6. **Tracking Aggregate Value:** The receiver tracks the aggregate value and\nnew receipts since the last RAV.\n7. **Requesting a New RAV:** The receiver sends new receipts and the last RAV\nto the graph_tally_aggregator for a new RAV.\n8. **Closing the State Channel:** When the allocation period ends, the receiver\ncan send the last RAV to the blockchain and receive payment from the EscrowAccount.\n\n## Performance Considerations\n\n- The primary performance limitations are the time required to verify receipts\nand network limitations for sending requests to the graph_tally_aggregator.\n\n## Use Cases\n\n- Graph Tally is suitable for systems that need unidirectional, parallel\nmicro-payments that are too expensive to redeem individually on-chain. By\naggregating operations off-chain and redeeming them in one transaction, costs\nare drastically reduced.\n\n## Compatibility\n\n- The current implementation is for EVM-compatible blockchains, with most of the\nsystem being off-chain.\n\n## Contributing\n\nContributions are welcome! Please submit a pull request or open an issue to\ndiscuss potential changes.\nAlso, make sure to follow the [Contributing Guide](https://github.com/graphprotocol/graph-tally/blob/main/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphprotocol%2Fgraph-tally","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphprotocol%2Fgraph-tally","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphprotocol%2Fgraph-tally/lists"}