Z-Chain (ZK)
Zero-knowledge UTXO chain for private transactions. Groth16/PLONK proof verification, nullifier-based double-spend prevention, and optional FHE (BFV/CKKS).
Overview
The ZK Chain provides zero-knowledge privacy for transactions on Lux Network. Using a UTXO model with Groth16 and PLONK proof systems, Z-Chain enables fully private transfers where the sender, receiver, and amount are all hidden.
Nullifier-based double-spend prevention ensures security without revealing transaction graph information. Optional FHE integration via the T-Chain allows smart contracts to operate on encrypted values.
Z-Chain supports both private and transparent transactions, giving users the choice of when to use privacy features. Compliance keys can optionally be configured for regulated environments.
Technical Specifications
Groth16, PLONKUTXO (shielded)Sender, Receiver, AmountOptional (via T-Chain)~2 secondsOptionalFeatures
Quick Start
Install the Lux SDK and start interacting with ZK Chain.
Installation
npm install luxnetExample
import { ZkClient } from 'luxnet/zk'
const zk = new ZkClient('https://zk.lux.network')
// Create a private transfer
const tx = await zk.privateTransfer({
from: shieldedWallet,
to: recipientViewKey,
amount: '100',
asset: 'LUX',
})API Reference
Full API reference documentation is available at docs.lux.network.
View Full API Docs