{"id":20140867,"url":"https://github.com/roynalnaruto/rs_tx_contracts","last_synced_at":"2026-05-06T01:35:49.416Z","repository":{"id":43964175,"uuid":"253404933","full_name":"roynalnaruto/rs_tx_contracts","owner":"roynalnaruto","description":"Smart contracts for the RsTx stealth address implementation","archived":false,"fork":false,"pushed_at":"2023-01-24T01:56:26.000Z","size":2464,"stargazers_count":2,"open_issues_count":16,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T23:29:15.583Z","etag":null,"topics":["ecdh","ethereum","privacy","solidity","stealth"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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:36:53.000Z","updated_at":"2024-10-26T01:18:18.000Z","dependencies_parsed_at":"2023-02-13T10:31:11.397Z","dependency_job_id":null,"html_url":"https://github.com/roynalnaruto/rs_tx_contracts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roynalnaruto/rs_tx_contracts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roynalnaruto%2Frs_tx_contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roynalnaruto%2Frs_tx_contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roynalnaruto%2Frs_tx_contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roynalnaruto%2Frs_tx_contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roynalnaruto","download_url":"https://codeload.github.com/roynalnaruto/rs_tx_contracts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roynalnaruto%2Frs_tx_contracts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259854772,"owners_count":22922140,"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":["ecdh","ethereum","privacy","solidity","stealth"],"created_at":"2024-11-13T21:55:24.592Z","updated_at":"2025-10-23T18:07:01.897Z","avatar_url":"https://github.com/roynalnaruto.png","language":"JavaScript","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_contracts.git\n```\n* Install dependencies\n```\nyarn install\n```\n* Get [Ganache](https://github.com/trufflesuite/ganache-cli) and run\n```\nnpm install -g ganache-cli\nganache-cli -a=20\n```\n* Compile contracts\n```\nyarn truffle compile\n```\n* Deploy contracts\n```\nyarn truffle migrate --network development\n```\n\n# License\n[In detail here](https://github.com/roynalnaruto/rs_tx_contracts/blob/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froynalnaruto%2Frs_tx_contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froynalnaruto%2Frs_tx_contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froynalnaruto%2Frs_tx_contracts/lists"}