{"id":21658359,"url":"https://github.com/0chain/zwalletcli","last_synced_at":"2026-01-23T01:52:04.061Z","repository":{"id":37017602,"uuid":"191838462","full_name":"0chain/zwalletcli","owner":"0chain","description":"A client CLI using GoSDK to interface the blockchain, and smart contracts for interest, lock, stake, and vesting","archived":false,"fork":false,"pushed_at":"2025-12-06T22:36:31.000Z","size":13699,"stargazers_count":21,"open_issues_count":32,"forks_count":19,"subscribers_count":11,"default_branch":"staging","last_synced_at":"2026-01-14T23:47:32.119Z","etag":null,"topics":["blockchain","lock-tokens","miner-sc","vesting-pools","wallet"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0chain.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,"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}},"created_at":"2019-06-13T21:57:24.000Z","updated_at":"2025-10-08T14:39:27.000Z","dependencies_parsed_at":"2023-02-15T08:16:13.824Z","dependency_job_id":"e4006d93-7bb4-4ef9-ad2a-4ba6a98be6e8","html_url":"https://github.com/0chain/zwalletcli","commit_stats":null,"previous_names":["0chain/zwalletcmd"],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/0chain/zwalletcli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0chain%2Fzwalletcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0chain%2Fzwalletcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0chain%2Fzwalletcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0chain%2Fzwalletcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0chain","download_url":"https://codeload.github.com/0chain/zwalletcli/tar.gz/refs/heads/staging","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0chain%2Fzwalletcli/sbom","scorecard":{"id":266,"data":{"date":"2025-08-11","repo":{"name":"github.com/0chain/zwalletcli","commit":"d212a5c047c1a90c0e28b159359dab85e7479ff2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.8,"checks":[{"name":"Code-Review","score":5,"reason":"Found 5/10 approved changesets -- score normalized to 5","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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/automate-add-issue-in-project.yaml:1","Warn: no topLevel permission defined: .github/workflows/backup.yml:1","Warn: no topLevel permission defined: .github/workflows/build-zwallet.yaml:1","Warn: no topLevel permission defined: .github/workflows/distribute-zwalletcli-apt.yml:1","Warn: no topLevel permission defined: .github/workflows/distribute-zwalletcli-choco.yml:1","Warn: no topLevel permission defined: .github/workflows/gosdk.yml:1","Warn: no topLevel permission defined: .github/workflows/release-zwalletcli.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/system_tests.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Info: no jobLevel write permissions found"],"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":0,"reason":"dangerous workflow patterns detected","details":["Warn: script injection with untrusted input ' github.head_ref ': .github/workflows/tests.yml:68","Warn: script injection with untrusted input ' github.head_ref ': .github/workflows/tests.yml:68"],"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: [ must follow a name: .github/workflows/tests.yml:68","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/automate-add-issue-in-project.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/automate-add-issue-in-project.yaml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/backup.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/backup.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/backup.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/backup.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-zwallet.yaml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/build-zwallet.yaml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-zwallet.yaml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/build-zwallet.yaml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-zwallet.yaml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/build-zwallet.yaml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-zwallet.yaml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/build-zwallet.yaml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-zwallet.yaml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/build-zwallet.yaml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-zwallet.yaml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/build-zwallet.yaml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-zwallet.yaml:113: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/build-zwallet.yaml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-zwallet.yaml:118: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/build-zwallet.yaml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-zwallet.yaml:124: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/build-zwallet.yaml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/distribute-zwalletcli-apt.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/distribute-zwalletcli-apt.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/distribute-zwalletcli-apt.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/distribute-zwalletcli-apt.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/distribute-zwalletcli-apt.yml:126: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/distribute-zwalletcli-apt.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/distribute-zwalletcli-apt.yml:142: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/distribute-zwalletcli-apt.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/distribute-zwalletcli-apt.yml:178: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/distribute-zwalletcli-apt.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/distribute-zwalletcli-apt.yml:265: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/distribute-zwalletcli-apt.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/distribute-zwalletcli-apt.yml:270: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/distribute-zwalletcli-apt.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/distribute-zwalletcli-choco.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/distribute-zwalletcli-choco.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/distribute-zwalletcli-choco.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/distribute-zwalletcli-choco.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gosdk.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/gosdk.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gosdk.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/gosdk.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/gosdk.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/gosdk.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:98: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:114: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:137: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:151: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:167: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:172: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-zwalletcli.yml:187: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release-zwalletcli.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:123: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:129: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:139: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:156: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:161: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:188: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:199: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:205: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:215: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:232: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:237: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:269: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:275: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/release.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/system_tests.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/system_tests.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/tests.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/tests.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/tests.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/tests.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/tests.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/tests.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:106: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/tests.yml/staging?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:124: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/tests.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/tests.yml/staging?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/0chain/zwalletcli/tests.yml/staging?enable=pin","Warn: containerImage not pinned by hash: scripts/debian/Dockerfile.build:1","Warn: containerImage not pinned by hash: scripts/debian/Dockerfile.install_test:5","Warn: downloadThenRun not pinned by hash: scripts/debian/Dockerfile.install_test:15-16","Warn: pipCommand not pinned by hash: .github/workflows/backup.yml:29","Info:   0 out of  47 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  20 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.18.0 not signed: https://api.github.com/repos/0chain/zwalletcli/releases/186559805","Warn: release artifact v1.17.0 not signed: https://api.github.com/repos/0chain/zwalletcli/releases/174565996","Warn: release artifact v1.11.1 not signed: https://api.github.com/repos/0chain/zwalletcli/releases/135186440","Warn: release artifact v1.10.0 not signed: https://api.github.com/repos/0chain/zwalletcli/releases/119959696","Warn: release artifact v1.2.3 not signed: https://api.github.com/repos/0chain/zwalletcli/releases/95835619","Warn: release artifact v1.18.0 does not have provenance: https://api.github.com/repos/0chain/zwalletcli/releases/186559805","Warn: release artifact v1.17.0 does not have provenance: https://api.github.com/repos/0chain/zwalletcli/releases/174565996","Warn: release artifact v1.11.1 does not have provenance: https://api.github.com/repos/0chain/zwalletcli/releases/135186440","Warn: release artifact v1.10.0 does not have provenance: https://api.github.com/repos/0chain/zwalletcli/releases/119959696","Warn: release artifact v1.2.3 does not have provenance: https://api.github.com/repos/0chain/zwalletcli/releases/95835619"],"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":-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 28 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: GO-2024-2818 / GHSA-3jgf-r68h-xfqm","Warn: Project is vulnerable to: GO-2024-3189 / GHSA-27vh-h6mc-q6g8","Warn: Project is vulnerable to: GO-2024-2819 / GHSA-4xc9-8hmq-j652","Warn: Project is vulnerable to: GHSA-v9jh-j8px-98vq","Warn: Project is vulnerable to: GO-2024-3250 / GHSA-29wx-vh33-7x7r","Warn: Project is vulnerable to: GO-2025-3553 / GHSA-mh63-6h87-95cp","Warn: Project is vulnerable to: GO-2024-2947 / GHSA-v6v8-xj6m-xwqh","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"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-14T12:21:25.434Z","repository_id":37017602,"created_at":"2025-08-14T12:21:25.434Z","updated_at":"2025-08-14T12:21:25.434Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28677714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"ssl_error","status_checked_at":"2026-01-23T01:00:19.529Z","response_time":144,"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":["blockchain","lock-tokens","miner-sc","vesting-pools","wallet"],"created_at":"2024-11-25T09:29:08.979Z","updated_at":"2026-01-23T01:52:04.040Z","avatar_url":"https://github.com/0chain.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# zwallet - a CLI for Züs wallet\n\n`zwallet` is a command line interface (CLI) to demonstrate the wallet functionalities of Züs.  For more information on Züs Network and the system overview, refer to [docs.zus.network](https://docs.zus.network).\n\nThe CLI utilizes the [Züs GoSDK](https://github.com/0chain/gosdk).\n- [zwallet - a CLI for Züs wallet](#zwallet---a-cli-for-züs-wallet)\n  - [Architecture](#architecture)\n  - [Getting started](#getting-started)\n    - [1. Installation](#1-installation)\n    - [2. Run `zwallet` commands](#2-run-zwallet-commands)\n  - [Global parameters](#global-parameters)\n  - [Commands](#commands)\n    - [Set up bash autocompletion - `zwallet completion`](#set-up-bash-autocompletion---zwallet-completion)\n    - [Creating and restoring wallets](#creating-and-restoring-wallets)\n      - [Creating wallet - (any command)](#creating-wallet---any-command)\n      - [Recovering wallet - `recoverwallet`](#recovering-wallet---recoverwallet)\n    - [Exploring network nodes](#exploring-network-nodes)\n      - [Listing all miners - `ls-miners`](#listing-all-miners---ls-miners)\n      - [Listing all sharders -`ls-sharders`](#listing-all-sharders--ls-sharders)\n      - [Listing all blobbers - `getblobbers`](#listing-all-blobbers---getblobbers)\n      - [Listing all authorizers - `bridge-list-auth`](#list-authorizers---bridge-list-auth)\n      - [Getting Auhorizer Configuration - `bridge-auth-config`](#get-authorizer-configuration)\n      - [Getting node ID by URL - `getid`](#getting-node-id-by-url---getid)\n      - [Getting Storage Smart Contract Configuration - `sc-config`](#show-storage-smart-contract-configuration)\n      - [Getting Global Configuration - `global-config`](#show-global-configurations)\n      - [Get Version - `get-version`](#get-version)\n    - [Getting and sending tokens](#getting-and-sending-tokens)\n      - [Getting tokens with Faucet smart contract - `faucet`](#getting-tokens-with-faucet-smart-contract---faucet)\n      - [Checking balance - `getbalance`](#checking-balance---getbalance)\n      - [Sending tokens to another wallet - `send`](#sending-tokens-to-another-wallet---send)\n      - [Verifying a transaction - `verify`](#verifying-a-transaction---verify)\n      - [Collect rewards - `collect-reward`](#collect-rewards)  \n      - [Get nonce - `getnonce`](#get-nonce)\n      - [Reset User nonce - `reset-user-nonce`](#reset-nonce)\n    - [Staking on miners and sharders](#staking-on-miners-and-sharders)\n      - [Getting the staking config - `mn-config`](#getting-the-staking-config---mn-config)\n      - [Getting a miner or sharder info for staking - `mn-info`](#getting-a-miner-or-sharder-info-for-staking---mn-info)\n      - [Locking a stake on a node - `mn-lock`](#locking-a-stake-on-a-node---mn-lock)\n    - [Getting the stake pools of a wallet - `mn-user-info`](#getting-the-stake-pools-of-a-wallet---mn-user-info)\n      - [Getting the stake pool info - `mn-pool-info`](#getting-the-stake-pool-info---mn-pool-info)\n      - [Unlock a stake - `mn-unlock`](#unlock-a-stake---mn-unlock)\n      - [Updating staking config of a node - `mn-update-settings`](#updating-staking-config-of-a-node---mn-update-settings)\n    - [Removing/Killing nodes](#killing/deleting-a-node)\n      - [Killing a miner - `mn-kill`](#killing-a-miner---mn-kill)\n      - [Killing a sharder - `sh-kill`](#killing-a-sharder---sh-kill)\n    - [Bridge](#bridge-commands)\n      - [Import Account](#import-account---bridge-import-account)\n      - [List Accounts](#list-accounts---bridge-list-accounts)\n      - [Burn ETH](#burn-eth---bridge-burn-eth)\n      - [Burn BNT](#burn-bnt---bridge-burn-bnt)\n      - [Burn EURC](#burn-eurc---bridge-burn-eurc)\n      - [Burn USDC](#burn-usdc---bridge-burn-usdc)\n      - [Burn WZCN](#burn-wzcn---bridge-burn-wzcn)\n      - [Burn ZCN](#burn-zcn---bridge-burn-zcn)\n      - [Get WZCN Burn](#get-wzcn-burn---bridge-get-wzcn-burn)\n      - [Get ZCN Burn](#get-zcn-burn---bridge-get-zcn-burn)\n      - [Mint ZCN](#mint-zcn---bridge-mint-zcn)\n      - [Mint WZCN](#mint-wzcn---bridge-mint-wzcn)\n      - [Verify Transaction](#verify-transaction---bridge-verify)\n  - [Config](#config)\n    - [~/.zcn/config.yaml](#zcnconfigyaml)\n    - [(Optional) Override Network](#override-network)\n\n## Architecture\n\n`zwallet` can be configured to work with any Züs network. It uses a config and a wallet file stored on the local filesystem.\n\nFor most transactions, `zwallet` uses the `0dns` to discover the network nodes, then creates and submits transaction(s) to the miners, and finally waits for transaction confirmation on the sharders.\n\n![architecture](docs/architecture.png \"Architecture\")\n\n## Getting started\n\n### 1. Installation\n\n**Prerequisites**\n\n- Go: Installation instructions for Mac, Linux and Windows can be found [here](https://go.dev/doc/install).\n\n**Procedures**\n\n1. Clone the `zwalletcli` repo and install\n\n```sh\ngit clone https://github.com/0chain/zwalletcli.git\ncd zwalletcli\nmake install\n```\n\n2. Add config yaml at `~/.zcn/config.yaml`\n\nThe following script sets `https://demo.zus.network` as your network.\n\n```sh\ncat \u003e ~/.zcn/config.yaml \u003c\u003c EOF\nblock_worker: https://dev.zus.network/dns\nsignature_scheme: bls0chain\nmin_submit: 50 # in percentage\nmin_confirmation: 50 # in percentage\nconfirmation_chain_length: 3\nEOF\n```\n3. Run `zwallet` to display the list of supported commands.\n\n```sh\n./zwallet\n```\n----\nFor machine requirements and pre-requisites, follow the guides below:\n\n- [How to build on Linux/Mac](https://github.com/0chain/zwalletcli/wiki/Build-on-Linux-and-Mac)\n- [How to build on Windows](https://github.com/0chain/zwalletcli/wiki/Build-Windows)\n\n### 2. Run `zwallet` commands\n\nThe following steps assume that your terminal's working directory is inside the `zwalletcli` repo.\n\n## Global parameters\n\n`zwallet` accept global parameters to override default configuration and can be used in any command.\n\n| Parameter     | Description                     | Default        |\n| ------------- | ------------------------------- | -------------- |\n| `--h,--help`  | Show help/parameters for a particular command                       |                |\n| `--config`    | [Config file](https://github.com/0chain/zwalletcli/blob/staging/network/config.yaml) and [description](https://github.com/0chain/zwalletcli#zcnconfigyaml)   | `config.yaml`  |\n| `--configDir` | Config directory                | `~/.zcn`       |\n| `--network`   | [Network file](#override-network) | `network.yaml` |\n| `--silent`    | Do not print detailed logs      | `false`        |\n| `--wallet`    | Wallet file                     | `wallet.json`  |\n| `--withNonce` | Nonce that will be used in transaction    | `0`  |\n| `--fee`       | Transaction Fee for given transaction     | if not set, default is blockchain min fee  |\n\n## Commands\n\n### Set up bash autocompletion - `zwallet completion`\n\nGenerate the autocompletion script for zwallet for the specified shell and instructions to enable them.\n\nSample Usage:\n\n```sh\n  zwallet completion [command]\n```\n\ncommands : bash/fish/powershell/zsh based on the specified shell\n\nSee each sub-command's help for details on how to use the generated script.\n\n### Creating and restoring wallets\n\n#### Creating wallet - (any command)\n\nSimply run  `create-wallet` command and it will create a wallet if none exist yet.\n\n![create wallet](docs/createwallet.png \"Create wallet\")\n\nHere is a sample with `create-wallet` command and this creates a wallet at default location`~/.zcn/wallet.json`\n\n```sh\n./zwallet create-wallet\n```\nSample Output \n\n```\nwallet saved in /home/ubuntu/.zcn/wallet.json\n{\"client_id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n\"client_key\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n\"keys\":[{\"public_key\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n\"private_key\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"}],\n\"mnemonics\":\"xxxx xxxx xxxx xxxxx\",\n\"version\":\"1.0\",\"date_created\":\"2023-05-03T12:44:46+05:30\",\"nonce\":0}\n```\n\n#### Recovering wallet - `recoverwallet`\n\n`recoverwallet` is used when restoring a lost wallet or when loading the wallet from a different computer.\n\nGiven a wallet's mnemonics, you can recover and recreate your wallet.\n\n| Parameter    | Required | Description                            | Default | Valid Values |\n| ------------ | -------- | -------------------------------------- | ------- | ------------ |\n| `--mnemonic` | Yes      | The mnemonics of the wallet to recover |         |              |\n| `--offline`  | No       | recover wallet without registration on blockchain|  false  |              |\n\n![recover wallet](docs/recoverwallet.png \"Recover wallet\")\n\nSample command\n\n```sh\n./zwallet recoverwallet --wallet recovered_wallet.json --mnemonic \"pull floor crop best weasel suit solid gown filter kitten loan absent noodle nation potato planet demise online ten affair rich panel rent sell\"\n```\n\nSample output\n\n```\nWallet recovered!!\n```\n\nVerify recovered wallet\n\n```sh\ncat ~/.zcn/recovered_wallet.json\n```\n### Exploring network nodes\n\n#### Listing all miners - `ls-miners`\n\nThe list of miners are retrieved using the Miner smart contract.\n\n| Parameter   | Required | Description          | Default | Valid Values      |\n| ----------- | -------- | -------------------- | ------- | ----------------- |\n| `--json`    | No       | Print output as JSON |         | \u003cempty to enable\u003e |\n| `--active`  | No       | Gets active miners only, set it false to get all miners |   true    | boolean |\n| `--all`     | No       | Include all registered miners, default returns the first page of miners |         | \u003cempty to enable\u003e |\n| `--limit`   | No       | Limits the number of miners returned | 20      | integer |\n| `--offset`  | No       | Skips the number of miners mentioned |         | integer |\n| `--stakable`| No       | Gets stakable miners only if set to true | false        |  boolean  |\n\n\n![List miner nodes](docs/ls-miners.png \"List miner nodes\")\n\n```sh\n./zwallet ls-miners\n```\n\nSample output\n\n```\n- ID:         cdb9b5a29cb5f48b350481694c4645c2db24500e3af210e22e2d10477a68bad2\n- Host:       demo1.zus.network\n- Port:       31203\n- ID:         3d9a10dac6fb3903d4a5283a42ae07b29d8e5d228afcce9bfc14e3e9dbc82748\n- Host:       demo2.zus.network\n- Port:       31201\n- ID:         aaa721d5fbf4ca83e20c8c40874ebcb144b86f57173633ff1702968677c2fa98\n- Host:       demo3.zus.network\n- Port:       31202\n```\n\n#### Listing all sharders -`ls-sharders`\n\nThe list of sharders are retrieved using the latest finalized magic block. All registered sharders can be retrieved with the `--all` parameter.\n\n| Parameter | Required | Description                             | Default | Valid Values      |\n| --------- | -------- | --------------------------------------- | ------- | ----------------- |\n| `--json`    | No       | Print output as JSON |         | \u003cempty to enable\u003e |\n| `--active`  | No       | Gets active miners only, set it false to get all miners |   true    | boolean |\n| `--all`     | No       | Include all registered miners, default returns the first page of miners |         | \u003cempty to enable\u003e |\n| `--limit`   | No       | Limits the number of miners returned | 20      | integer |\n| `--offset`  | No       | Skips the number of miners mentioned |         | integer |\n| `--stakable`| No       | Gets stakable miners only if set to true | false        |  boolean  |\n\n![List sharder nodes](docs/ls-sharders.png \"List sharder nodes\")\n\n```sh\n./zwallet ls-sharders --all\n```\n\nSample output\n\n```\nMagicBlock Sharders\nID: 12e317e5d7a4a0a914ec26074e28f00502c735ddf7ac7d156b34e83e39792a9d\n  - N2NHost: demo1.zus.network\n  - Host: demo1.zus.network\n  - Port: 31102\nID: 675502b613ba1c5985636e3e92b9a857855a52155e3316bb40fe9607e14167fb\n  - N2NHost: demo2.zus.network\n  - Host: demo1.zus.network\n  - Port: 31101\n\nRegistered Sharders\nID: 675502b613ba1c5985636e3e92b9a857855a52155e3316bb40fe9607e14167fb\n  - N2NHost: demo1.zus.network\n  - Host: demo1.zus.network\n  - Port: 31101\nID: 12e317e5d7a4a0a914ec26074e28f00502c735ddf7ac7d156b34e83e39792a9d\n  - N2NHost: demo2.zus.network\n  - Host: demo2.zus.network\n  - Port: 31102\nID: 43f4f011698db6f2078e6ceb1cd981ab3bd35d07b7ac6fdf7c77aec1feee09be\n  - N2NHost: demo3.zus.network\n  - Host: demo3.zus.network\n  - Port: 31101\nID: fd02f4436692bd9f679fae809f4f140fd4daaa35769ae9c6db1ab9664f766c22\n  - N2NHost: 144.76.91.241\n  - Host: demo4.zus.network\n  - Port: 31102\n\n```\n\n#### Listing all blobbers - `getblobbers`\n\nThe list of blobbers are retrieved using the Storage smart contract.\n\n| Parameter   | Required | Description          | Default | Valid Values      |\n| ----------- | -------- | -------------------- | ------- | ----------------- |\n| `--all`     | No       | Gets all blobbers, including inactive blobbers |         | \u003cempty to enable\u003e |\n\n![List blobber nodes](docs/getblobbers.png \"List blobber nodes\")\n\n```sh\n./zwallet getblobbers\n```\n\nSample output\n\n```\nBlobbers:\n                 URL                 |                                ID                                |          CAP           |     R / W PRICE     | DEMAND\n+------------------------------------+------------------------------------------------------------------+------------------------+---------------------+--------+\n  http://demo1.zus.network:31305 | 011a5444c9fe53137da7c3d871f3bf4bbf3c01607b14aa95ff2de43b5537d4b6 | 271.5 GiB / 1000.0 GiB | 0.010000 / 0.010000 |    0.1\n  http://demo1.zus.network:31306 | 2efc85d6a2f36380e1e77b843cd9f4fe55668271cae4925ab38a92504176e5df | 107.8 GiB / 1000.0 GiB | 0.010000 / 0.010000 |    0.1\n  http://demo1.zus.network:31302 | 34934babf0781c21736023ff89bc554928d77c028a968ef7344a460611d5a8d2 | 104.3 GiB / 1000.0 GiB | 0.010000 / 0.010000 |    0.1\n```\n#### List Authorizers - `bridge-list-auth`\n\n`./zwallet bridge-list-auth ` command can be used to list all authorizers available to validate client transactions.\n\n**Sample Command:**\n\n```\n./zwallet bridge-list-auth\n```\n\n**Sample Response:**\n\n```\n[\n  {\n   \"id\": \"2f945f7310689f17afd8c8cb291e1e3ba21677243aa1d404a2293064e7983d60\",\n   \"url\": \"https://demo.zus.network/authorizer01/\"\n  },\n  {\n   \"id\": \"7b07c0489e2f35d7c13160f4da2866b4aa69aa4e8d2b2cd9c4fc002693dca5d7\",\n   \"url\": \"https://demo.zus.network/authorizer02/\"\n  },\n  {\n    \"id\": \"896c171639937a647f9e91d5ba676be580f6d2b7e0d708e4fe6ea36610a13ffd\",\n    \"url\": \"https://demo.zus.network/authorizer03/\"\n  }\n]\n```\n\n#### Getting node ID by URL - `getid`\n\nPrint the ID of a blockchain node.\n\n| Parameter | Required | Description                               | Default | Valid Values |\n| --------- | -------- | ----------------------------------------- | ------- | ------------ |\n| `--url`   | Yes      | URL to the node (miner, sharder, blobber) |         |              |\n\n![Get node ID](docs/getid.png \"Get node ID\")\n\n\n```sh\n./zwallet getid --url http://demo1.zus.network:31101\n```\n\nOutput\n\n```\nURL: http://demo1.zus.network:31101\nID: 675502b613ba1c5985636e3e92b9a857855a52155e3316bb40fe9607e14167fb\n```\n\n#### Show Storage Smart Contract Configuration - `sc-config`\n\n`./zwallet sc-config ` command displays current storage smart contract configuration  \n\n| Parameter | Required | Description          | Default | Valid Values      |\n| --------- | -------- | -------------------- | ------- | ----------------- |\n| `--json`  | No       | Print output as JSON |         | \u003cempty to enable\u003e |\n\nSample Command: \n```\n./zwallet sc-config\n```\nSample Response :\n```\n.blobber_slash    0.1\nblock_reward.block_reward        1.8\nblock_reward.gamma.a     10\nblock_reward.gamma.alpha         0.2\nblock_reward.gamma.b     9\nblock_reward.qualifying_stake    1\nblock_reward.zeta.i      1\nblock_reward.zeta.k      0.9\nblock_reward.zeta.mu     0.2\ncancellation_charge      0.2\nchallenge_enabled        true\ncost.add_blobber         100\ncost.add_free_storage_assigner   100\ncost.add_validator       100\ncost.blobber_health_check        100\ncost.cancel_allocation   8400\ncost.challenge_request   100\ncost.challenge_response          1600\ncost.collect_reward      100\ncost.commit_connection   100\ncost.commit_settings_changes     0\ncost.finalize_allocation         9500\ncost.free_allocation_request     1500\ncost.free_update_allocation      2500\ncost.generate_challenge          100\ncost.kill_blobber        100\ncost.kill_validator      100\ncost.new_allocation_request      3000\ncost.new_read_pool       100\ncost.pay_blobber_block_rewards   100\ncost.read_pool_lock      100\ncost.read_pool_unlock    100\ncost.read_redeem         100\ncost.shutdown_blobber    100\ncost.shutdown_validator          100\ncost.stake_pool_lock     100\ncost.stake_pool_pay_interests    100\ncost.stake_pool_unlock   100\ncost.update_allocation_request   2500\ncost.update_blobber_settings     100\ncost.update_settings     100\ncost.update_validator_settings   100\ncost.write_pool_lock     100\ncost.write_pool_unlock   100\nfree_allocation_settings.data_shards     4\nfree_allocation_settings.parity_shards   2\nfree_allocation_settings.read_pool_fraction      0\nfree_allocation_settings.read_price_range.max    0\nfree_allocation_settings.read_price_range.min    0\nfree_allocation_settings.size    2000000000\nfree_allocation_settings.write_price_range.max   1\nfree_allocation_settings.write_price_range.min   0\nhealth_check_period      1h0m0s\nmax_blobbers_per_allocation      40\nmax_challenge_completion_time    3m0s\nmax_delegates    200\nmax_individual_free_allocation   1e+06\nmax_mint         7.5e+07\nmax_read_price   100\nmax_stake        20000\nmax_total_free_allocation        9.223372036854776e+08\nmax_write_price          100\nmin_alloc_size   1048576\nmin_blobber_capacity     10737418240\nmin_stake        0.01\nmin_write_price          0.001\nowner_id         1746b06bb09f55ee01b33b5e2e055d6cc7a900cb57c0a3a5eaabb8a0e7745802\nreadpool.min_lock        0\nstakepool.kill_slash     0.5\nstakepool.min_lock_period        0s\ntime_unit        720h0m0s\nvalidator_reward         0.025\nvalidators_per_challenge         2\nwritepool.min_lock       0.1\n```\n\n#### Get Version - `version`\nThe version of zwallet and gosdk can be fetched using the `./zwallet version` command.\n\n| Parameter | Required | Description                             | Default | Valid Values      |\n| --------- | -------- | --------------------------------------- | ------- | ----------------- |\n| `--json`    | No       | Print output as JSON |         | \u003cempty to enable\u003e |\n\nSample Command :\n```\n./zwallet version\n```\nSample Response :\n```\nVersion info:\n        zwallet...:  v1.2.3-21-gb10c459\n        gosdk.....:  v1.8.17-0.20230522160233-570f983a6283\n```\n#### Show global configurations  - `global-config`\n`./zwallet global-config ` command displays global chain configuration \n\nSample Command :\n```\n./zwallet global-config\n```\nSample Response :\n```\nserver_chain.async_blocks_fetching.max_simultaneous_from_miners          100\nserver_chain.async_blocks_fetching.max_simultaneous_from_sharders        30\nserver_chain.block.consensus.threshold_by_count          66\nserver_chain.block.consensus.threshold_by_stake          0\nserver_chain.block.generation.retry_wait_time    5\nserver_chain.block.generation.timeout    15\nserver_chain.block.generators_percent    0.2\nserver_chain.block.max_block_cost        10000\nserver_chain.block.max_block_size\nserver_chain.block.max_byte_size         1638400\nserver_chain.block.min_block_size        1\nserver_chain.block.min_generators        2\nserver_chain.block.proposal.max_wait_time        180ms\nserver_chain.block.proposal.wait_mode    static\nserver_chain.block.replicators   0\nserver_chain.block.reuse_txns    false\nserver_chain.block.sharding.min_active_replicators       25\nserver_chain.block.sharding.min_active_sharders          25\nserver_chain.block.validation.batch_size         1000\nserver_chain.block_rewards       true\nserver_chain.client.discover     true\nserver_chain.client.signature_scheme     bls0chain\nserver_chain.dbs.settings.aggregate_period       10\nserver_chain.dbs.settings.debug          false\nserver_chain.dbs.settings.page_limit     50\nserver_chain.dbs.settings.partition_change_period        100000\nserver_chain.dbs.settings.partition_keep_count   20\nserver_chain.dkg         true\nserver_chain.health_check.deep_scan.batch_size   50\nserver_chain.health_check.deep_scan.enabled      false\nserver_chain.health_check.deep_scan.repeat_interval_mins         3m\nserver_chain.health_check.deep_scan.report_status_mins   1m\nserver_chain.health_check.deep_scan.settle_secs          30s\nserver_chain.health_check.deep_scan.window       0\nserver_chain.health_check.proximity_scan.batch_size      50\nserver_chain.health_check.proximity_scan.enabled         true\nserver_chain.health_check.proximity_scan.repeat_interval_mins    1m\nserver_chain.health_check.proximity_scan.report_status_mins      1m\nserver_chain.health_check.proximity_scan.settle_secs     30s\nserver_chain.health_check.proximity_scan.window          100000\nserver_chain.health_check.show_counters          true\nserver_chain.lfb_ticket.ahead    5\nserver_chain.lfb_ticket.rebroadcast_timeout      15s\nserver_chain.messages.verification_tickets_to    all_miners\nserver_chain.owner       edb90b850f2e7e7cbd0a1fa370fdcc5cd378ffbec95363a7bc0e5a98b8ba5759\nserver_chain.round_range         10000000\nserver_chain.round_timeouts.round_restart_mult   10\nserver_chain.round_timeouts.softto_min   1500\nserver_chain.round_timeouts.softto_mult          1\nserver_chain.round_timeouts.timeout_cap          1\nserver_chain.smart_contract.faucet       true\nserver_chain.smart_contract.miner        true\nserver_chain.smart_contract.multisig     false\nserver_chain.smart_contract.setting_update_period        200\nserver_chain.smart_contract.storage      true\nserver_chain.smart_contract.timeout      8000ms\nserver_chain.smart_contract.vesting      false\nserver_chain.smart_contract.zcn          true\nserver_chain.state.enabled       true\nserver_chain.state.prune_below_count     100\nserver_chain.state.sync.timeout          10\nserver_chain.stuck.check_interval        10\nserver_chain.stuck.time_threshold        60\nserver_chain.transaction.cost_fee_coeff          1000000\nserver_chain.transaction.exempt          contributeMpk,shareSignsOrShares,wait,mint,pour\nserver_chain.transaction.max_fee         0.01\nserver_chain.transaction.min_fee         0\nserver_chain.transaction.payload.max_size        98304\nserver_chain.transaction.timeout         600\nserver_chain.view_change         false\n```\n\n### Getting and sending tokens\n\n#### Checking balance - `getbalance`\n\nWallet balances are retrieved from sharders.\n\n\u003e Note: Balance would not show any [locked tokens](#locking-tokens-for-interest---lock).\n\n| Parameter | Required | Description                             | Default | Valid Values      |\n| --------- | -------- | --------------------------------------- | ------- | ----------------- |\n| `--json`    | No       | Print output as JSON |         | \u003cempty to enable\u003e |\n\n![Get wallet balance](docs/getbalance.png \"Get wallet balance\")\n\n```sh\n./zwallet getbalance\n```\n\nSample output\n\n```\nBalance: 3 (4.2299999999999995 USD)\n```\n\nTo check the balance of another wallet, use `--wallet` global parameter.\n\n```sh\n./zwallet getbalance --wallet another_wallet.json\n```\n\n\u003e Note: When there is no token on the wallet yet, output will show `Get balance failed.`\n\n#### Sending tokens to another wallet - `send`\n\n![Send tokens to another wallet](docs/send.png \"Send tokens to another wallet\")\n\nTransferring tokens from a wallet to another is done through `send`\n\n| Parameter        | Required | Description                    | Default | Valid Values |\n| ---------------- | -------- | ------------------------------ | ------- | ------------ |\n| `--json`    | No       | Print output as JSON |         | \u003cempty to enable\u003e |\n| `--to_client_id` | Yes      | Client ID of the recipient     |         |              |\n| `--tokens`       | Yes      | Amount of tokens to send       |         | valid number |\n| `--desc`         | Yes      | Transfer description           |         | any string   |\n| `--fee`          | No       | Amount of tokens to use as fee | 0.0     | valid number |\n\nThe following sends 0.2 token from the default wallet to the specified client ID.\n\n```sh\n./zwallet send --to_client_id e7ebb698213b6bda097c0a14ccbe574356e99e9b666e4baeae540da1d9b51e7e --tokens .2 --desc \"gift\"\n```\n\nOutput\n\n```\nSend tokens success\n```\n\nTo use a different wallet as sender, use `--wallet` global parameter.\n\n```sh\n./zwallet send --to_client_id e7ebb698213b6bda097c0a14ccbe574356e99e9b666e4baeae540da1d9b51e7e --tokens .2 --desc \"gift\" --wallet another_wallet.json\n```\n\n#### Verifying a transaction - `verify`\n\n`verify` checks whether a given transaction hash was confirmed on the blockchain.\n\n| Parameter | Required | Description                   | Default | Valid Values           |\n| --------- | -------- | ----------------------------- | ------- | ---------------------- |\n| `--hash`  | Yes      | Hash of transaction to verify |         | valid transaction hash |\n\nNote: Not all `zwallet` commands (eg. `send`) prints the transaction hash created. To see more details printed including the hashes, use `--verbose` global parameter.\n\n![Verify transaction confirmation](docs/verify.png \"Verify transaction confirmation\")\n\nSample command\n\n```sh\n./zwallet verify --hash 867c240b640e3d128643330af383cb3a0a229ebce08cae667edd7766c7ccc850\n```\n\nOutput\n\n```\nTransaction verification success\n```\n\nTo see more details about the transaction on `verify`, use `--verbose` global parameter.\n\n```sh\n./zwallet verify --hash 867c240b640e3d128643330af383cb3a0a229ebce08cae667edd7766c7ccc850 --verbose\n```\n#### Collect rewards - `collect-reward`\n\nUse `collect-reward` to transfer reward tokens from a stake pool.The stake pool keeps an account for all stakeholders to maintain accrued rewards. \nYou earn rewards for: Sharders and Miners\n\n- `Miners` produce blocks.\n- `Sharders` stores the blockchain and other related data, such as the event database. They also support a query REST API.\n\n| Parameter     | Required | Description         | Valid values |\n| ------------- | -------- | ------------------- | ------------ |\n| provider_type | yes      | miner or sharder or authorizer   | miner/sharder/authorizer       |\n| provider_id   | yes      | miner or sharder id | string       |\n\nSample Command :\n\n```sh\n./zwallet collect-reward --provider_type miner --provider_id $MINER/SHARDER_ID\n```\n\nThe output would print the stake pool id.\n\n```sh\nlocked with: b488738546d84aed9d3dcb2bbe24c161bc4338638669e64e814631efd430fd85\n```\n\n#### Get Nonce - `getnonce`\n\nUse `getnonce` to get nonce of the default wallet\n\nSample Command :\n\n```sh\n./zwallet getnonce\n```\n\nThe output would print the stake pool id.\n\n```sh\nNonce: 58\n```\n\n#### Reset Nonce - `reset-user-nonce`\n\nUse `reset-user-nonce` to reset the nonce value of the user wallet\n\n| Parameter | Required | Description                                                  | Default | Valid Values |\n| --------- | -------- | ------------------------------------------------------------ | ------- | ------------ |\n| `--chain_config`    | No      | Chain config file name |    config.yaml     |              |\n| `--path`    | No      | Config home folder |   ~/.zcn     |              |\n\nSample Command :\n\nCommand required ethereum_node_url to be set in config\n\n```sh\n./zwallet reset-user-nonce\n```\n\n### Staking on miners and sharders\n\n[Miner smart contract](https://github.com/0chain/0chain/blob/master/code/go/0chain.net/smartcontract/minersc/READEME.md) allows staking on the miner and sharder nodes.\n\nThe maximum number of stake pools per node is limited to the number of delegates allowed. To find out the number of delegates and the minimum and maximum tokens allowed, query the staking config.\n\n#### Getting the staking config - `mn-config`\n\n`mn-config` display the global info of Miner SC for staking.\n\n![Miner SC global info](docs/mn-config.png \"Miner SC global info\")\n\n```sh\n./zwallet mn-config\n```\n\nSample output\n\n```\nview_change:           0\nmax_n:                 8\nmin_n:                 2\nmax_s:                 3\nmin_s:                 1\nt_percent:             0.51\nk_percent:             0.75\nlast_round:            5527098\nmax_stake:             100\nmin_stake:             0\ninterest_rate:         5.55e-07\nreward_rate:           1\nshare_ratio:           0.8\nblock_reward:          0.21\nmax_charge:            0.5\nepoch:                 15000000\nreward_decline_rate:   0.1\ninterest_decline_rate: 0.1\nmax_mint:              4000000\nminted:                928552.464\nmax_delegates:         200\n```\n\n#### Getting a miner or sharder info for staking - `mn-info`\n\nNode stats for staking are retrieved from Miner SC.\n\n| Parameter | Required | Description                                                  | Default | Valid Values |\n| --------- | -------- | ------------------------------------------------------------ | ------- | ------------ |\n| `--id`    | Yes      | Node ID of a miner or sharder (get at `ls-miners` or `ls-sharders`) |         |              |\n\n![Node stat for staking](docs/mn-info.png \"Node stat for staking\")\n\nSample command\n\n```sh\n./zwallet mn-info --id 68ed8f16e1d50e3217425b3e98fb7a39e5d7201fe4b1dccfe8477b5c54761b24\n```\n\nSample output\n\n```json\n{\"simple_miner\":{\"id\":\"68ed8f16e1d50e3217425b3e98fb7a39e5d7201fe4b1dccfe8477b5c54761b24\",\"n2n_host\":\"five.devnet-0chain.net\",\"host\":\"five.devnet-0chain.net\",\"port\":31102,\"path\":\"sharder02\",\"public_key\":\"458170c28496333426f9866989f7b335564d13d00f50db503275e7ec50a008031764ba5df42c20c85d76e7fe7eda43f39afdb650b8ffa9ed340e6fc50c35ae22\",\"short_name\":\"localhost.s02\",\"build_tag\":\"50fb047353c4c3d268c0e0ebfd8e63f1d10c6813\",\"total_stake\":0,\"delegate_wallet\":\"68ed8f16e1d50e3217425b3e98fb7a39e5d7201fe4b1dccfe8477b5c54761b24\",\"service_charge\":0.1,\"number_of_delegates\":10,\"min_stake\":0,\"max_stake\":1000000000000,\"stat\":{\"sharder_rewards\":1160553450000000},\"node_type\":\"sharder\",\"last_health_check\":1619554377},\"pending\":{\"01978379a586de2882638345e215baaf8382093609d910da5ac1a833e2814f6f\":{\"stats\":{\"delegate_id\":\"133807913c66ec0b4342612f23fecd1852b456152433b8380cd2abcd411d4c07\",\"high\":0,\"low\":-1,\"interest_paid\":0,\"reward_paid\":0,\"number_rounds\":0,\"status\":\"PENDING\"},\"pool\":{\"pool\":{\"id\":\"01978379a586de2882638345e215baaf8382093609d910da5ac1a833e2814f6f\",\"balance\":10000000000},\"lock\":{\"delete_view_change_set\":false,\"delete_after_view_change\":0,\"owner\":\"ff12c78ee4a985b4fc2ac52ec8a24e9df2bd912636da15437b0eb7707b99abf4\"}}}}}\n```\n\nReformatted output\n\n```json\n{\n  \"simple_miner\":{\n    \"id\":\"68ed8f16e1d50e3217425b3e98fb7a39e5d7201fe4b1dccfe8477b5c54761b24\",\n    \"n2n_host\":\"demo1.zus.network\",\n    \"host\":\"demo1.zus.network\",\n    \"port\":31102,\n    \"path\":\"sharder02\",\n    \"public_key\":\"458170c28496333426f9866989f7b335564d13d00f50db503275e7ec50a008031764ba5df42c20c85d76e7fe7eda43f39afdb650b8ffa9ed340e6fc50c35ae22\",\n    \"short_name\":\"localhost.s02\",\n    \"build_tag\":\"50fb047353c4c3d268c0e0ebfd8e63f1d10c6813\",\n    \"total_stake\":0,\n    \"delegate_wallet\":\"68ed8f16e1d50e3217425b3e98fb7a39e5d7201fe4b1dccfe8477b5c54761b24\",\n    \"service_charge\":0.1,\n    \"number_of_delegates\":10,\n    \"min_stake\":0,\n    \"max_stake\":1000000000000,\n    \"stat\":{\n      \"sharder_rewards\":1160553450000000\n    },\n    \"node_type\":\"sharder\",\n    \"last_health_check\":1619554377\n  },\n  \"pending\":{\n    \"01978379a586de2882638345e215baaf8382093609d910da5ac1a833e2814f6f\":{\n      \"stats\":{\n        \"delegate_id\":\"133807913c66ec0b4342612f23fecd1852b456152433b8380cd2abcd411d4c07\",\n        \"high\":0,\n        \"low\":-1,\n        \"interest_paid\":0,\n        \"reward_paid\":0,\n        \"number_rounds\":0,\n        \"status\":\"PENDING\"\n      },\n      \"pool\":{\n        \"pool\":{\n          \"id\":\"01978379a586de2882638345e215baaf8382093609d910da5ac1a833e2814f6f\",\n          \"balance\":10000000000\n        },\n        \"lock\":{\n          \"delete_view_change_set\":false,\n          \"delete_after_view_change\":0,\n          \"owner\":\"ff12c78ee4a985b4fc2ac52ec8a24e9df2bd912636da15437b0eb7707b99abf4\"\n        }\n      }\n    }\n  }\n}\n```\n\n#### Locking a stake on a node - `mn-lock`\n\nStaking tokens on a node gains additional tokens over time. Tokens locked for staking can be unlocked anytime although have to wait for the next view change cycle.\n\nNote however that if a node becomes offline, all stake pools are automatically unlocked and tokens are returned to wallets.\n\n| Parameter  | Required | Description                                                  | Default | Valid Values |\n| ---------- | -------- | ------------------------------------------------------------ | ------- | ------------ |\n| `--miner_id`     | Yes*     | Node ID of a miner to stake for (get at `ls-miners`) |         |              |\n| `--sharder_id`     | Yes*      | Node ID of a sharder to stake for (get at `ls-sharders`) |         |              |\n| `--tokens` | Yes      | Amounts of token to stake                                    |         | 1000 - 1997000|\n\n\u003e At most one of miner_id / sharder_id needs to be passed.\n\n\u003e You can use `sp-lock` command from [zboxcli](https://github.com/0chain/zboxcli) to stake tokens against a blobber, validator ot authorizer.\n\n![Staking tokens on node](docs/mn-lock.png \"Staking tokens on node\")\n\nSample command\n\n```sh\n./zwallet mn-lock --id dc8c6c93fb42e7f6d1c0f93baf66cc77e52725f79c3428a37da28e294aa2319a --tokens 1\n```\n\nThe output would print the stake pool id.\n\n```sh\nlocked with: b488738546d84aed9d3dcb2bbe24c161bc4338638669e64e814631efd430fd85\n```\n\nIf the locking of stakes is failing, verify the following.\n\n1. Wallet has enough tokens\n2. Node ID is valid\n3. Node has available delegate\n\n#### Getting the stake pools of a wallet - `mn-user-info`\n\n| Parameter     | Required | Description             | Default                        | Valid Values      |\n| ------------- | -------- | ----------------------- | ------------------------------ | ----------------- |\n| `--client_id` | No       | Client ID of the wallet | Wallet at `~/.zcn/wallet.json` |                   |\n| `--json`      | No       | Print output as JSON    |                                | \u003cempty to enable\u003e |\n\n![Wallet stake pools](docs/mn-user-info.png \"Wallet stake pools\")\n\nSample command\n\n```sh\n./zwallet mn-user-info\n```\n\nSample output\n\n```\n- node: dc8c6c93fb42e7f6d1c0f93baf66cc77e52725f79c3428a37da28e294aa2319a (sharder)\n  - pool_id:        b488738546d84aed9d3dcb2bbe24c161bc4338638669e64e814631efd430fd85\n    balance:        1\n    interests paid: 0\n    rewards paid:   0\n    status:         pending\n    stake %:        100 %\n```\n\nSample reformatted JSON output\n\n```json\n{\n  \"pools\":{\n    \"sharder\":{\n      \"dc8c6c93fb42e7f6d1c0f93baf66cc77e52725f79c3428a37da28e294aa2319a\":[\n        {\n          \"id\":\"b488738546d84aed9d3dcb2bbe24c161bc4338638669e64e814631efd430fd85\",\n          \"balance\":10000000000,\n          \"interest_paid\":0,\n          \"reward_paid\":0,\n          \"status\":\"PENDING\",\n          \"high\":0,\n          \"low\":-1\n        }\n      ]\n    }\n  }\n}\n```\n\n#### Getting the stake pool info - `mn-pool-info`\n\n| Parameter   | Required | Description                                                  | Default | Valid Values |\n| ----------- | -------- | ------------------------------------------------------------ | ------- | ------------ |\n| `--id`      | Yes      | Node ID of a miner or sharder (get at `ls-miners` or `ls-sharders`) |         |              |\n\n![Stake pool info](docs/mn-pool-info.png \"Stake pool info\")\n\nSample command\n\n```sh\n./zwallet mn-pool-info --id dc8c6c93fb42e7f6d1c0f93baf66cc77e52725f79c3428a37da28e294aa2319a\n```\n\nSample output\n\n```json\n{\"pool_id\":\"4db8e916a7fa73f79097adf11d47bd535ac5fe3566e26b0e71d205c0171181df\",\"balance\":1000000000,\"reward\":152712000000,\"status\":0,\"round_created\":632,\"delegate_id\":\"c542815b92849bae60032761e71eab2ba0c703589252cabbc38d48b5846e38bf\",\"staked_at\":1658695083}\n```\n\nReformatted output\n\n```json\n{\n  \"pool_id\":\"4db8e916a7fa73f79097adf11d47bd535ac5fe3566e26b0e71d205c0171181df\",\n  \"balance\":1000000000,\n  \"reward\":152712000000,\n  \"status\":0,\n  \"round_created\":632,\n  \"delegate_id\":\"c542815b92849bae60032761e71eab2ba0c703589252cabbc38d48b5846e38bf\",\n  \"staked_at\":1658695083\n}\n```\n\nIf the `pool-id` flag is not present, a list of pools will be returned.\nSample command\n\n```sh\n./zwallet mn-pool-info --id dc8c6c93fb42e7f6d1c0f93baf66cc77e52725f79c3428a37da28e294aa2319a\n```\n\nSample output\n\n```json\n[{\"pool_id\":\"4db8e916a7fa73f79097adf11d47bd535ac5fe3566e26b0e71d205c0171181df\",\"balance\":1000000000,\"reward\":12096000000,\"status\":1,\"round_created\":632,\"delegate_id\":\"c542815b92849bae60032761e71eab2ba0c703589252cabbc38d48b5846e38bf\",\"staked_at\":1658695083}]\n```\n\nReformatted output\n\n```json\n[\n  {\n    \"pool_id\":\"4db8e916a7fa73f79097adf11d47bd535ac5fe3566e26b0e71d205c0171181df\",\n    \"balance\":1000000000,\n    \"reward\":12096000000,\n    \"status\":1,\n    \"round_created\":632,\n    \"delegate_id\":\"c542815b92849bae60032761e71eab2ba0c703589252cabbc38d48b5846e38bf\",\n    \"staked_at\":1658695083\n  }\n]\n```\n\n#### Unlock a stake - `mn-unlock`\n\n| Parameter   | Required | Description                                                  | Default | Valid Values |\n| ----------- | -------- | ------------------------------------------------------------ | ------- | ------------ |\n| `--miner_id`     | Yes*     | Node ID of a miner to stake for (get at `ls-miners`) |         |              |\n| `--sharder_id`     | Yes*      | Node ID of a sharder to stake for (get at `ls-sharders`) |         |              |\n\n\u003e At most one of miner_id / sharder_id needs to be passed\n\n![Unlock a stake](docs/mn-unlock.png \"Unlock a stake\")\n\n```sh\n./zwallet mn-unlock --id dc8c6c93fb42e7f6d1c0f93baf66cc77e52725f79c3428a37da28e294aa2319a\n```\n\nOutput\n\n```\ntokens will be unlocked next VC\n```\n\nTokens are released on the next view change cycle or at the next reward round.\n\n\n### Killing/Deleting a node\n\n#### Killing a miner - `mn-kill`\nMiners can only be killed by the node's delegate wallet / owner\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--id`            | Yes      | Node ID of a miner            |         |              |\n\nSample command\n\n```sh\n./zwallet mn-kill --id 860498ec586ef5122efbca77d1d9c215167913d0477830a5aab6a2eb106cb6c2\n```\n\n#### Killing a sharder - `sh-kill`\nSharders can only be killed by the node's delegate wallet / owner\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--id`            | Yes      | Node ID of a sharder                 |         |              |\n\nSample command\n\n```sh\n./zwallet sh-kill --id 860498ec586ef5122efbca77d1d9c215167913d0477830a5aab6a2eb106cb6c2\n```\n\n### Bridge Commands\nBridge Protocol is used to exchange tokens between Züs Network and Ethereum Network tokens.\n\n#### Import Account - `bridge-import-account`\nImport account to local key storage using mnemonic, protected with password\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--account_index` | No      | Index of the account to use                 |     0    |       int       |\n| `--address_index` | No      | Index of the address to use                 |     0    |       int       |\n| `--bip32` | No      | Use BIP32 derivation path                 |     false    |       boolean       |\n| `--mnemonic` | Yes      | Ethereum mnemonic                 |     0    |       string       |\n| `--password` | Yes      | Password to lock and unlock account to sign transaction |     0    |       string       |\n| `--path` | No      | Home config directory                 |     ~/.zcn    |       string       |\n\nSample Command : \n```sh\n./zwallet bridge-import-account --mnemonic \"{MNEMONIC}\" --password {WALLET_PASSWORD}\n```\n\nSample Response :\n```sh\nImported account 0x7503125Cf087E20Ac07dd323513c9A6a6312DE56 to path: /Users/gaurboysm3pro/.zcn/wallets/UTC--2024-04-29T16-40-28.126055000Z--7503125cf087e9a6a6312de5620ac07dd323513c\n```\n\n#### List Accounts - `bridge-list-accounts`\nList available ethereum accounts\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--path`          | No       | Home config directory                         | ~/.zcn  |    string    |\n\nSample Command : \n```sh\n./zwallet bridge-list-accounts\n```\n\nSample Response :\n```sh\nEthereum available account:\n0x7503125Cf087E9A6a6312DE5620Ac07dd323513c\n```\n\n#### Burn ETH - `bridge-burn-eth`\n\nBurn eth tokens that will be minted on ZCN chain\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--amount`        | Yes      | WZCN token amount to be burned                |         |    int    |\n| `--chain_config`  | No       | Chain config file name                        | config.yaml  |    string    |\n| `--path`          | No       | Home config directory                         | ~/.zcn  |    string    |\n| `--retries`       | No       | Num of seconds a transaction status check should run                         | 60  |    int    |\n\nSample Command : \n```sh\n./zwallet bridge-burn-eth --amount 10\n```\n\nSample Response :\n```sh\nStarting IncreaseBurnerAllowance transaction\nVerification: IncreaseBurnerAllowance [OK]: 0xe9b7d008e1469e8256a62b571b43af29fac933e51b0f2cc715224ebc50948a23\nStarting WZCN burn transaction\nVerification: WZCN burn [OK]: 0xd64ef7e7d4d5e18a6f04221a9431ebba13fc06b16fbd03e86b4c6f0603aa10b3\n```\n\n#### Burn BNT - `bridge-burn-bnt`\n\nBurn eth tokens that will be minted on ZCN chain\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--amount`        | Yes      | WZCN token amount to be burned                |         |    int    |\n| `--chain_config`  | No       | Chain config file name                        | config.yaml  |    string    |\n| `--path`          | No       | Home config directory                         | ~/.zcn  |    string    |\n| `--retries`       | No       | Num of seconds a transaction status check should run                         | 60  |    int    |\n\nSample Command : \n```sh\n./zwallet bridge-burn-bnt --amount 10\n```\n\nSample Response :\n```sh\nStarting IncreaseBurnerAllowance transaction\nVerification: IncreaseBurnerAllowance [OK]: 0xe9b7d008e1469e8256a62b571b43af29fac933e51b0f2cc715224ebc50948a23\nStarting WZCN burn transaction\nVerification: WZCN burn [OK]: 0xd64ef7e7d4d5e18a6f04221a9431ebba13fc06b16fbd03e86b4c6f0603aa10b3\n```\n\n#### Burn EURC - `bridge-burn-eurc`\n\nBurn eth tokens that will be minted on ZCN chain\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--amount`        | Yes      | WZCN token amount to be burned                |         |    int    |\n| `--chain_config`  | No       | Chain config file name                        | config.yaml  |    string    |\n| `--path`          | No       | Home config directory                         | ~/.zcn  |    string    |\n| `--retries`       | No       | Num of seconds a transaction status check should run                         | 60  |    int    |\n\nSample Command : \n```sh\n./zwallet bridge-burn-eurc --amount 10\n```\n\nSample Response :\n```sh\nStarting IncreaseBurnerAllowance transaction\nVerification: IncreaseBurnerAllowance [OK]: 0xe9b7d008e1469e8256a62b571b43af29fac933e51b0f2cc715224ebc50948a23\nStarting WZCN burn transaction\nVerification: WZCN burn [OK]: 0xd64ef7e7d4d5e18a6f04221a9431ebba13fc06b16fbd03e86b4c6f0603aa10b3\n```\n\n#### Burn USDC - `bridge-burn-usdc`\n\nBurn eth tokens that will be minted on ZCN chain\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--amount`        | Yes      | WZCN token amount to be burned                |         |    int    |\n| `--chain_config`  | No       | Chain config file name                        | config.yaml  |    string    |\n| `--path`          | No       | Home config directory                         | ~/.zcn  |    string    |\n| `--retries`       | No       | Num of seconds a transaction status check should run                         | 60  |    int    |\n\nSample Command : \n```sh\n./zwallet bridge-burn-usdc --amount 10\n```\n\nSample Response :\n```sh\nStarting IncreaseBurnerAllowance transaction\nVerification: IncreaseBurnerAllowance [OK]: 0xe9b7d008e1469e8256a62b571b43af29fac933e51b0f2cc715224ebc50948a23\nStarting WZCN burn transaction\nVerification: WZCN burn [OK]: 0xd64ef7e7d4d5e18a6f04221a9431ebba13fc06b16fbd03e86b4c6f0603aa10b3\n```\n\n#### Burn WZCN - `bridge-burn-wzcn`\n\nBurn eth tokens that will be minted on ZCN chain\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--amount`        | Yes      | WZCN token amount to be burned                |         |    int    |\n| `--chain_config`  | No       | Chain config file name                        | config.yaml  |    string    |\n| `--path`          | No       | Home config directory                         | ~/.zcn  |    string    |\n| `--retries`       | No       | Num of seconds a transaction status check should run                         | 60  |    int    |\n\nSample Command : \n```sh\n./zwallet bridge-burn-wzcn --amount 10\n```\n\nSample Response :\n```sh\nStarting IncreaseBurnerAllowance transaction\nVerification: IncreaseBurnerAllowance [OK]: 0xe9b7d008e1469e8256a62b571b43af29fac933e51b0f2cc715224ebc50948a23\nStarting WZCN burn transaction\nVerification: WZCN burn [OK]: 0xd64ef7e7d4d5e18a6f04221a9431ebba13fc06b16fbd03e86b4c6f0603aa10b3\n```\n\n#### Burn ZCN - `bridge-burn-zcn`\n\nBurn eth tokens that will be minted on ZCN chain\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--token`        | Yes      | WZCN token amount to be burned                |         |    int    |\n| `--chain_config`  | No       | Chain config file name                        | config.yaml  |    string    |\n| `--path`          | No       | Home config directory                         | ~/.zcn  |    string    |\n\nSample Command : \n```sh\n./zwallet bridge-burn-zcn --amount 10\n```\n\nSample Response :\n```sh\nExecuted smart contract successfully with txn:  1133e973106fdb953f10810836ad5f7435bf39acf3c302780a9299ab2202c6f2\nTransaction completed successfully: 1133e973106fdb953f10810836ad5f7435bf39acf3c302780a9299ab2202c6f2\n```\n\n#### Verify Transaction - `bridge-verify`\n\nVerify Ethereum transaction\n\n| Parameter         | Required | Description                                   | Default | Valid Values |\n| ----------------- | -------- | --------------------------------------------- | ------- | ------------ |\n| `--hash`          | Yes      | Ethereum transaction hash                     |         |    int       |\n| `--chain_config`  | No       | Chain config file name                        | config.yaml  |    string    |\n| `--path`          | No       | Home config directory                         | ~/.zcn  |    string    |\n\nSample Command : \n```sh\n./zwallet bridge-verify --hash 0xd64ef7e7d4d5e18a6f04221a9431ebba13fc06b16fbd03e86b4c6f0603aa10b3\n```\n\nSample Response :\n```sh\nTransaction verification success: 0xd64ef7e7d4d5e18a6f04221a9431ebba13fc06b16fbd03e86b4c6f0603aa10b3\n```\n\n## Config\n\n### ~/.zcn/config.yaml\n\n`~/.zcn/config.yaml` is a required `zwallet` config.\n\n| Field                       | Description                                                  | Value type |\n| --------------------------- | ------------------------------------------------------------ | ---------- |\n| `block_worker`              | The URL to chain network DNS that provides the lists of miners and sharders | string     |\n| `signature_scheme`          | The signature scheme used in the network. This would be `bls0chain` for most networks | string     |\n| `min_submit`                | The desired minimum success ratio (in percent) to meet when submitting transactions to miners | integer    |\n| `min_confirmation`          | The desired minimum success ratio (in percent) to meet when verifying transactions on sharders | integer    |\n| `confirmation_chain_length` | The desired chain length to meet when verifying transactions | integer    |\n\n### Override Network\n\nNetwork nodes are automatically discovered using the `block_worker` provided on [config file](https://github.com/0chain/zwalletcli/blob/staging/network/config.yaml).\n\nTo override/limit the nodes used on `zwallet`, create `~/.zcn/network.yaml` as shown below.\n\n```sh\ncat \u003e ~/.zcn/network.yaml \u003c\u003c EOF\nminers:\n  - http://demo1.zus.network:31201\n  - http://demo1.zus.network:31202\n  - http://demo1.zus.network:31203\nsharders:\n  - http://demo1.zus.network:31101\nEOF\n```\n\nOverriding the nodes can be useful in local chain setup. In some cases, the block worker might return URLs with IP/alias only accessible within the docker network.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0chain%2Fzwalletcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0chain%2Fzwalletcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0chain%2Fzwalletcli/lists"}