{"id":17458109,"url":"https://github.com/pocesar/node-detect-cryptocoin","last_synced_at":"2025-09-20T09:46:24.853Z","repository":{"id":9754013,"uuid":"11719371","full_name":"pocesar/node-detect-cryptocoin","owner":"pocesar","description":"Detects which cryptcoin is the given cryptocoin address (starts with some coins listed in CoinWarz.com that have working block explorers)","archived":false,"fork":false,"pushed_at":"2013-07-29T14:25:17.000Z","size":140,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-26T08:39:17.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/pocesar.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":"2013-07-28T12:22:44.000Z","updated_at":"2019-04-25T11:01:15.000Z","dependencies_parsed_at":"2022-08-29T11:01:34.349Z","dependency_job_id":null,"html_url":"https://github.com/pocesar/node-detect-cryptocoin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pocesar/node-detect-cryptocoin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fnode-detect-cryptocoin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fnode-detect-cryptocoin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fnode-detect-cryptocoin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fnode-detect-cryptocoin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pocesar","download_url":"https://codeload.github.com/pocesar/node-detect-cryptocoin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocesar%2Fnode-detect-cryptocoin/sbom","scorecard":{"id":739304,"data":{"date":"2025-08-11","repo":{"name":"github.com/pocesar/node-detect-cryptocoin","commit":"06e9bb4ad9b21a24fa6d550fca21c4104e4f1b89"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/14 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":"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":"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":"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":"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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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 'master'"],"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"}}]},"last_synced_at":"2025-08-22T16:56:12.249Z","repository_id":9754013,"created_at":"2025-08-22T16:56:12.250Z","updated_at":"2025-08-22T16:56:12.250Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276077896,"owners_count":25581305,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"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-10-18T03:54:33.298Z","updated_at":"2025-09-20T09:46:24.830Z","avatar_url":"https://github.com/pocesar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/pocesar/node-detect-cryptocoin.png)](https://travis-ci.org/pocesar/node-detect-cryptocoin)\n\n\nnode-detect-cryptocoin\n======================\n\nDetects which cryptcoin is the given cryptocoin address (starts with some coins listed in CoinWarz.com that have working block explorers)\n\nThis isn't by any means accurate, it's a quick \u0026 dirty check, you have to resolve any conflicts by yourself.\n\nCoins supported out-of-the-box:\n\n* Bitcoin\n* Noirbits\n* Terracoin\n* Krugercoin\n* Bottlecaps\n* Fastcoin\n* Digital Coin\n* BBQCoin\n* Bitbar\n* Novacoin\n* Litecoin\n* Worldcoin\n* Feathercoin\n* Franko\n* Mincoin\n* Stablecoin\n* Megacoin\n* PPCoin\n* Hypercoin\n* Freicoin\n* Alphacoin\n* Namecoin\n* Ixcoin\n* Devcoin\n* Primecoin\n\nThe addresses are checked using base58Check native module (currently doesn't work on Windows, so it's shim'ed)\n\n# Usage\n\n```js\nvar dcc = require('detect-cryptocoin');\n\nvar detected = dcc([\n    '1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu',\n    'LW2kXiquqDu3GfpfBX2xNTSgjVmBPu6g3z',\n    'PNKZEkDf9eBSNebu2CcxHaGuma6wHuZEBh',\n    'ARKZ7uVE1YS19HC8jSq5xZGkr6YAzugWBv'\n    ], ['BTC','LTC','PPC','XPM']);\n    // You may narrow the function results by passing only the allowed/expected list as the second parameter.\n    // everything that isn't in this list is ignored\n\nconsole.log(detected);\n\n// yields:\n{\n  'BTC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu'],\n  'LTC': ['LW2kXiquqDu3GfpfBX2xNTSgjVmBPu6g3z'],\n  'PPC': ['PNKZEkDf9eBSNebu2CcxHaGuma6wHuZEBh'],\n  'XPM': ['ARKZ7uVE1YS19HC8jSq5xZGkr6YAzugWBv'],\n  'conflicts': {},\n  'invalids': []\n}\n\n// add more coins using:\n\ndcc.coins.HKK = {\n    name: 'HongKongKoin',\n    starts: ['h']\n};\n\n// you may do an easy and fast check, using, [COIN SYMBOL].cryptocoinexplorer.com/q/checkaddress/[ADDRESS] for example\n\n// If there's a conflict, you must check with your coin daemon if these addresses exists there, or using an API.\n// They are valid, but they match multiple coins.\n// Check the 'conflicts' member for conflicts:\n\n{\n    'LTC': ['LW2kXiquqDu3GfpfBX2xNTSgjVmBPu6g3z'],\n    'PPC': ['PNKZEkDf9eBSNebu2CcxHaGuma6wHuZEBh'],\n    'XPM': ['ARKZ7uVE1YS19HC8jSq5xZGkr6YAzugWBv'],\n    'conflicts': {\n        'BTC': {\n            'TRC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu'],\n            'DVC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu'],\n            'FRC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu']\n        },\n        'TRC': {\n            'BTC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu'],\n            'DVC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu'],\n            'FRC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu']\n        },\n        'FRC': {\n            'BTC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu'],\n            'DVC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu'],\n            'TRC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu']\n        },\n        'DVC': {\n            'FRC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu'],\n            'BTC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu'],\n            'TRC': ['1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu']\n        }\n    },\n    'invalids': []\n}\n\n// If there are any invalids, they will go in 'invalids' member array\n\n// You may overwrite the original detect.isValid function with your own\n// so you may do your online / daemon check by yourself, it receives 3 arguments:\n// address, detected\n\ndcc.isValid = function(address, detected, list){\n    // you can access dcc.index that is the built index from the available coins\n\n    // detected is an array of possible coins\n    // the current list of allowed/expected coins\n\n    // return a boolean\n    return true;\n};\n\n// be a good citizen, just make sure to backup the original function :)\n```\n\n\n# Do you like it? Wanna support the development?\n\n```bash\nnpm star detect-cryptocoin\n```\n\n`BTC: 1PskTzQjmzqB2boz67AXsv4C5YNWN4xmhu`\n\n`LTC: LW2kXiquqDu3GfpfBX2xNTSgjVmBPu6g3z`\n\n`PPC: PNKZEkDf9eBSNebu2CcxHaGuma6wHuZEBh`\n\n`XPM: ARKZ7uVE1YS19HC8jSq5xZGkr6YAzugWBv`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocesar%2Fnode-detect-cryptocoin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpocesar%2Fnode-detect-cryptocoin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocesar%2Fnode-detect-cryptocoin/lists"}