百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

librustzcash

> 编程语言
开源

Rust - Zcash 的语言资产

396 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Rust - Zcash 的语言资产

Zcash Rust crates

This repository contains a (work-in-progress) set of Rust crates for working with Zcash.

⚠️ IMPORTANT: The only way to check Zcash consensus validity is to use a Zcash consensus node. ⚠️

The public API surfaces of these crates include many APIs that are used by the zcashd and Zebra node implementations, as well as other critical components in the Zcash ecosystem, but none of them expose any way to check consensus validity of transactions. In particular, APIs for parsing transactions only check a subset of validity constraints. The specific subset they check is not sufficient to guarantee any meaningful user-level validity constraints, and is not necessarily stable over time, or consistent with other implementations of parsers for Zcash transactions.

…

Crates

librustzcash: a Rust Crates Walkthrough w/ nuttycom

Zcash Protocol

  • zcash_protocol: Constants & common types
    • consensus parameters
    • bounded value types (Zatoshis, ZatBalance)
    • memo types
  • zcash_transparent: Bitcoin-derived transparent transaction components
    • transparent addresses
    • transparent input, output, and bundle types
    • support for transparent parts of pczt construction
  • zcash_primitives: Core utilities for working with Zcash transactions
    • the primary transaction data type
    • transaction builder(s)
    • proving, signing, & serialization
    • low-level fee types
  • zcash_proofs: The Sprout circuit & proving system

Keys, Addresses & Wallet Support

  • zcash_address: Parsing & serialization of Zcash addresses
    • unified address, fvk & ivk containers
    • no dependencies on protocol-specific types
    • serialization API definitions
  • zip321: Parsing & serizalization for ZIP 321 payment requests
  • zcash_keys: Spending Keys, Viewing Keys, & Addresses
    • protocol-specific & Unified address types
    • ZIP 32 key & address derivation implementations
    • Unified spending keys & viewing keys
    • Sapling spending & viewing key types
  • pczt: Data types & interfaces for PCZT construction
    • partially constructed transaction types
    • transaction construction role interfaces & partial implementations
  • zcash_client_backend: A wallet framework for Zcash
    • wallet data storage APIs
    • chain scanning
    • light client protocol support
    • fee calculation
    • transaction proposals & high-level transaction construction APIs
  • zcash_client_sqlite: SQLite-based implementation of zcash_client_backend storage APIs
  • zcash_pool_migration: Backend-agnostic engine for migrating wallet funds between value pools (first used for the NU6.3 Orchard → Ironwood migration)
    • note-split planning into self-funding denominations
    • migration PCZT construction, signing & height-based scheduling
    • state persistence through a wallet backend

Utilities & Common Dependencies

  • payment_uri: Parsing and validation for cross-chain payment request URIs
  • f4jumble: Encoding for Unified addresses
  • zcash_encoding: Bitcoin-derived transaction encoding utilities for Zcash
  • equihash: Proof-of-work protocol implementation
  • zcash_history: Zcash blockchain history tree
    • the ZIP 221 Merkle Mountain Range over per-block metadata
    • consumed by node implementations (Zebra, zcashd) for FlyClient proofs

Security Warnings

These libraries are under development and have not been fully reviewed.

License

All code in this workspace is licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Issues· 389 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言