{"id":15146721,"url":"https://github.com/hayashidamakoto/randomx","last_synced_at":"2026-01-03T02:11:50.880Z","repository":{"id":240562610,"uuid":"802965608","full_name":"HayashidaMakoto/randomx","owner":"HayashidaMakoto","description":"Rust implementation of RandomX, a proof-of-work algorithm based on random code execution","archived":false,"fork":false,"pushed_at":"2024-05-23T21:07:19.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T03:09:55.989Z","etag":null,"topics":["monero","proof-of-work","randomx"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/HayashidaMakoto.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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}},"created_at":"2024-05-19T18:25:11.000Z","updated_at":"2024-05-31T07:34:26.000Z","dependencies_parsed_at":"2024-05-22T22:25:59.318Z","dependency_job_id":"c9d9611b-b7b6-4d0b-bb1e-14bad82f5441","html_url":"https://github.com/HayashidaMakoto/randomx","commit_stats":null,"previous_names":["hayashidamakoto/randomx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HayashidaMakoto%2Frandomx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HayashidaMakoto%2Frandomx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HayashidaMakoto%2Frandomx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HayashidaMakoto%2Frandomx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HayashidaMakoto","download_url":"https://codeload.github.com/HayashidaMakoto/randomx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818204,"owners_count":20352629,"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":["monero","proof-of-work","randomx"],"created_at":"2024-09-26T12:04:09.879Z","updated_at":"2026-01-03T02:11:50.852Z","avatar_url":"https://github.com/HayashidaMakoto.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RandomX, in Rust\n\nRandomX is a proof of work algorithm based on random code execution.\nThe reference implementation is available on\n[GitHub](https://github.com/tevador/RandomX).\n\nThis implementation in Rust aims to follow the specification described in the\noriginal implementation. The commit hash used to mimick this implementation is\n[89aba80](https://github.com/tevador/RandomX/commit/89aba8092595f18946f5b30bf5d84749b69f13e4).\n\nInteresting articles regarding analysis of RandomX:\n- [Trails of bits](https://blog.trailofbits.com/2019/07/02/state/)\n\n\n## Install\n\nThere is no release, yet.\n\nClone the repository and use:\n```shell\ncargo build --release\n```\n\n### Tests\n\n```shell\ncargo install cargo-nextest --locked\ncargo nextest run --release\n```\n\n### Documentation\n\n```shell\nRUSTDOCFLAGS=\"-D warnings\" cargo doc --all-features --no-deps\n```\n\n### Clippy\n\n```shell\ncargo clippy --all-features --all-targets --tests -- -W clippy::all -D warnings\n```\n\n## Plan\n\nThis is a work in progress.\n\nThe work is splitted in different tasks, and \"person-hour\" work is assigned for\neach of them. An expected person-hour work will be assigned when the task\nwill begin in the near future. When the task is completed, the real\n\"person-hour\" work will be added.\n\nThe task includes the understanding of C++ reference implementation, including\ntests and documentation.\nContributions to the reference implementation are not excluded, like additional\ntesting or documentation.\n\nA \"person-day\" work consists of 8 \"person-hours\" work.\nA \"person-week\" work consists of 5 \"person-days\" work.\n\nHere the different steps (can evolve)\n- [x] Starting reading the documentation, implement primitives defines in\n      section 3, setup repository and organization.\n  - **Expected**: 2 person-days work (not planned beforehand)\n  - **Real**: 2 person-days work.\n- [ ] Implementation of the Virtual Machine\n  - [ ] Compiling the program\n  - [ ] Implement each instruction\n  - **Expected**: 2 person-weeks work\n  - **Real**: TBD\n- [ ] Understand and implement SuperscalarHash\n  - **Expected**: 1 person-week work\n  - **Real**: TBD\n- [ ] TBD\n- [ ] Machine optimisations\n\nThe final plan would be to make a C API and try to run (the reference implementation of a)[Monero\nnode](https://github.com/monero-project/monero).\n\n## Contact\n\n- Hayashi Makoto: HayashidaMakoto@proton.me\n\n\nPrivacy is normal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhayashidamakoto%2Frandomx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhayashidamakoto%2Frandomx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhayashidamakoto%2Frandomx/lists"}