alderconfidential DA on Solana
Getting Started

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

LayerResponsibilityImplementation
Client / @alder/sdkLocal AES-256-GCM encryption, GF(256) 2D Reed-Solomon encoding/decoding, viewing-key wrapping, local multiproof verificationbackend/packages/sdk/src/
Solana program (alder_da)On-chain ProtocolConfig, DaNode, BlobRecord, and Challenge PDAs; SOL fee escrow, fee split, and slashingEEQEMRSzNVrmMakBr1HJofNhEqYXSE3c7gJK3aoGeke1
DA API and shard clusterUnsigned v0 transaction building, coded cell custody at retention depth d, blinded cell sampling, multiproof generation, SSE telemetryHono + Prisma/PostgreSQL (/v1/*)
Indexer workerFollows alder_da transactions and #[event_cpi] inner instructions under a leader lease into PostgreSQL read modelsbackend/src/workers/indexer.ts
Keeper workerExecutes 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 walletbackend/src/workers/keeper.ts

Blob Lifecycle

  1. 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).
  2. TCDA 2D encoding: The ciphertext is length-prefixed with a 4-byte big-endian header, laid into a k x k matrix (max 512 bytes per cell), and extended along rows then columns via systematic Reed-Solomon coding over GF(256) (0x11d) to an n x n matrix (n = 2k).
  3. 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. On POST /v1/blobs/anchor/build, the API verifies every cell hash, <= 512 byte bound, Merkle root, and full 2D RS codeword (verifyTcdaCodeword), staging unsigned cells in an expiring StagedBlob table until on-chain confirmation.
  4. Solana anchor (`anchor_blob`): The publisher signs a v0 transaction that initializes the BlobRecord PDA (["blob", publisher, blob_id_hash], 223 bytes) and transfers the SOL availability fee into escrow. Status starts at Pending.
  5. Auto-attestation (`attest_availability`): As soon as POST /v1/transactions/submit confirms anchor_blob on chain, the backend executes attest_availability (co-signed by both authority and the custodian DA node operator), transitioning the blob to Available, routing the protocol SOL share to fee_recipient, and vesting the node SOL share in BlobRecord.escrowed_fee until expiry_slot.
  6. Merkle DAS sampling: Light clients read BlobRecord.commitment_root (bytes 72..104) directly from Solana RPC, generate distinct random coordinates client-side with a fresh blindedSalt, 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.
  7. Challenge, cancel, expiry, and close: If a node drops a cell, any non-operator verifier calls open_challenge; the node must submit respond_challenge(cell_data, merkle_proof) verified against blob.commitment_root on chain within challenge_window_slots or face slash_node. If a pending blob misses attestation_deadline_slot, the publisher reclaims the escrowed SOL via cancel_blob. After expiry_slot, alder-keeper submits expire_blob on chain to release vested node fees (or forfeit them to fee_recipient if blob.failed_challenges > 0), after which close_blob and close_challenge reclaim 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

DimensionAlderCelestiaAvail
Payload visibilityEncrypted client-side (ciphertext only)Public plaintextPublic plaintext
Settlement chainNative Solana (alder_da)External chain (CometBFT)External chain (GRANDPA)
Finality cadence~150 ms (Alpenglow Votor)~6 s~20 s
Coding and samplingTCDA GF(256) 2D RS + Polynomial Multiproofs2D RS + NMT DAS2D RS + KZG
Selective complianceScoped viewing-key envelopesNoneNone

Planned Protocol Upgrades

Per Alder's roadmap (road/ROAD.md), four protocol builds extend this architecture:

  1. Privacy Rings and Confidential Rollup Adapters: Drop-in SDK envelope helpers and Ring-aware disclosure verification in /app/vault.
  2. Oblivious PIR Light-Client Sampling: Batched Private Information Retrieval queries using encrypted index vectors so DA nodes cannot correlate sampling coordinates across epochs.
  3. Rotor-Native Erasure Dispersal: Aligning TCDA slice broadcast directly with Alpenglow Rotor stake-weighted propagation to cut attestation latency below 150 ms.
  4. Post-Quantum Commitment and Quantumglow Upgrade: Hash-based polynomial commitments for the 32-byte commitment_root paired with Quantumglow-aligned hash-based attestations.

Next Steps