Architecture
End-to-end confidential data availability architecture combining TCDA, Polynomial Multiproofs, and Solana Alpenglow finality.
Alder separates payload confidentiality from availability verification. Ciphertext bytes live in a distributed network of SOL-bonded DA nodes, while 32-byte commitment roots, fee escrows, node bonds, and fraud challenges settle directly on Solana via the alder_da program.
System Components
| Layer | Responsibility | Implementation |
|---|---|---|
Client / @alder/sdk | Local AES-256-GCM encryption, GF(256) 2D Reed-Solomon encoding/decoding, viewing-key wrapping, local multiproof verification | backend/packages/sdk/src/ |
Solana program (alder_da) | On-chain ProtocolConfig, DaNode, BlobRecord, and Challenge PDAs; SOL fee escrow, fee split, and slashing | EEQEMRSzNVrmMakBr1HJofNhEqYXSE3c7gJK3aoGeke1 |
| DA API and shard cluster | Unsigned v0 transaction building, coded cell custody at retention depth d, blinded cell sampling, multiproof generation, SSE telemetry | Hono + Prisma/PostgreSQL (/v1/*) |
| Indexer worker | Follows alder_da transactions and #[event_cpi] inner instructions under a leader lease into PostgreSQL read models | backend/src/workers/indexer.ts |
| Keeper worker | Executes real on-chain expire_blob transactions after expiry_slot (releasing or forfeiting vested node fees) and runs the Jupiter ALDR buyback-and-burn crank from the launch wallet | backend/src/workers/keeper.ts |
Blob Lifecycle
- Client encryption: The publisher generates a fresh 32-byte content key and 12-byte IV, then encrypts the payload with AES-256-GCM binding
alder:blob:v1:<blobId>as Additional Authenticated Data (AAD). - TCDA 2D encoding: The ciphertext is length-prefixed with a 4-byte big-endian header, laid into a
k x kmatrix (max512bytes per cell), and extended along rows then columns via systematic Reed-Solomon coding overGF(256)(0x11d) to ann x nmatrix (n = 2k). - Commitment root and codeword verification: Every cell is hashed with
SHA-256("alder:cell:v1:<row>:<col>:" || data). Row Merkle roots (rowCommitments), column Merkle roots (colCommitments), and the full-matrix Merkle root (commitmentRoot, 32 bytes) are derived locally. OnPOST /v1/blobs/anchor/build, the API verifies every cell hash,<= 512byte bound, Merkle root, and full 2D RS codeword (verifyTcdaCodeword), staging unsigned cells in an expiringStagedBlobtable until on-chain confirmation. - Solana anchor (`anchor_blob`): The publisher signs a v0 transaction that initializes the
BlobRecordPDA (["blob", publisher, blob_id_hash],223bytes) and transfers the SOL availability fee into escrow. Status starts atPending. - Auto-attestation (`attest_availability`): As soon as
POST /v1/transactions/submitconfirmsanchor_blobon chain, the backend executesattest_availability(co-signed by bothauthorityand the custodian DA nodeoperator), transitioning the blob toAvailable, routing the protocol SOL share tofee_recipient, and vesting the node SOL share inBlobRecord.escrowed_feeuntilexpiry_slot. - Merkle DAS sampling: Light clients read
BlobRecord.commitment_root(bytes72..104) directly from Solana RPC, generate distinct random coordinates client-side with a freshblindedSalt, fetch coded cells plus Merkle paths and the Fiat-Shamir transcript digest, and verify exact Merkle depth and cell inclusion locally against the on-chain root. - Challenge, cancel, expiry, and close: If a node drops a cell, any non-operator verifier calls
open_challenge; the node must submitrespond_challenge(cell_data, merkle_proof)verified againstblob.commitment_rooton chain withinchallenge_window_slotsor faceslash_node. If a pending blob missesattestation_deadline_slot, the publisher reclaims the escrowed SOL viacancel_blob. Afterexpiry_slot,alder-keepersubmitsexpire_blobon chain to release vested node fees (or forfeit them tofee_recipientifblob.failed_challenges > 0), after whichclose_blobandclose_challengereclaim account rent.
Alignment with Solana Alpenglow and Privacy Rings
Solana activated Alpenglow Votor on mainnet on 2026-10-21 (Epoch 1064, SIMD-0326), replacing TowerBFT with BLS-aggregated validator voting targeting ~150 ms finality. Anchoring Alder's 32-byte commitment_root directly on Solana keeps confidential blob finality synchronous with Solana execution instead of bridging to external DA chains (~6 s on Celestia, ~20 s on Avail).
Solana Privacy Rings (live on mainnet November 2026) provides encrypted UTXOs and compliance rings on chain. Alder complements Privacy Rings as the high-capacity off-chain blob layer for encrypted state diffs, proofs, and scoped viewing-key envelopes bound via policyId.
Comparison Against Public DA Layers
| Dimension | Alder | Celestia | Avail |
|---|---|---|---|
| Payload visibility | Encrypted client-side (ciphertext only) | Public plaintext | Public plaintext |
| Settlement chain | Native Solana (alder_da) | External chain (CometBFT) | External chain (GRANDPA) |
| Finality cadence | ~150 ms (Alpenglow Votor) | ~6 s | ~20 s |
| Coding and sampling | TCDA GF(256) 2D RS + Polynomial Multiproofs | 2D RS + NMT DAS | 2D RS + KZG |
| Selective compliance | Scoped viewing-key envelopes | None | None |
Planned Protocol Upgrades
Per Alder's roadmap (road/ROAD.md), four protocol builds extend this architecture:
- Privacy Rings and Confidential Rollup Adapters: Drop-in SDK envelope helpers and Ring-aware disclosure verification in
/app/vault. - Oblivious PIR Light-Client Sampling: Batched Private Information Retrieval queries using encrypted index vectors so DA nodes cannot correlate sampling coordinates across epochs.
- Rotor-Native Erasure Dispersal: Aligning TCDA slice broadcast directly with Alpenglow Rotor stake-weighted propagation to cut attestation latency below 150 ms.
- Post-Quantum Commitment and Quantumglow Upgrade: Hash-based polynomial commitments for the 32-byte
commitment_rootpaired with Quantumglow-aligned hash-based attestations.
Next Steps
- Deep-dive into client encryption in Encrypted Blobs.
- Explore retention depth math in Tunable Coded Distributed Arrays.
- Inspect the on-chain state machine in `alder_da` Program Reference.