Skip to content
tachyon-zcashPublic

About

zcash_tachyon Rust library for Tachyon

Resources

Stars

31 stars

Watchers

2 watching

Forks

Repository files navigation

Tachyon

The Tachyon shielded transaction protocol for Zcash.

Architecture

Transaction Structure

A bundle contains actions, a value balance, and a binding signature. Each action carries a value commitment (cv), a randomized verification key (rk), and a spend authorization signature (sig).

Tachygrams (nullifiers and note commitments) live in the stamp, not in the action. This separation enables stamp stripping during proof aggregation while actions retain their authorization.

classDiagram
    class Bundle["Bundle<Stamp>"] {
        actions: Action[]
        value_balance: i64
        binding_sig: BindingSignature
        stamp: Stamp
    }
    class Action {
        cv: value::Commitment
        rk: RandomizedVerificationKey
        sig: SpendAuthSignature
    }
    class Stamp {
        tachygrams: Tachygram[]
        anchor: Anchor
        proof: Proof
    }
    Bundle *-- Action
    Bundle *-- Stamp
Loading

Status

Core cryptographic plumbing is implemented and tested:

  • Key derivation (PRF^expand with sign normalization)
  • Value commitments (Pedersen over Pallas, shared generators with Orchard)
  • Spend authorization signatures (RedPallas, randomized keys)
  • Binding signatures (value balance enforcement via homomorphic commitments)
  • Bundle construction and signature verification

Stubbed (pending Ragu PCD and Poseidon integration):

  • Note commitments
  • Nullifier derivation (GGM tree PRF)
  • Proof creation, merge, and verification
  • Stamp compression/decompression

Development

Requires Rust stable (1.85+) and nightly for formatting/linting.

just test    # cargo test --workspace --all-features
just lint    # cargo +nightly clippy --workspace --all-targets --all-features
just fmt     # cargo +nightly fmt --all
just doc     # cargo doc --workspace --no-deps

License

MIT OR Apache-2.0

About

zcash_tachyon Rust library for Tachyon

Resources

Stars

31 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages