{"id":19341911,"url":"https://github.com/sumoprojects/sumokoin-stratum","last_synced_at":"2025-02-24T08:42:06.786Z","repository":{"id":175774920,"uuid":"217265476","full_name":"sumoprojects/sumokoin-stratum","owner":"sumoprojects","description":"Solo mining stratum for Sumokoin with built-in WebUI","archived":false,"fork":false,"pushed_at":"2019-10-25T06:05:31.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-06-16T07:33:21.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sumoprojects.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-24T09:47:30.000Z","updated_at":"2024-06-19T08:57:15.010Z","dependencies_parsed_at":null,"dependency_job_id":"557b928b-890c-4d79-9419-0590c6b59707","html_url":"https://github.com/sumoprojects/sumokoin-stratum","commit_stats":null,"previous_names":["sumoprojects/sumokoin-stratum"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumoprojects%2Fsumokoin-stratum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumoprojects%2Fsumokoin-stratum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumoprojects%2Fsumokoin-stratum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumoprojects%2Fsumokoin-stratum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumoprojects","download_url":"https://codeload.github.com/sumoprojects/sumokoin-stratum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240449502,"owners_count":19803120,"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":"2024-11-10T03:33:04.100Z","updated_at":"2025-02-24T08:42:06.729Z","avatar_url":"https://github.com/sumoprojects.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sumokoin-stratum\n\nHigh performance CryptoNote mining stratum with Web-interface written in Golang.\n\n**Stratum feature list:**\n\n* Be your own pool\n* Rigs availability monitoring\n* Keep track of accepts, rejects, blocks stats\n* Easy detection of sick rigs\n* Daemon failover list\n* Concurrent shares processing\n* Beautiful Web-interface\n\n![](https://cdn.pbrd.co/images/jRU3qJj83.png)\n\n## Installation\n\nDependencies:\n\n  * go-1.6\n  * Everything required to build Sumokoin\n  * Sumokoin source\n\n### Linux\n\nUse Ubuntu 16.04 LTS.\n\nCompile Sumokoin source (with shared libraries option):\n\n    sudo apt update \u0026\u0026 sudo apt install build-essential cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev doxygen graphviz libpgm-dev qttools5-dev-tools libhidapi-dev libusb-dev libprotobuf-dev protobuf-compiler\n    git clone https://github.com/sumoprojects/sumokoin.git\n    cd sumokoin\n    cmake -DBUILD_SHARED_LIBS=1 .\n    make\n    (There is currently a bug waiting to be fixed at Monero, if it doesnt build with that flag please apply this closed pull of XMR https://github.com/monero-project/monero/pull/5938/files )\nInstall Golang and required packages:\n\n    sudo apt-get install golang\n\nClone stratum:\n\n    git clone https://github.com/sumoprojects/sumokoin-stratum.git\n    cd sumokoin-stratum\n\nBuild stratum:\n\n    MONERO_DIR=/path/to/sumokoin cmake .\n    make\n\n`MONERO_DIR=/path/to/sumokoin` is optional, not needed if both `sumokoin` and `sumokoin-stratum` is in the same directory like `/opt/src/`. By default make will search for monero libraries in `../sumokoin`. You can just run `cmake .`.\n\n### Mac OS X\n\nCompile Sumokoin source:\n\n    git clone https://github.com/sumoprojects/sumokoin-stratum.git\n    cd monero\n    cmake .\n    make\n\nInstall Golang and required packages:\n\n    brew update \u0026\u0026 brew install go\n\nClone stratum:\n\n    git clone https://github.com/sumoprojects/sumokoin-stratum.git\n    cd sumokoin-stratum\n\nBuild stratum:\n\n    MONERO_DIR=/path/to/sumokoin cmake .\n    make\n\n### Running Stratum\n\n    ./build/bin/sumokoin-stratum config.json\n\nIf you need to bind to privileged ports and don't want to run from `root`:\n\n    sudo apt-get install libcap2-bin\n    sudo setcap 'cap_net_bind_service=+ep' /path/to/sumokoin-stratum\n\n## Configuration\n\nConfiguration is self-describing, just copy *config.example.json* to *config.json* and run stratum with path to config file as 1st argument.\n\n```javascript\n{\n  // Address for block rewards\n  \"address\": \"YOUR-ADDRESS-NOT-EXCHANGE\",\n  // Don't validate address\n  \"bypassAddressValidation\": true,\n  // Don't validate shares\n  \"bypassShareValidation\": true,\n\n  \"threads\": 2,\n\n  \"estimationWindow\": \"15m\",\n  \"luckWindow\": \"24h\",\n  \"largeLuckWindow\": \"72h\",\n\n  // Interval to poll daemon for new jobs\n  \"blockRefreshInterval\": \"1s\",\n\n  \"stratum\": {\n    // Socket timeout\n    \"timeout\": \"15m\",\n\n    \"listen\": [\n      {\n        \"host\": \"0.0.0.0\",\n        \"port\": 1111,\n        \"diff\": 5000,\n        \"maxConn\": 32768\n      },\n      {\n        \"host\": \"0.0.0.0\",\n        \"port\": 3333,\n        \"diff\": 10000,\n        \"maxConn\": 32768\n      }\n    ]\n  },\n\n  \"frontend\": {\n    \"enabled\": true,\n    \"listen\": \"0.0.0.0:8082\",\n    \"login\": \"admin\",\n    \"password\": \"\",\n    \"hideIP\": false\n  },\n\n  \"upstreamCheckInterval\": \"5s\",\n\n  \"upstream\": [\n    {\n      \"name\": \"Main\",\n      \"host\": \"127.0.0.1\",\n      \"port\": 18081,\n      \"timeout\": \"10s\"\n    }\n  ]\n}\n```\n\nYou must use `anything.WorkerID` as username in your miner. Either disable address validation or use `\u003caddress\u003e.WorkerID` as username. If there is no workerID specified your rig stats will be merged under `0` worker. If mining software contains dev fee rounds its stats will usually appear under `0` worker. This stratum acts like your own pool, the only exception is that you will get rewarded only after block found, shares only used for stats.\n\n### License\n\nReleased under the GNU General Public License v2.\n\nhttp://www.gnu.org/licenses/gpl-2.0.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumoprojects%2Fsumokoin-stratum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumoprojects%2Fsumokoin-stratum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumoprojects%2Fsumokoin-stratum/lists"}