{"id":26991914,"url":"https://github.com/nuls-io/nuls-v2-sdk4j","last_synced_at":"2026-03-13T19:07:50.048Z","repository":{"id":35315300,"uuid":"193866177","full_name":"nuls-io/nuls-v2-sdk4j","owner":"nuls-io","description":"NULS2.0 Java SDK","archived":false,"fork":false,"pushed_at":"2025-06-06T11:51:20.000Z","size":1289,"stargazers_count":12,"open_issues_count":2,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-07-27T21:08:57.596Z","etag":null,"topics":["java","nuls","nuls-api","nuls-blockchain","sdk","sdk-java"],"latest_commit_sha":null,"homepage":"https://nuls.io","language":"Java","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/nuls-io.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-06-26T08:46:59.000Z","updated_at":"2025-06-06T11:51:23.000Z","dependencies_parsed_at":"2023-01-15T18:07:38.019Z","dependency_job_id":"6d87cca4-6a55-4921-9cd2-2d533d3f75d9","html_url":"https://github.com/nuls-io/nuls-v2-sdk4j","commit_stats":null,"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"purl":"pkg:github/nuls-io/nuls-v2-sdk4j","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuls-io%2Fnuls-v2-sdk4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuls-io%2Fnuls-v2-sdk4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuls-io%2Fnuls-v2-sdk4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuls-io%2Fnuls-v2-sdk4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuls-io","download_url":"https://codeload.github.com/nuls-io/nuls-v2-sdk4j/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuls-io%2Fnuls-v2-sdk4j/sbom","scorecard":{"id":698490,"data":{"date":"2025-08-11","repo":{"name":"github.com/nuls-io/nuls-v2-sdk4j","commit":"4bb1a7577ad8df2de570132532f0e8730f73b5cf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.8,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/29 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":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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":"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":"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 1 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":"23 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-vmq6-5m68-f53m","Warn: Project is vulnerable to: GHSA-6v67-2wr5-gvf4","Warn: Project is vulnerable to: GHSA-pr98-23f8-jwxv","Warn: Project is vulnerable to: GHSA-h46c-h94j-95f3","Warn: Project is vulnerable to: GHSA-jjjh-jjxp-wpff","Warn: Project is vulnerable to: GHSA-rgv9-q543-rqg4","Warn: Project is vulnerable to: GHSA-5mg8-w23w-74h3","Warn: Project is vulnerable to: GHSA-7g45-4rm6-3mm3","Warn: Project is vulnerable to: GHSA-78wr-2p64-hpwj","Warn: Project is vulnerable to: GHSA-cgp8-4m63-fhh5","Warn: Project is vulnerable to: GHSA-fx2c-96vj-985v","Warn: Project is vulnerable to: GHSA-269q-hmxg-m83q","Warn: Project is vulnerable to: GHSA-5jpm-x58v-624v","Warn: Project is vulnerable to: GHSA-prj3-ccx8-p6x4","Warn: Project is vulnerable to: GHSA-xpw8-rcwv-8f8p","Warn: Project is vulnerable to: GHSA-389x-839f-4rhx","Warn: Project is vulnerable to: GHSA-xq3w-v528-46rv","Warn: Project is vulnerable to: GHSA-6mjq-h674-j845","Warn: Project is vulnerable to: GHSA-8xfc-gm6g-vgpv","Warn: Project is vulnerable to: GHSA-hr8g-6v94-x4m9","Warn: Project is vulnerable to: GHSA-v435-xc8x-wvr9","Warn: Project is vulnerable to: GHSA-wjxj-5m7g-mg7q","Warn: Project is vulnerable to: GHSA-jr6h-r7vg-f9mc"],"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-22T04:27:34.504Z","repository_id":35315300,"created_at":"2025-08-22T04:27:34.504Z","updated_at":"2025-08-22T04:27:34.504Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30472990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T17:15:31.527Z","status":"ssl_error","status_checked_at":"2026-03-13T17:15:22.394Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["java","nuls","nuls-api","nuls-blockchain","sdk","sdk-java"],"created_at":"2025-04-03T22:17:37.397Z","updated_at":"2026-03-13T19:07:50.028Z","avatar_url":"https://github.com/nuls-io.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NULS-SDK-4J使用说明\n\n`NULS-SDK-4J`是给用JAVA对接`NULS-API`模块的合作伙伴提供的开发组件。\n\n## maven\n\n此工程已上传到maven中央仓库，可在maven工程中使用：\n\nJDK11的版本依赖：\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.nuls.v2\u003c/groupId\u003e\n    \u003cartifactId\u003esdk4j\u003c/artifactId\u003e\n    \u003cversion\u003e1.1.5.RELEASE\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nJDK8的版本依赖：\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.nuls.v2\u003c/groupId\u003e\n    \u003cartifactId\u003esdk4j-jdk8\u003c/artifactId\u003e\n    \u003cversion\u003e1.1.10.RELEASE\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n注：调用`NULS-SDK-4J`提供的在线接口时，必须先运行`NULS2.0`的`NULS-API`模块。[点击进入NULS-API文档](https://github.com/nuls-io/nuls-v2/blob/release/module/nuls-api/README.md)\n\n\n## 初始化\n\n`NULS-SDK-4J`正常使用之前，需要先初始化，提供当前对接链的链ID和钱包NULS-API模块的url访问地址。SDK提供了三种初始化接口：\n\nNulsSDKBootStrap.init(chianId, httpUrl);     //NULS-SDK工具根据chainId和Url初始化\n\nNulsSDKBootStrap.initMain(httpUrl);           //NULS-SDK工具连接NULS主网钱包初始化\n\nNulsSDKBootStrap.initTest(httpUrl);            //NULS-SDK工具连接NULS测试网钱包初始化\n\n```\n//示例\npublic void initialNulsSDK() {\n    // 模块NULS-API服务的IP和Port\n    String nulsApiUrl = \"http://127.0.0.1:18004/\";\n    NulsSDKBootStrap.initMain(nulsApiUrl);\n}\n```\n\n## API接口文档\n\n我们提供了包含离线、在线的接口的文档\n\n[点击进入接口文档](https://github.com/nuls-io/nuls-v2-sdk4j/blob/master/documents/NULS-V2-SDK4J.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuls-io%2Fnuls-v2-sdk4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuls-io%2Fnuls-v2-sdk4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuls-io%2Fnuls-v2-sdk4j/lists"}