Validator staking, sovereign L1 management, and network governance. The coordination backbone of Lux Network. Manages the lifecycle of all other chains.
The Platform Chain is the metadata blockchain on Lux Network. It coordinates validators, tracks active L1s, and enables the creation of new blockchains. All staking operations — delegating, adding validators, creating L1s — happen on the P-Chain.
The P-Chain implements the Quasar consensus protocol for linear chain ordering and provides the security backbone for the entire network. Every node on Lux Network validates the P-Chain, making it the most decentralized and secure chain in the ecosystem.
Key capabilities include validator set management with configurable staking parameters, sovereign L1 creation with custom VM configurations, cross-chain atomic transfers via shared memory, and reward distribution for validators and delegators.
Quick start using the Lux JavaScript SDK.
import { Lux } from 'luxnet'
const lux = new Lux('api.lux.network', 443, 'https')
const pchain = lux.PChain()
// Get current validators
const validators = await pchain.getCurrentValidators()
console.log(`Active validators: ${validators.validators.length}`)
// Add a delegator
const tx = await pchain.addDelegator(
nodeID,
startTime,
endTime,
stakeAmount,
rewardAddress
)