Early Access  ·  Prototype Stage

The missing privacy layer
for decentralised apps.

dStorage is an SDK that gives dApps client-side encryption, decentralised storage, and on-chain coordination — all in a single integration. Privacy becomes an architectural guarantee, not a policy promise.

See How It Works
Privacy-FirstNon-CustodialOne SDKMidnight + Decentralised StorageZero-Knowledge EncryptionManaged PaymentsPortable Keychain & Recovery
$4.9MAverage cost of a data breach
60–80%Smart contracts with off-chain data
200+Days average breach detection time
71%of countries now enforce data privacy laws — up from 45% in 2016

The Problem

Off-chain data is Web3's weakest link.

The decentralisation promise breaks the moment user data touches a centralised server. dStorage closes that gap.

Centralised Cloud Storage

60–80% of smart contracts reference off-chain data in centralised services — creating privacy liabilities that contradict the decentralisation promise.

Fragmented Protocols

Storage protocols are incompatible and require different payment tokens. No coherent SDK layer exists — developers wire everything from scratch.

Adoption & Trust Crisis

Breaches cost $4.9M on average, take 200+ days to detect, and permanently erode the user trust dApps depend on to grow.

How It Works

Four steps. One SDK call.

Encryption, decentralised storage, and on-chain coordination — all triggered by a single dStorage.upload(data) call.

dStorage SDK How It Works
Smart contracts on Midnight store cryptographic references — linking on-chain logic directly to off-chain data. Only the data owner can decrypt. App providers and operators never see raw content.
dstorage-example.ts
// 1. Configure once — swap adapters without changing app code
const sdk = new DStorageSDK({
  storage: new ArweaveAdapter(),    // permanent decentralised storage
  chain:   new MidnightAdapter(),    // on-chain references
  payment: new ManagedPaymentAdapter() // or LocalWalletAdapter()
});

// 2. Upload — encrypted client-side, stored on Arweave, ref written on Midnight
const { refId } = await sdk.upload(data);

// 3. Your Midnight contract stores refId — linking on-chain logic to off-chain data
// 4. Retrieve — looks up chain ref, fetches from Arweave, decrypts on user device
const data = await sdk.retrieveByRefId(refId);

Features

Everything a dApp needs for private storage.

Built for developers who shouldn't have to become cryptographers just to handle user data responsibly.

🔐

Client-Side Encryption

Data encrypted on the user's device before it ever leaves. Keys derive from the user's own wallet — dStorage never holds or manages them.

🌐

Decentralised Storage

Encrypted blobs stored permanently on a decentralised network — censorship-resistant. No central server holds your users' data.

⛓️

On-Chain Contract References

Midnight smart contracts store lightweight cryptographic references (storage ID + owner address), linking on-chain logic directly to off-chain data.

🔓

User-Only Decryption

Only the data owner can decrypt. App providers, operators, and nodes architecturally cannot access raw content. Privacy at the architecture level.

💳

Managed Payments

Fund via credit card, BTC, USDT, USDC, or AR. The SDK handles token acquisition and transaction signing — no crypto expertise required.

🔌

Modular Adapters

Swap storage, chain, or payment backends in one config change. Start with in-memory mocks, go live when ready.

👛

Non-Custodial by Design

All keys derive from the user's wallet. The dApp never takes custody of keys or data. Users own their data — always.

🧪

Zero-Config Testing

Mock adapters need no network, tokens, or extensions. Full local testing without any external dependencies.

🗝️

Portable Keychain & Recovery

Encryption keys are wrapped with a multi-key technique — the same data key can be unlocked by a wallet, a password, or a recovery mnemonic. Rotate credentials or add backup unlock methods at any time, without touching the underlying data. No single lost credential can permanently lock you out.

Use Cases

Built for real dApp scenarios.

From DeFi to NFTs to governance — dStorage handles the private data layer so your team stays focused on product.

DeFi

🏦 Private Portfolio & Strategy Data

A DeFi protocol stores each user's trading strategies, portfolio notes, and alert configurations encrypted in decentralised storage. The protocol never sees the data — only the user does. Privacy is a guarantee of the architecture, not a setting.

NFTs

🖼️ Creator Content That Stays Private

An NFT creator stores unreleased work, high-resolution originals, and personal notes encrypted in decentralised storage before minting. No platform, marketplace, or storage provider can read the content — it lives on a decentralised network, visible only to its creator.

DAOs

🗳️ Confidential Internal Deliberations

A DAO stores draft proposals, internal discussion summaries, and treasury analysis encrypted in decentralised storage. Sensitive governance work stays private from the public and from tooling providers — without sacrificing the auditability of on-chain decisions.

AI Agents

🤖 Persistent Memory for AI Agents

An AI agent stores its context, session history, and user-specific knowledge encrypted on decentralised storage — tied to the user's wallet, not a centralised server. The agent picks up exactly where it left off, across any frontend, without the platform ever holding the data.

Robotics

🦾 Sovereign Robot Fleet Intelligence

A fleet of AI-powered autonomous robots stores mission logs, learned navigation maps, sensor calibration data, and behavioural models encrypted in decentralised storage — tied to the operator's on-chain identity. No cloud provider or robot manufacturer has access to proprietary operational data. Each robot retrieves its full learned state securely on boot, without relying on centralised infrastructure.

dStorage Portal

Your dStorage dashboard — coming soon.

A customer portal where your team logs in, tops up credit, and monitors usage in real time — API calls, credit balance, top-up history, and usage graphs. Built for teams already running on dStorage.

Dashboard
Liquidity
History

Building the infrastructure dApps were always missing.

Stay in the loop — follow @dStorageTech on X for the latest updates and news.

Follow @dStorageTech on