L2PS SDK
The L2PS module in the WebSDK provides a complete toolkit for private transactions on the Demos Network. Transactions are encrypted client-side using AES-256 before being sent to L2PS-participating nodes.Key Features
Client-Side Encryption
Transactions encrypted in your browser with AES-256-CBC before transmission.
Authenticated History
Only address owners can access their transaction history via signatures.
Transaction Lifecycle
Track transactions through Executed → Batched → Confirmed stages.
Simple Integration
Drop-in replacement for standard L1 transactions with privacy.
How It Works
Transaction Lifecycle
| Status | Description | Timing |
|---|---|---|
| Executed | Node validated, balance reserved | Instant |
| Batched | Included in L1 batch with ZK proof | Per L1 block |
| Confirmed | L1 block finalized | Final |
Quick Reference
Getting Started
The L2PS Module
Learn how to initialize and configure the L2PS module
Interacting with L2PS
Send transactions and query history
For backend implementation details, see the L2PS Subnet Framework.