{"id":20140892,"url":"https://github.com/roynalnaruto/rs_tx_subgraph","last_synced_at":"2026-04-12T02:35:55.193Z","repository":{"id":41679429,"uuid":"253405362","full_name":"roynalnaruto/rs_tx_subgraph","owner":"roynalnaruto","description":"Subgraph for the RsTx stealth address implementation","archived":false,"fork":false,"pushed_at":"2022-12-11T00:29:40.000Z","size":616,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T06:13:06.540Z","etag":null,"topics":["ethereum","graphql","privacy","stealth","subgraph"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roynalnaruto.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}},"created_at":"2020-04-06T05:39:32.000Z","updated_at":"2020-04-08T20:03:33.000Z","dependencies_parsed_at":"2023-01-26T11:45:23.720Z","dependency_job_id":null,"html_url":"https://github.com/roynalnaruto/rs_tx_subgraph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roynalnaruto/rs_tx_subgraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roynalnaruto%2Frs_tx_subgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roynalnaruto%2Frs_tx_subgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roynalnaruto%2Frs_tx_subgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roynalnaruto%2Frs_tx_subgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roynalnaruto","download_url":"https://codeload.github.com/roynalnaruto/rs_tx_subgraph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roynalnaruto%2Frs_tx_subgraph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31702580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"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":["ethereum","graphql","privacy","stealth","subgraph"],"created_at":"2024-11-13T21:55:32.038Z","updated_at":"2026-04-12T02:35:55.164Z","avatar_url":"https://github.com/roynalnaruto.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RsTx\nRsTx supports [Stealth Addresses](https://www.investopedia.com/terms/s/stealth-address-cryptocurrency.asp) for Ethereum\n\n# Features\n* Create a new master key-pair\n* Transfer funds to a master public key\n* Receive funds sent to a master public key\n\n# Concept\nThe RsTx architecture consists of the following repositories:\n* [Rust Client](https://github.com/roynalnaruto/rs_tx_client) to implement the logic\n* [Smart contracts](https://github.com/roynalnaruto/rs_tx_contracts) to communicate the nonce point\n* [Subgraph](https://github.com/roynalnaruto/rs_tx_subgraph) to query Ethereum blockchain\n\nRsTx implements stealth addresses based on the Diffie-Hellman key agreement protocol. The implementation follows the [mechanism described here](https://en.bitcoin.it/wiki/ECDH_address).\n\nBoth sender and recipient must have an already generated key-pair. The recipient's key-pair will act as a base (master) key, used to calculate the new one-time keys.\n\nAfter a successful transfer, the sender must communicate the `Nonce point` (which is logged after a transfer) to the recipient. The recipient later uses this point to generate the key for the received funds. Without the nonce point, it is not possible to generate the new key.\n\nOnce a transfer has been made, the `nonce_point` is broadcasted to the [RsTx Smart Contract](https://github.com/roynalnaruto/rs_tx_contracts) along with a bytes encoded encrypted form of the recipient's address. The `encrypted_recipient` is used by the recipients in their client to catch or ignore the new RsTx transactions.\n\nSenders can simply run the `scan` command, with an additional block number filter to query RsTx transactions. The GraphQL schema is generated using The Graph Protocol, and the subgraphs can be found here in the [RsTx Subgraph](https://github.com/roynalnaruto/rs_tx_subgraph) repository.\n\n# Getting started\n### Setup\n* Clone this repository\n```\ngit clone git@github.com:roynalnaruto/rs_tx_subgraph.git\n```\n* Get graph node for local development: [Instructions here](https://thegraph.com/docs/quick-start#local-development)\n* Install dependencies and generate schema\n```\nyarn \u0026\u0026 yarn codegen\n```\n* Get [Ganache](https://github.com/trufflesuite/ganache-cli) and run\n```\nnpm install -g ganache-cli\nganache-cli -a=20\n```\n* Create subgraph\n```\nyarn create-local\n```\n* Deploy subgraph\n```\nyarn deploy-local\n```\n\n# License\n[In detail here](https://github.com/roynalnaruto/rs_tx_subgraph/blob/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froynalnaruto%2Frs_tx_subgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froynalnaruto%2Frs_tx_subgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froynalnaruto%2Frs_tx_subgraph/lists"}