Early Access The dStorage SDK is under active development (v0.0.x). APIs may still change — it's safe to follow the guides, but hold off on production use for now.
Skip to content

Guide

Five guides that gradually introduce new concepts — each one swaps in a more realistic set of adapters than the last, while the core init() / store() / retrieveByRefId() call pattern stays the same throughout.

Every guide can also be followed hands-on against a ready-to-run starter app instead of building from scratch — clone starter-template from this repo and swap in each guide's adapters as you go.

  • Mock Adapters — fully in-memory, zero external dependencies. Your first encrypted upload and retrieval, in a few minutes.
  • Core Concepts — how your data gets encrypted, storageId vs refId, and how the three adapter slots compose. Conceptual, not hands-on — read this before or after Mock Adapters.
  • Local & Simulator Adapters — real circuit behavior and real local storage, still with no live wallet or Docker proof server.
  • Midnight Network Adapter — a real Midnight network, a real wallet, and a live proof server.
  • Managed Payments Service — production Arweave storage and Midnight DUST fees, both sponsored via dStorage Pro's managed service.