{"id":15650876,"url":"https://github.com/protolambda/zcli","last_synced_at":"2025-04-30T17:05:34.255Z","repository":{"id":57492446,"uuid":"206183437","full_name":"protolambda/zcli","owner":"protolambda","description":"Eth2 CLI debugging tool","archived":false,"fork":false,"pushed_at":"2025-02-23T18:50:24.000Z","size":292,"stargazers_count":37,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-30T17:05:22.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/protolambda.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}},"created_at":"2019-09-03T22:33:59.000Z","updated_at":"2025-02-23T18:49:41.000Z","dependencies_parsed_at":"2025-04-20T10:30:34.395Z","dependency_job_id":null,"html_url":"https://github.com/protolambda/zcli","commit_stats":null,"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protolambda%2Fzcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protolambda%2Fzcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protolambda%2Fzcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protolambda%2Fzcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/protolambda","download_url":"https://codeload.github.com/protolambda/zcli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251748945,"owners_count":21637417,"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","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T12:36:09.077Z","updated_at":"2025-04-30T17:05:34.168Z","avatar_url":"https://github.com/protolambda.png","language":"Go","readme":"# ZRNT CLI\n\nDebugging command line tool, to work with SSZ files, process ETH 2.0 state transitions, and compute proofs and meta-data.\n\nBased on the Go-spec: [ZRNT](https://github.com/protolambda/zrnt)\n\n## Installation\n\n### Pre-requisites\n\n- Install Go 1.16+\n- Add `$HOME/go/bin` to your PATH.\n\n### Install\n\nOptions:\n \n- `-u` to force-update dependencies\n- `-tags bls_off` to disable BLS for testing purposes (not secure!!!)\n\n```bash\n# outside of an existing go module directory\ngo install github.com/protolambda/zcli@latest\n```\n\n## Usage\n\nThe `help` commands guide you through the usage\n\n```bash\nzcli --help\n```\n\nQuick overview of all commands (run `zcli \u003csub command\u003e --help` to get usage options and info).\n\n```text\nzcli\n  pretty \u003cphase\u003e \u003ctype\u003e \u003cinput\u003e                  Pretty-print spec object (output indented JSON)\n  convert \u003cphase\u003e \u003ctype\u003e \u003cinput\u003e \u003coutput\u003e        Convert spec object from one format to another\n  diff \u003cphase\u003e \u003ctype\u003e \u003ca\u003e \u003cb\u003e                    Diff spec data\n  meta \u003cphase\u003e \u003csubcmd\u003e                          List metadata of beacon state\n  proof \u003cphase\u003e \u003ctype\u003e \u003cinput\u003e --gindices        Create SSZ merkle proofs over any spec object\n  root \u003cphase\u003e \u003ctype\u003e \u003cinput\u003e                    Compute the SSZ hash-tree-root of a spec object\n  transition \u003cpre-phase\u003e \u003cslots/blocks/sub\u003e      Run state transitions and sub-processes\n  tree \u003cphase\u003e \u003ctype\u003e                            Dump SSZ merkle tree of any spec object\n  version                                        Print ZCLI and ZRNT version\n```\n\nAll commands have a `--help` for additional information, flags, etc.\n\nAnd for many commands, use `--config` and `--preset-{forkname}` to select a known (`minimal`, `mainnet`, etc.) or custom YAML config/preset file!\nE.g. `--config=local_testnet.yaml`\n\nInputs/outputs can:\n- be specified as empty `\"\"`, to read from STDIN/STDOUT\n- be specified with a prefix `json:`, `yaml:`, `ssz_snappy:` or `ssz:` to read/write that format. Writing can also use `pretty:` (indented JSON).\n\n## License\n\nMIT, see [`LICENSE`](./LICENSE) file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotolambda%2Fzcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotolambda%2Fzcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotolambda%2Fzcli/lists"}