Darwin is a confidential basket protocol on Miden. Users deposit underlying crypto assets and receive a single basket token whose Net Asset Value tracks a weighted index. All basket operations run natively on Miden with client-side STARK proofs, so individual positions, balances, and NAV remain private by default.
The product surface lives at darwin.market. This repo is the home of the longer-form internal notes that are too dense to belong on the site.
Browse this documentation as a site: docs.darwin.market — start with architecture-spec.md (the full specification) and status.md (verified live state).
Darwin is organised as a multi-repo project under the darwin-miden GitHub organisation:
| Repo | Purpose |
|---|---|
darwin-protocol |
Core MASM: Darwin Protocol Account, basket faucets, asset faucets, note scripts |
darwin-sdk |
Client SDK (Rust + TypeScript) wrapping miden-client |
darwin-baskets |
Versioned basket manifests and Rust loader |
darwin-oracle-adapter |
Pragma Oracle adapter and signed-attestation fallback |
darwin-bridge-adapter |
EVM-side contracts (strategy registry, basket ERC-20s) |
darwin-relay |
Rust builders for the confidential deposit/redeem notes (native miden-client) |
darwin-infra |
Local dev stack, deployment scripts |
darwin-docs |
This documentation |
darwin-frontend |
Frontend at darwin.market |
MIT.