Authorization
A Tachyon bundle requires three layers of authorization: per-action signatures that bind each tachyaction to its tachygram, value commitments that hide individual values while preserving their algebraic sum, and a binding signature that proves the declared balance is correct. This chapter covers each layer, then shows the complete flow from action creation through consensus.
Actions
Each tachyaction requires a fresh randomized key pair.
The planner begins authorization by selecting arbitrary theta and a relevant note for each action. The custody device is provided each note and theta, and computes from them rather than checking planned values: it derives cm from each note, alpha from theta and cm, and rk from alpha.
flowchart TB
theta["theta (per-action entropy)"]
cm["cm (note commitment)"]
hash(("hash(theta, cm)"))
theta & cm --- hash
hash -->|"Tachyon-Spend"| spend_alpha
hash -->|"Tachyon-Output"| output_alpha
spend_alpha -->|"rk = ak + [alpha]G"| plan
output_alpha -->|"rk = [alpha]G"| plan
plan["action plan { rk, note, theta, rcv, effect }"]
plan ===|"bundle digest"| sighash((sighash))
spend_alpha -->|"rsk = ask + alpha"| sign
sighash ==> sign
output_alpha -->|"rsk = alpha"| sign
sign(("sign(rsk, sighash)"))
sign --- action["action { cv, rk, sig }"]
The arbitrary entropy theta which combines with note commitment cm to deterministically produce the randomizer alpha:
theta and the Poseidon output are elements of , and alpha is that output read as a scalar in , which is larger.
Actions are signed with a unique per-action rsk signing key.
Spends and outputs have different relationships between alpha and rsk, but in both cases,
the action's published rk validating key is the public counterpart of rsk.
Spend
Derivation of spend rsk is rerandomization of spending authority ask:
Conveniently, rk is also possible to derive from validating ak.
The rerandomization of a validating key is equivalent to derivation of a validating key from the rerandomized authority:
So during planning, the planning device obtains rk from the validating ak.
Then during authorization, the custody device is able to confirm correctness of rk, and sign the spend action with its private rsk.
Output
An output rsk is simply equal to alpha. No authority needed:
Then during authorization, the custody device is able to confirm correctness of rk, before signing any spends.
Bundle commitment
The bundle commitment is a digest of the bundle's effect.
The action digest hashes every action's in wire order, so the commitment fixes the actions and their order. Hashing the memo to a fixed width is what lets the outer digest absorb a variable-length payload without a length prefix.
The stamp proof binds the same action set by a different construction: a Pedersen commitment to the polynomial whose roots are the Poseidon action digests,
which is order-independent, as a set commitment must be to survive aggregation. The two digests are computed over the same actions and are not interchangeable.
The stamp is excluded from the bundle commitment because it is stripped during aggregation.
Transaction sighash
All signatures (action and binding) sign the same transaction-wide sighash. The sighash is computed at the transaction layer, incorporating the bundle commitment from each pool (transparent, sapling, orchard, tachyon). The tachyon crate contributes its bundle commitment; a transaction-level crate computes the sighash and passes it in as opaque bytes.
This binds every signature to the complete set of effecting data across all pools.
The stamp steps derive alpha in-circuit from the witnessed theta and the cm their left header certifies, so rk is itself a commitment to cm, and the signature transitively binds each action to its tachygram without the tachygram appearing in the action.
Tachyon also contributes to the transaction-level auth_digest that backs wtxid. See Transaction Identifiers for the formula and how aggregation changes the authorization form.
Value Balance
Tachyon uses Pedersen commitments on the Pallas curve for value hiding:
where is the signed integer value (positive for spends, negative for outputs) and rcv is a random1 trapdoor in .
The generators and are shared with Orchard, derived from the domain z.cash:Orchard-cv.2
Binding signature
The sum of value commitments preserves the algebraic structure:
This enables the binding signature scheme to prove value balance without revealing individual values.
The binding signature proves that the bundle's value commitments are consistent with the declared value_balance.
Planner knows every rcv and computes bsk:
The planner signs the transaction sighash to produce binding_sig directly, without custody assistance.
Validators know the claimed value_balance and each published action cv. Validators reconstruct the corresponding public key:
Expanding the commitments :
When , the component vanishes:
If the values don't balance, the term survives. So,
- If the sum of committed values doesn't truly equal the public balance, the signer cannot produce a valid signature.
- If a valid signature was produced and then the committed values or the public balance were modified, the validator can't confirm the valid signature.
Simplified Flow
A bundle plan feeds three independent paths that converge in the final bundle. Each path consumes the same action plans but produces a different component of the bundle:
- Authorizing: custody derives
rskper spend action and signs the transaction sighash; output actions are signed by the user device. - Binding: the bundle commitment (from ordered action digests and
value_balance) feeds into the transaction sighash, which the binding key signs. - Proving: each action plan yields a leaf stamp; leaves merge into a single Ragu PCD stamp.
flowchart LR
style proving fill:#ff000010,stroke:none
style authorization fill:#ff000010,stroke:none
style binding fill:#ff000010,stroke:none
style custody fill:#00ff0010
style prover fill:#00ff0010
style pczt fill:#0000ff10
style tx fill:#0000ff10
subgraph pczt[partial tx]
subgraph bundle_plan["bundle plan"]
action_plan@{ shape: st-rect, label: "action plan" }
value_balance
end
other1@{ shape: st-doc, label: "other tx data" }
end
pczt ~~~ sighash{sighash}
bundle_plan & other1 === sighash
value_balance --> value_balance_2[value_balance]
subgraph tx[complete tx]
subgraph bundle["stamped bundle"]
value_balance_2[value_balance]
action@{ shape: st-rect }
binding_sig
stamp
end
other2@{ shape: st-doc, label: "other tx data" }
end
subgraph proving["proving flow"]
leaf@{ shape: st-rect, label: "leaf" }
subgraph prover["proving device"]
merge((merge))
end
end
action_plan -.- leaf -.- merge -.- stamp
sighash ~~~ binding
subgraph binding["binding flow"]
bsk
sign_binding_sig(("sign"))
end
action_plan & value_balance --- bsk --- sign_binding_sig ==> binding_sig
sighash === sign_binding_sig
sighash ~~~ authorization
subgraph authorization["authorizing flow"]
subgraph custody["custody device"]
rsk@{ shape: st-rect }
sign_action((("sign")))
end
end
sighash === sign_action
action_plan --- rsk --- sign_action ==> action
other1 --> other2
pczt ~~~ sighash
Consensus recomputes the actions from the visible bundle and checks them against both the sighash (via the bundle commitment's ordered BLAKE2b digest) and the stamp (via the polynomial commitment in the PCD header).
A modified action breaks both checks.
Detailed Sequence
sequenceDiagram
actor User
activate User
note over User: select/create notes { pk, psi, rcm, v }
rect rgb(100, 149, 237, 0.1)
loop per action
note over User: random theta
note over User: random rcv
note over User: cm = Poseidon(pk, psi, rcm, v)
alt spend
note over User: alpha = Poseidon(theta, cm)
note over User: rk = ak + [alpha]G
note over User: cv = Pedersen(v, rcv)
else output
note over User: alpha = Poseidon(theta, cm)
note over User: rk = [alpha]G
note over User: cv = Pedersen(-v, rcv)
end
note over User: action_plan { rk, note, theta, rcv, effect }
end
note over User: bundle_plan { action_plan[], value_balance }
end
loop per output action
note over User: sig = Sign(alpha, sighash)
end
note over User: bsk = Sum rcv_i
note over User: binding_sig = Sign(bsk, sighash)
par Authorizing
rect rgb(255, 165, 0, 0.1)
create participant Custody@{ type: "boundary" }
User ->> Custody: bundle_plan, binding_sig, output_sigs, tx etc
loop per action
note over Custody: cm = Poseidon(pk, psi, rcm, v)
note over Custody: alpha = Poseidon(theta, cm)
alt spend
note over Custody: cv = Pedersen(v, rcv)
note over Custody: rk = ak + [alpha]G
else output
note over Custody: cv = Pedersen(-v, rcv)
note over Custody: rk = [alpha]G
end
end
note over Custody: hActionsTachyon = Blake2b(cv_i || rk_i)
note over Custody: bundle_commitment = Blake2b(hActionsTachyon || value_balance || hMemoTachyon)
note over Custody: compute sighash
break
note over Custody: validate output_sigs
note over Custody: validate binding_sig
end
loop per spend action
note over Custody: alpha = Poseidon(theta, cm)
note over Custody: rsk = ask + alpha
note over Custody: sig = Sign(rsk, sighash)
end
destroy Custody
Custody -->> User: action_sigs, tx sigs
note over User: apply signatures
end
and Proving
rect rgb(138, 43, 226, 0.1)
note over User: select anchor
loop per action
critical anchor, action plan { rk, note, theta, rcv, effect }, pak { ak, nk }
alt effect == spend
User --> User: rk == ak + [alpha]G
note over User: mk = Poseidon(psi, nk)
note over User: nf_e0 = PRF^nfTachyon(mk, e)
note over User: nf_e1 = PRF^nfTachyon(mk, e+1)
note over User: tg_roots = nf_e0, nf_e1
else effect == output
User --> User: rk == [alpha]G
note over User: cm = Poseidon(pk, psi, rcm, v)
note over User: tg_root = cm
end
note over User: action_root = Poseidon(cv || rk)
note over User: action_poly = (X - action_root)
note over User: tg_poly = product over tg_roots of (X - tg_root)
note over User: pcd: leaf stamp(Commit(action_poly), Commit(tg_poly), anchor)
end
end
create participant Stamper
User ->> Stamper: leaf stamps, tachygrams
loop while stamps > 1
critical left(action_poly, tg_poly, anchor), right(action_poly, tg_poly, anchor)
note over Stamper: assert left.anchor == right.anchor
note over Stamper: merged_action = left.action_poly * right.action_poly
note over Stamper: merged_tg = left.tg_poly * right.tg_poly
note over Stamper: pcd: stamp(Commit(merged_action), Commit(merged_tg), anchor)
end
end
destroy Stamper
Stamper ->> User: stamp(tachygrams, anchor, proof)
break
note over User: reconstruct polynomials from roots, commit, verify
end
end
end
create participant Consensus
note over User: transaction { actions[], value_balance, binding_sig, stamp }
deactivate User
destroy User
User ->> Consensus: transaction
break
note over Consensus: action_digest_i = Poseidon(cv_i || rk_i)
note over Consensus: hActionsTachyon = Blake2b(cv_i || rk_i)
note over Consensus: bundle_commitment = Blake2b(hActionsTachyon || value_balance || hMemoTachyon)
note over Consensus: compute sighash
note over Consensus: check action sigs against sighash
note over Consensus: check binding sig against sighash
note over Consensus: action_acc = Commit(poly from action roots)
note over Consensus: tachygram_acc = Commit(poly from tachygram roots)
note over Consensus: verify stamp(action_acc, tachygram_acc, anchor)
end
-
rcvis currently sampled as a uniformly random scalar (Fq::random). This derivation may be revised in the future to incorporate a hash of the note commitment or other action-specific data. ↩ -
The binding signature scheme uses
reddsa::orchard::Bindingwhich hardcodes as its basepoint. We should consider defining a unique personalization. ↩