{"id":31923870,"url":"https://github.com/chainsafe/zcash-wasm-benchmark","last_synced_at":"2025-10-13T23:58:28.681Z","repository":{"id":231006312,"uuid":"763851648","full_name":"ChainSafe/zcash-wasm-benchmark","owner":"ChainSafe","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-06T18:33:37.000Z","size":1418,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-02T02:53:35.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/ChainSafe.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}},"created_at":"2024-02-27T03:01:23.000Z","updated_at":"2024-08-06T18:33:40.000Z","dependencies_parsed_at":"2024-08-06T21:50:41.752Z","dependency_job_id":"3e0b01dc-9e7b-4313-8bef-9462c032af12","html_url":"https://github.com/ChainSafe/zcash-wasm-benchmark","commit_stats":null,"previous_names":["chainsafe/zcash-wasm-benchmark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChainSafe/zcash-wasm-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fzcash-wasm-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fzcash-wasm-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fzcash-wasm-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fzcash-wasm-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChainSafe","download_url":"https://codeload.github.com/ChainSafe/zcash-wasm-benchmark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fzcash-wasm-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017175,"owners_count":26086019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-13T23:58:19.573Z","updated_at":"2025-10-13T23:58:28.675Z","avatar_url":"https://github.com/ChainSafe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZCash Web Benchmarks\n\nA collection of benchmarks for evaluating the viability of a Zcash web wallet.\n\n## Overview\n\nThis repo contains Rust crates designed to be compiled to Wasm to implement the most challenging parts of syncing a Zcash wallet, namely trial-decryption and note witness updating.\n\nIt also contains a webpage which can be used by anyone to obtain their own results using their own browser and system. This is currently hosted at https://chainsafe.github.io/zcash-wasm-benchmark/. Note that until a hosted lightwalletd web proxy is deployed this requires running a proxy locally (see below)\n\n\u003e Contributions are welcome! It is intended for this repo to be the definitive source of viability for a Zcash web wallet. Any improvements in sync algorithms can be benchmarked here and wallet development can progress once it has been determined to be viable.\n\n## Prerequisites\n\n- This repo uses [just](https://github.com/casey/just) as a command runner. Please install this first.\n- Tested with Rust nightly-2024-02-26\n\nIn order to connect to a gRPC server from the browser it must pass through a grpc-web proxy. The simplest one to set up is the standalone Go proxy. Grab a binary from [here](https://github.com/improbable-eng/grpc-web/releases) or install it with:\n\n```shell\ngo install github.com/improbable-eng/grpc-web/go/grpcwebproxy@latest\n```\n\nOnce you have it, run it with the following to proxy to an existing public lightwalletd:\n\n```shell\njust run-proxy\n```\n\n### Generating benchmark results\n\n#### Headless browser automated testing\n\nUse a headless browser to generate test results with:\n\n```shell\njust test-headless-firefox\n```\nor\n```shell\njust test-headless-chrome\n```\n\nBy default this runs tests with multiple repetitions and across a grid of different parameter cofigurations. The table of results will be displayed in the console.\n\n#### In-browser Tests\n\nBuild the Wasm and webpage with\n\n```shell\njust build\n```\n\nand then run the page with\n\n```shell\njust serve\n```\n\nFrom the webpage you can configure and run your own tests and see the results in the web console.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainsafe%2Fzcash-wasm-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchainsafe%2Fzcash-wasm-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainsafe%2Fzcash-wasm-benchmark/lists"}