alderconfidential DA on Solana
Getting Started

Alder Documentation

Confidential data availability on Solana using encrypted TCDA coded arrays, Polynomial Multiproofs, and Alpenglow finality.

Alder is a confidential data availability layer on Solana. Applications encrypt payloads client-side with AES-256-GCM, erasure-code the ciphertext into a 2D Reed-Solomon matrix over GF(256) with tunable retention depth, disperse coded cells to SOL-bonded DA nodes, and anchor a 32-byte commitment root on Solana via the alder_da program (EEQEMRSzNVrmMakBr1HJofNhEqYXSE3c7gJK3aoGeke1).

IMPORTANT
Plaintext never leaves the client. DA nodes store coded ciphertext cells, and light clients verify availability against the on-chain commitment root without decrypting a single byte.

What Alder Provides

  • Encrypted blob anchoring: Client-side AES-256-GCM encryption with a random 32-byte content key and 12-byte nonce, paired with anchor_blob on Solana at Alpenglow Votor finality cadence (~150 ms).
  • Tunable Coded Distributed Arrays (TCDA): Systematic 2D Reed-Solomon expansion (k x k to 2k x 2k, where k is 2..16) over GF(256) with retention depth d (1..4) to balance storage overhead against retrieval latency.
  • Merkle DAS Multiproofs: Light clients pick distinct random cell coordinates client-side, fetch coded cells with a transcript salt, read BlobRecord.commitment_root directly from Solana RPC, and verify every cell's SHA-256 Merkle inclusion path and Fiat-Shamir transcript digest (alder-poly-multiproof-v1) locally in the browser or Node.js.
  • Selective compliance disclosure: Publishers wrap a blob's content key into a scoped viewing-key envelope bound to (blobId, auditorPubkey, scope) for Solana Privacy Rings and regulated audit workflows.
  • SOL-bonded DA nodes and slashing: Node operators bond SOL in a DaNode PDA, earn SOL availability fees on attested blobs, and face on-chain missing-cell challenges (open_challenge, respond_challenge, slash_node).

Quick Example

Install @alder/sdk and @alder/contract, then encrypt, encode, and build an unsigned anchor_blob transaction in one call:

ts
import { createAlderSdk } from '@alder/sdk'

const sdk = createAlderSdk('http://127.0.0.1:42102')

const published = await sdk.putPrivateBlob({
  publisher: '<PUBLISHER_SOLANA_PUBKEY>',
  payload: 'confidential batch state diff',
  k: 4,
  retentionDepth: 2,
  policyId: 'privacy-rings',
})

console.log(published.blobId, published.commitmentRoot)

Once the blob is attested and reaches Available status, any light client can read BlobRecord.commitment_root from Solana RPC, sample distinct random cells, and verify Merkle inclusion locally:

ts
const { sample, onChainCommitmentRoot, localVerification } = await sdk.sampleAvailability(
  published.blobId,
  {
    matrixSizeN: published.matrix.n,
    sampleCount: 16,
    rpcUrl: 'http://127.0.0.1:42104',
    blobPda: published.txBuild.blobPda!,
  },
)

console.log(onChainCommitmentRoot, localVerification.valid, localVerification.confidencePct)

Protocol Constants

ParameterValueSource
Program namealder_daAnchor program (EEQEMRSzNVrmMakBr1HJofNhEqYXSE3c7gJK3aoGeke1)
Finality target~150 msSolana Alpenglow Votor (Epoch 1064, 2026-10-21)
Coding fieldGF(256)Irreducible polynomial 0x11d (x^8 + x^4 + x^3 + x^2 + 1)
Coding shapek x k -> 2k x 2kk in 2..16, n = 2 * k (4..32), max 512 bytes per cell
Retention depth d1..4Tunable coded shard replication across bonded DA nodes
VerificationMerkle DAS + 2D RSOn-chain BlobRecord.commitment_root + exact Merkle depth + 2D RS codeword check
Fee and bond assetSOLAvailability fees and DA node security bonds
TokenALDRFixed 1,000,000,000 supply; protocol SOL fees buy and burn via Jupiter

Where to Go Next