{"id":24562557,"url":"https://github.com/veriblock/stratum-veriblock","last_synced_at":"2025-07-11T00:36:39.075Z","repository":{"id":39720994,"uuid":"193973023","full_name":"VeriBlock/stratum-veriblock","owner":"VeriBlock","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-04T19:35:54.000Z","size":143,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-20T04:05:09.869Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VeriBlock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-26T20:26:49.000Z","updated_at":"2021-10-23T09:45:17.000Z","dependencies_parsed_at":"2022-09-20T09:11:31.558Z","dependency_job_id":null,"html_url":"https://github.com/VeriBlock/stratum-veriblock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VeriBlock/stratum-veriblock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeriBlock%2Fstratum-veriblock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeriBlock%2Fstratum-veriblock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeriBlock%2Fstratum-veriblock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeriBlock%2Fstratum-veriblock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VeriBlock","download_url":"https://codeload.github.com/VeriBlock/stratum-veriblock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VeriBlock%2Fstratum-veriblock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264697567,"owners_count":23650955,"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":[],"created_at":"2025-01-23T09:16:14.866Z","updated_at":"2025-07-11T00:36:38.820Z","avatar_url":"https://github.com/VeriBlock.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VeriBlock Stratum Reference Implementation\n\nThis reference implementation is derived from slush0's original Stratum work. The original project can be found here:\n* https://github.com/slush0/stratum\n* https://github.com/slush0/stratum-mining\n\nModification was made to the stratum project to use Python 3.7, and the stratum-mining project customized to proxy VeriBlock NodeCore's UCP protocol and support the VeriBlock header format and hashing algorithm.\n\nIncluded in this repository are the Stratum framework, custom VeriBlock Stratum implementation and a reference CPU miner.\n\n## Build - Stratum Server\nThe Stratum server components are written in Python.\n\nBy convention, all references to `{ROOT}` below represent the root folder of the repository.\n\n### Prerequisites\n* Python 3.7\n* pip\n* virtualenv (Recommended)\n\n### Build Steps\n1. (Optional) Create and activate a virtual environment\n```\n$ cd {ROOT}\\stratum-server\n$ virtualenv -p \"C:\\Python37\\python.exe\" venv\n$ venv\\Scripts\\activate\n```\n\n2. Install required packages\n```\n$ pip install -r requirements.txt\n```\n\n3. Install Stratum framework package (from source)\n```\n$ cd {ROOT}\\stratum-server\\stratum\n$ python setup.py install\n```\n\t\n4. Install vBlake package (from source)\n```\n$ cd {ROOT}\\stratum-server\\vblake\n$ python setup.py install\n```\n\n## Build - Reference PoW Miner\nThe reference PoW miner is written in Java.\n\n1. Build with gradlew\n```\n$ cd {ROOT}\\reference-miner\n$ gradlew clean installDist\n```\n\nThe executable script will be found at `{ROOT}\\reference-miner\\build\\install\\nodecore-pow\\bin`\n\n## Run\n\n1. Start NodeCore. NodeCore should be built and run from the source code feature branch `feature/stratum`\n2. Start a **SOLO** mining pool on NodeCore, by issuing the RPC command `startsolopool` via CLI or HTTP API.\n3. Run the Stratum server instance\n```\n\t$ cd {ROOT}\\stratum-server\n\t$ twistd -ny launcher.tac\n```\n4. Run the reference PoW miner. The Stratum server will be running at `127.0.0.1:3333` and should be the value used to connect to in the miner.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveriblock%2Fstratum-veriblock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveriblock%2Fstratum-veriblock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveriblock%2Fstratum-veriblock/lists"}