{"id":28307593,"url":"https://github.com/adamant-im/adamant-api-jsclient","last_synced_at":"2025-10-05T01:20:53.697Z","repository":{"id":33548421,"uuid":"159361055","full_name":"Adamant-im/adamant-api-jsclient","owner":"Adamant-im","description":"ADAMANT Javascript API library","archived":false,"fork":false,"pushed_at":"2025-08-08T18:28:57.000Z","size":722,"stargazers_count":374,"open_issues_count":5,"forks_count":11,"subscribers_count":111,"default_branch":"dev","last_synced_at":"2025-08-29T19:20:08.842Z","etag":null,"topics":["adamant","adamant-nodes","adm","anonymous","anonymous-messenger","bitcoin","blockchain","chat","communication","crypto","crypto-wallet","cryptocurrency","decentralized-messenger","encryption","messenger","private-keys","secure","secure-messenger","wallet"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Adamant-im.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":["https://adamant.im/donate/"]}},"created_at":"2018-11-27T15:55:17.000Z","updated_at":"2025-08-20T18:51:38.000Z","dependencies_parsed_at":"2024-06-19T00:17:07.585Z","dependency_job_id":"9b8fc9c5-dbd7-49ae-bb86-57484e927b6a","html_url":"https://github.com/Adamant-im/adamant-api-jsclient","commit_stats":{"total_commits":174,"total_committers":11,"mean_commits":"15.818181818181818","dds":0.5862068965517242,"last_synced_commit":"1c19cd642099b27462f741476e8e7393d037484a"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/Adamant-im/adamant-api-jsclient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adamant-im%2Fadamant-api-jsclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adamant-im%2Fadamant-api-jsclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adamant-im%2Fadamant-api-jsclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adamant-im%2Fadamant-api-jsclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Adamant-im","download_url":"https://codeload.github.com/Adamant-im/adamant-api-jsclient/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adamant-im%2Fadamant-api-jsclient/sbom","scorecard":{"id":8571,"data":{"date":"2025-08-11","repo":{"name":"github.com/Adamant-im/adamant-api-jsclient","commit":"07016c89b57863ac379ebfcbf6cf464a0639d3b1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"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":"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":"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":"Code-Review","score":10,"reason":"all changesets reviewed","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":"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":"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":"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":"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: GNU General Public License v3.0: 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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 30 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":0,"reason":"21 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-8hc4-vh64-cxmj","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-xq7p-g2vc-g82p","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-584q-6j8j-r5pm","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"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-14T14:05:39.550Z","repository_id":33548421,"created_at":"2025-08-14T14:05:39.551Z","updated_at":"2025-08-14T14:05:39.551Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399324,"owners_count":25980330,"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-10-04T02:00:05.491Z","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":["adamant","adamant-nodes","adm","anonymous","anonymous-messenger","bitcoin","blockchain","chat","communication","crypto","crypto-wallet","cryptocurrency","decentralized-messenger","encryption","messenger","private-keys","secure","secure-messenger","wallet"],"created_at":"2025-05-24T06:17:04.132Z","updated_at":"2025-10-05T01:20:53.692Z","avatar_url":"https://github.com/Adamant-im.png","language":"TypeScript","funding_links":["https://adamant.im/donate/"],"categories":[],"sub_categories":[],"readme":"# ADAMANT JavaScript API library\n\nADAMANT JavaScript API is a library intended to interact with ADAMANT blockchain for JavaScript developers. Also [ADAMANT Console](https://github.com/Adamant-im/adamant-console/wiki) and [ADAMANT node Direct API](https://github.com/Adamant-im/adamant/wiki/) are available.\n\nFeatures:\n\n- High reliability\n- GET-requests to the blockchain\n- Sending tokens\n- Sending messages\n- Creating a delegate\n- Voting for delegates\n- Caching public keys\n- Encrypting and decrypting of messages\n- Forming and signing transactions\n- Working with ADM key pairs\n- Generating crypto wallets (addresses and keys), bound to ADM account\n- Working with ADAMANT epoch time\n- Support for WebSocket connections\n- Logging warnings, errors, info\n\n## Reliability\n\nJS API shows decentralization in action—if a network node cannot fulfill your request, the library will redirect it to another node, and so on several times. You will get the result and you do not need to think about processing the request.\n\nHealth Check system pings all nodes in the list using [`/status`](https://github.com/Adamant-im/adamant/wiki/API-Specification#get-blockchain-and-network-status) endpoint, and connects to a node with actual height. When the library unable to process request with current node, it forces to re-initialize Health Check.\n\n## Usage\n\nInstall library from npm:\n\n```bash\nnpm i adamant-api\n```\n\nInitialize the library:\n\n```js\nconst { AdamantApi } = require('adamant-api')\n\nconst nodes = [\n  \"http://localhost:36666\",\n  \"https://endless.adamant.im\",\n  \"https://clown.adamant.im\",\n  \"http://23.226.231.225:36666\",\n  \"http://88.198.156.44:36666\",\n  \"https://lake.adamant.im\"\n];\n\nconst api = new AdamantApi({\n  nodes,\n});\n```\n\nRequest example:\n\n```js\nconst response = await api.getBlocks()\n\nconsole.log(response.data)\n```\n\n## Documentation\n\nSee [Wiki](https://github.com/Adamant-im/adamant-api-jsclient/wiki) for documentation and usage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamant-im%2Fadamant-api-jsclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamant-im%2Fadamant-api-jsclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamant-im%2Fadamant-api-jsclient/lists"}