{"id":25096622,"url":"https://github.com/sergeantserk/getworkstratumproxy","last_synced_at":"2025-04-17T12:42:26.364Z","repository":{"id":45382313,"uuid":"429648501","full_name":"SergeantSerk/GetworkStratumProxy","owner":"SergeantSerk","description":"A proxy for stratum miners to mine cryptocurrencies on getWork-based servers.","archived":false,"fork":false,"pushed_at":"2025-03-06T12:54:43.000Z","size":123,"stargazers_count":5,"open_issues_count":5,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T06:11:15.563Z","etag":null,"topics":["bridge","cryptocurrency","getwork","mining","proxy","stratum","tcp"],"latest_commit_sha":null,"homepage":"","language":"C#","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/SergeantSerk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-19T02:45:18.000Z","updated_at":"2025-01-20T21:35:54.000Z","dependencies_parsed_at":"2023-01-18T14:45:55.348Z","dependency_job_id":null,"html_url":"https://github.com/SergeantSerk/GetworkStratumProxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergeantSerk%2FGetworkStratumProxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergeantSerk%2FGetworkStratumProxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergeantSerk%2FGetworkStratumProxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergeantSerk%2FGetworkStratumProxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SergeantSerk","download_url":"https://codeload.github.com/SergeantSerk/GetworkStratumProxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249342138,"owners_count":21254228,"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":["bridge","cryptocurrency","getwork","mining","proxy","stratum","tcp"],"created_at":"2025-02-07T16:49:13.407Z","updated_at":"2025-04-17T12:42:26.327Z","avatar_url":"https://github.com/SergeantSerk.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GetworkStratumProxy\n[![Build status](https://ci.appveyor.com/api/projects/status/tly2i35nasi54whm?svg=true)](https://ci.appveyor.com/project/SergeantSerk/getworkstratumproxy)\n[![.NET](https://github.com/SergeantSerk/GetworkStratumProxy/actions/workflows/dotnet.yml/badge.svg)](https://github.com/SergeantSerk/GetworkStratumProxy/actions/workflows/dotnet.yml)\n[![Docker](https://github.com/SergeantSerk/GetworkStratumProxy/actions/workflows/docker-build-publish.yml/badge.svg)](https://github.com/SergeantSerk/GetworkStratumProxy/actions/workflows/docker-build-publish.yml)\n\nGetworkStratumProxy (**GSP**) is a \"reverse\" proxy for stratum miners to mine on getWork-based servers.\n\n **GSP** is specifically for Stratum clients (such as TeamRedMiner, PhoenixMiner or any stratum-capable miner) to getWork-only servers. The motive behind developing this was to use third-party miners to solo mine cryptocurrencies (instead of using ethminer which supported getWork connections).\n\n Currently, **GSP** is tested to work with a private Ethereum network, setup with `puppeth` and mined up to a canonical chain (chain with consensus achieved). Nothing is changed with the jobs sent and received by **GSP**, only that whatever is sent and received to it is relayed to the opposite side. **GSP** has also been used to mine directly on the Callisto mainnet blockchain and successfully proxied the submitted solutions of 14 block validations, using the `ethproxy` proxy mode.\n \n *TeamRedMiner pointed to `stratum+tcp://127.0.0.1:3131` which is **GSP**, **GSP** then relays getWork and submitted jobs to stratum clients and node respectively and then the node verifies submitted works by **GSP**, thus sealing the block.*\n ![image](https://user-images.githubusercontent.com/14278530/142731853-faa491f2-8014-4a4f-a81c-d4c24218509c.png)\n\n# Install\n ## Requirements\n **GSP** is made using C#/.NET 5.0 and .NET SDK is needed to build the solution.\n \n ## Source (release)\n ```\n git clone https://github.com/SergeantSerk/GetworkStratumProxy.git\n cd GetworkStratumProxy\n dotnet build -c Release\n cd GetworkStratumProxy.ConsoleApp/bin/Release/net5.0/\n dotnet GetworkStratumProxy.ConsoleApp.dll --help\n ```\n  \n ## Binaries\n Currently, no binaries are built and added to [releases](https://github.com/SergeantSerk/GetworkStratumProxy/releases) yet. As such, you have to clone this repository and build it yourself. See **Source**.\n\n# Usage\nRunning **GSP** should be fairly straightforward, only ever needing to passing few arguments.\n\n**GSP** currently expects you to pass `--rpc URL` argument, where the URL is a properly constructed URL pointing to a blockchain node that supports `eth_getWork` API, such as `http://127.0.0.1:8545`.\n\n ## Example\n `dotnet GetworkStratumProxy.ConsoleApp.dll --rpc http://127.0.0.1:8545/ -v`\n - It is advised that you use `-v` argument for verbose output for the first run, to see if polling for the server is successful.\n \n `dotnet GetworkStratumProxy.ConsoleApp.dll --rpc http://127.0.0.1:8545/ -v --poll-interval 200`\n - You can specify the `--poll-interval` in milliseconds at which **GSP** polls the server for new jobs. The default value should be fine but can be changed to something lower.\n\n# Contribute\nPleae submit any issues when using **GSP** in order to improve it (such as uncaught exceptions, communication issues).\nYou can contribute to this repository as need be under [licence](LICENSE).\n \n# Donations\nThank you for considering donations, they are always welcome and definitely not necessary.\n\n- `ETH`: `0x6Ce7022F469646F2C5B8eD8c659338CB53F42863`\n- `CLO`: `0x6Ce7022F469646F2C5B8eD8c659338CB53F42863`\n- `XLM`: `GD3ZLSKYOP3TKUSHBJEFZAJK53GIZQFZUXQYQENAY62QAILHOM75RH7C`\n- `ZIL`: `zil12tdr86qjhzj002kmthgwssjndru9cunm75ane5`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeantserk%2Fgetworkstratumproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergeantserk%2Fgetworkstratumproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeantserk%2Fgetworkstratumproxy/lists"}