{"id":19070860,"url":"https://github.com/ohager/signum-commit-my-balance","last_synced_at":"2026-07-10T05:31:39.554Z","repository":{"id":57359516,"uuid":"376278646","full_name":"ohager/signum-commit-my-balance","owner":"ohager","description":"Commits part or all balance for mining in Signum","archived":false,"fork":false,"pushed_at":"2021-06-12T18:55:27.000Z","size":43,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T09:22:15.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ohager.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-06-12T11:57:30.000Z","updated_at":"2022-08-12T01:06:29.000Z","dependencies_parsed_at":"2022-09-06T22:22:03.728Z","dependency_job_id":null,"html_url":"https://github.com/ohager/signum-commit-my-balance","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ohager/signum-commit-my-balance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohager%2Fsignum-commit-my-balance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohager%2Fsignum-commit-my-balance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohager%2Fsignum-commit-my-balance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohager%2Fsignum-commit-my-balance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohager","download_url":"https://codeload.github.com/ohager/signum-commit-my-balance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohager%2Fsignum-commit-my-balance/sbom","scorecard":{"id":703411,"data":{"date":"2025-08-11","repo":{"name":"github.com/ohager/signum-commit-my-balance","commit":"55fe96143a3792b0e6dfe7641579902475834d2c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-xwcq-pm8m-c4vf","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-9h6g-pr28-7cqp","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T05:47:10.187Z","repository_id":57359516,"created_at":"2025-08-22T05:47:10.187Z","updated_at":"2025-08-22T05:47:10.187Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35322488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T01:21:03.384Z","updated_at":"2026-07-10T05:31:39.533Z","avatar_url":"https://github.com/ohager.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ohager_signum-commit-my-balance\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=ohager_signum-commit-my-balance)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=ohager_signum-commit-my-balance\u0026metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=ohager_signum-commit-my-balance)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ohager_signum-commit-my-balance\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ohager_signum-commit-my-balance)\n![npm](https://img.shields.io/npm/v/signum-commit-my-balance)\n![npm](https://img.shields.io/npm/dm/signum-commit-my-balance?label=Used%20by)\n\n# signum-commit-my-balance\n\n\u003cimg src=\"./img/signum_logo.svg\" alt=\"Signum Logo\" height=\"64\" /\u003e\n\nCommits part or entire balance for mining in Signum\n\nTo boost your mining capacity you need to add so called `commitment' to your mining account.\nThink of it as kind of stake, signalizing that you not only leech the chain, but also are committed to Signum.\n\nRead also: [Optimizing Mining Income on Signum](https://signum-network.medium.com/optimizing-mining-income-with-poc-b3948172d47d)\n\nThis small tool makes adding commitment easy. Together with scheduled jobs of your OS you can automate the process.\n\n\u003e DISCLAIMER: \n\u003e This software comes without any warranty. Keep in mind that you need to use your very secret\n\u003e passphrase to sign the transactions. Although, this software never ever stores or sends \n\u003e the secret to any server, you have to be conscious that you use this tool on your very own risk.\n\u003e The author assumes no responsibility for the use of this program.\n\n# Install\n\n\u003e Prerequisites: Need NodeJS 14+ installed\n\nTo install just type:  `npm i signum-commit-my-balance -g`\n\nThe tool will be installed as command line tool `signumcmb`\n\n# Usage\n\n`signumcmb --help` to show the help options.\n\n```bash\nUsage: signumcmb [options]\n\nOptions:\n  -V, --version              output the version number\n  -s, --secret \u003cyoursecret\u003e  Your Signum accounts passphrase\n  -a, --amount \u003camount\u003e      Commit only amount, can be absolute in Signa, or percentage of balance, i.e. 50% (default: \"100%\")\n  -n, --node \u003curl\u003e           Signum Node Host. Default: selects best node of reliable node list (default: \"\")\n  -x, --exec                 Executes the command. If not set, the commitment will be only simulated (default: false)\n  -f --fee \u003ctype\u003e            Sets fee type by category (choices: \"minimum\", \"cheap\", \"standard\", \"priority\", default: \"standard\")\n  -os, --onsuccess \u003cscript\u003e  Executes a script on successful execution\n  -oe, --onerror \u003cscript\u003e    Executes a script on failed execution\n  -h, --help                 display help for command\n\n```\n\n## Examples\n\n### Running a test run\n\nThe following script runs a test (no commit at all) on committing _all_ balance \n\n```bash\n$ signumcmb -s \"\u003cyour very secret passphrase\u003e\"\n\nOutput: \n\nSelected Peer: https://brazil.signum.network\nAddress: S-K37B-9V85-FB95-793HN - (id: 6502115112683865257)\nAvailable Balance: Ꞩ 1465170.08802094\nLocked Balance: Ꞩ 41005\nCurrent Commitment: Ꞩ 1005\nTotal Balance: Ꞩ 1506175.08802094\nFee: Ꞩ 0.0147\nNew Commitment: Ꞩ 1466175.07332094\nAvailable Balance After Commitment: Ꞩ 0\n🧪 Test Run: Commitment not applied (Run with -x to apply)\n✅ Yay, all fine!\n```\n\n### Running a balance commitment for real (Using `-x`)\n\nThe following script actually commits _50%_ of the accounts available balance as commitment\n\n```bash\n$ signumcmb -s \"\u003cyour very secret passphrase\u003e\" -x -a \"50%\"\n\nOutput:\n\nSelected Peer: https://brazil.signum.network\nAddress: S-K37B-9V85-FB95-793HN - (id: 6502115112683865257)\nAvailable Balance: Ꞩ 1465170.08802094\nLocked Balance: Ꞩ 41005\nCurrent Commitment: Ꞩ 1005\nTotal Balance: Ꞩ 1506175.08802094\nFee: Ꞩ 0.0147\nNew Commitment: Ꞩ 733590.03666047\nAvailable Balance After Commitment: Ꞩ 732585.03666047\nCommitting...\n✅ Successfully committed\n✅ Yay, all fine!\n```\n\n### Adding additional run scripts (in case of success or failure)\n\n`signumcmb` supports exit points for success or failures.\nThis way you can add further processing, like sending emails, or other notifications (telegram, discord etc) in case of success or failure\n\nUse the `-os` or `--onsuccess` option for successful commitments\nUse the `-oe` or `--onerror` option for failures\n\n```bash\n$ signumcmb -s \"\u003cyour very secret passphrase\u003e\" -a \"50%\" -os ./onsuccess.sh -oe ./onerror.sh \n```\n\n#### Script examples\n\n\n__./onerror.sh__\n```bash\n#!/bin/bash\nERR=\"$1\"\necho \"Failed: ${ERR}\"\n```\n\n__./onsuccess.sh__\n```bash\n#!/bin/bash\nACCOUNT=\"$1\"\nCOMMITTED=\"$2\"\necho \"Committed ${COMMITTED} for ${ACCOUNT}\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohager%2Fsignum-commit-my-balance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohager%2Fsignum-commit-my-balance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohager%2Fsignum-commit-my-balance/lists"}