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).
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_blobon Solana at Alpenglow Votor finality cadence (~150 ms). - Tunable Coded Distributed Arrays (TCDA): Systematic 2D Reed-Solomon expansion (
k x kto2k x 2k, wherekis2..16) overGF(256)with retention depthd(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_rootdirectly 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
DaNodePDA, 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:
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:
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
| Parameter | Value | Source |
|---|---|---|
| Program name | alder_da | Anchor program (EEQEMRSzNVrmMakBr1HJofNhEqYXSE3c7gJK3aoGeke1) |
| Finality target | ~150 ms | Solana Alpenglow Votor (Epoch 1064, 2026-10-21) |
| Coding field | GF(256) | Irreducible polynomial 0x11d (x^8 + x^4 + x^3 + x^2 + 1) |
| Coding shape | k x k -> 2k x 2k | k in 2..16, n = 2 * k (4..32), max 512 bytes per cell |
Retention depth d | 1..4 | Tunable coded shard replication across bonded DA nodes |
| Verification | Merkle DAS + 2D RS | On-chain BlobRecord.commitment_root + exact Merkle depth + 2D RS codeword check |
| Fee and bond asset | SOL | Availability fees and DA node security bonds |
| Token | ALDR | Fixed 1,000,000,000 supply; protocol SOL fees buy and burn via Jupiter |
Where to Go Next
- Follow the Quickstart to publish, sample, and reconstruct your first encrypted blob in the studio or via
@alder/sdk. - Read Architecture for the full lifecycle from client encryption to Solana finality and challenges.
- Inspect the SDK Reference, REST and SSE API, and `alder_da` Program Reference for exact schemas and instruction layouts.