{"id":50768850,"url":"https://github.com/reddcoin-project/reddcoin-node-api","last_synced_at":"2026-06-11T16:30:54.170Z","repository":{"id":57349562,"uuid":"166888391","full_name":"reddcoin-project/reddcoin-node-api","owner":"reddcoin-project","description":"ReddCoin Node.js Middle layer API For interfacing quickly and easily with reddcoind, ReddID \u0026 Electrumx.","archived":false,"fork":false,"pushed_at":"2019-01-22T09:21:44.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-25T08:55:35.792Z","etag":null,"topics":["api","cryptocurrency-library","cryptocurrency-wallet","electrumx","nodejs","rdd","reddcoin","reddcoind","reddid"],"latest_commit_sha":null,"homepage":"https://api.reddcoin.com","language":"JavaScript","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/reddcoin-project.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-01-21T22:17:15.000Z","updated_at":"2023-01-23T20:15:36.000Z","dependencies_parsed_at":"2022-09-11T16:01:53.248Z","dependency_job_id":null,"html_url":"https://github.com/reddcoin-project/reddcoin-node-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reddcoin-project/reddcoin-node-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddcoin-project%2Freddcoin-node-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddcoin-project%2Freddcoin-node-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddcoin-project%2Freddcoin-node-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddcoin-project%2Freddcoin-node-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reddcoin-project","download_url":"https://codeload.github.com/reddcoin-project/reddcoin-node-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddcoin-project%2Freddcoin-node-api/sbom","scorecard":{"id":767527,"data":{"date":"2025-08-11","repo":{"name":"github.com/reddcoin-project/reddcoin-node-api","commit":"4f30bca9d7046cc2598e61b0da626f2d1028f00f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.4,"checks":[{"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":"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/3 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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p"],"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-23T01:15:44.081Z","repository_id":57349562,"created_at":"2025-08-23T01:15:44.081Z","updated_at":"2025-08-23T01:15:44.081Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34208761,"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-06-11T02:00:06.485Z","response_time":57,"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":["api","cryptocurrency-library","cryptocurrency-wallet","electrumx","nodejs","rdd","reddcoin","reddcoind","reddid"],"created_at":"2026-06-11T16:30:53.267Z","updated_at":"2026-06-11T16:30:54.164Z","avatar_url":"https://github.com/reddcoin-project.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReddCoin Node API\nReddCoin API LIB that exposes `reddcoind` JSON-RPC Methods through a simply structured URL driven API.\n\n## Install\nYou can include the `reddcoin-node-api` easily in your node.js project.\n```javascript\nnpm install reddcoin-node-api\n```\n\n## Example Use\nYou can use `reddcoin-node-api' to expose the reddcoind JSON-RPC through a easy to work with URL Structure/\n### Node (API Instances)\n\n```javascript\nvar rddapi = require('reddcoin-node-api'),\nexpress = require('express'),\napp = express();\n\n// Username and Password can be set in `~/.reddcoin/reddcoin.conf`\nvar rddacc = {\n  host: 'localhost',\n  port: 45443,\n  user: 'reddcoinrpc',\n  pass: 'rddcoinpass'\n};\n\nvar path = '/api';\n\nrddapi.setWalletDetails(rddacc);\nrddapi.setAccess('default-safe');\napp.use(path, rddapi.app); \n\napp.listen(5000);\n```\n\n### Using the API Instance\nYou can call methods from the `reddcoind` JSON-RPC API using a simple URL Structure.\n```\n  http://localhost:5000/PATH/METHOD\n  \n```\n\n### Calling the API Without Parameters\n```\n  http://localhost:5000/api/getinfo\n```\nWould result in a response exactly the same as if were called by the JSON-RPC its self.\n```\n{\n  \"version\": 1,\n  \"protocolversion\": 1,\n  \"walletversion\": 1,\n  \"balance\": 1,\n  \"blocks\": 112345,\n  \"timeoffset\": -2,\n  \"connections\": 8,\n  \"proxy\": \"\",\n  \"testnet\": false,\n  \"keypoololdest\": 1368414896,\n  \"keypoolsize\": 101,\n  \"paytxfee\": 0.0001,\n  \"unlocked_until\": 0,\n  \"errors\": \"\"\n}\n```\n\n#### Calling the API With Parameters\nSometimes you may need to send parameters with your request this can be done in the query string like in the following example call to `getRawTransaction` The parameters match up with those of the `reddcoind` JSON-RPC documentation.\n\n```\nhttp://localhost:5000/api/getrawtransaction?txid=TXID\n```\n\n### Access Control\nThe `only` type restricts method calls to only those in the methods object.\n```\n  rddapi.setAccess('only', ['getinfo']);\n```\n\nRestricting access to certian methods can be done using the `restrict` type.\n```\n  rddapi.setAccess('restrict', ['dumpprivkey', 'sendmany']);\n```\n\nRestrict `reddcoin-node-api` to only call `read-only` methods.\n```\n  rddapi.setAccess('read-only');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddcoin-project%2Freddcoin-node-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freddcoin-project%2Freddcoin-node-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddcoin-project%2Freddcoin-node-api/lists"}