LUXDocumentation
Docs/T-Chain (Threshold)

T-Chain (Threshold)

MPC-as-a-service for all Lux chains. Threshold key generation, threshold signing, and FHE operations. Cross-chain signing quotas and session management.

Overview

The Threshold Chain provides Multi-Party Computation as a service to all other Lux chains. It manages threshold key generation, threshold signing ceremonies, and Fully Homomorphic Encryption operations.

T-Chain enables enterprise-grade key management without single points of failure. Private keys are never assembled in one place — they're split across multiple parties, and a configurable threshold must cooperate to sign any transaction.

FHE operations on the T-Chain allow smart contracts to compute on encrypted data without ever decrypting it, enabling truly confidential DeFi. Combined with ZK proofs from Z-Chain, this creates the most private blockchain execution environment available.

Technical Specifications

MPC SchemeThreshold (t-of-n)
FHEBFV / CKKS
Key TypesECDSA, EdDSA, BLS
Session TTLConfigurable
Signing Latency~500ms
Chain TypeOptional

Features

Threshold key generation (DKG)
Threshold signing ceremonies
Fully Homomorphic Encryption (TFHE)
Cross-chain signing quotas
Session management
Enterprise key management

Quick Start

Install the Lux SDK and start interacting with Threshold Chain.

Installation

npm install luxnet

Example

import { ThresholdClient } from 'luxnet/threshold'

const mpc = new ThresholdClient('https://mpc.lux.network')

// Generate a threshold key
const keyGroup = await mpc.generateKey({
  parties: 5,
  threshold: 3,
  keyType: 'ecdsa',
})

// Sign with threshold
const sig = await mpc.sign(keyGroup.id, messageHash)

SDKs & Libraries

API Reference

Full API reference documentation is available at docs.lux.network.

View Full API Docs