Overview
One token for a whole theme, held in your own wallet, with the size of your position kept private.
Darwin, the basket protocol, is live on Miden mainnet. You pay USDCx and receive one basket token. The basket's vault holds the real coins behind it: real WBTC, ETH and SOL, bought on Miden's DEX. Your shares arrive as a private note in a wallet you control, and the public trade legs are signed by Darwin's relay, not by your account.
The problem
Owning a theme means owning several assets at once. By hand, that is one swap per leg, one fee per leg, and a rebalance every time the weights drift. Index products solve that and bring back a different cost: a manager, a subscription, and a share register that says exactly who owns how much.
On a public chain the register is worse than paperwork. Your address is your portfolio. Position sizes, entry times and your whole trade history are readable by anyone, including people pricing against you.
Darwin keeps the one-token part and removes the register. The basket's rules are public MASM that anyone can check against the account on-chain. Your side of it (how much you hold, when you bought, what it is worth) lives in notes only you can open.
The basket live today
| Basket | Token | Holds | Target weights |
|---|---|---|---|
| Darwin Blue Chip | BLUEDW | WBTC, ETH, SOL | 50 / 30 / 20 |
Gold, DeFi and Privacy baskets are shown in the app as "Soon": their constituents are not yet on Miden mainnet. See Baskets.
Architecture in one picture
The five parts
-
The basket vault. One Miden network account: it is the BLUEDW faucet and the vault that holds the coins. It runs only the note scripts it allowlists; the two that matter are an in-kind deposit, which prices coins with Pragma on-chain and mints shares in the same transaction, and an in-kind redeem, which burns shares and releases each coin pro-rata. See Network Settlement.
-
The DEX. The vault never holds an IOU. When you buy, real WBTC, ETH and SOL are bought on Miden's order book (PSWAP orders, filled by the market maker) and put in the vault. When you sell, they are sold back for USDCx.
-
The relay. A service run by Darwin that does the parts that cannot happen in a single transaction: placing the DEX orders, waiting for fills, then depositing the coins into the vault. It receives your trade as a private note and sends the public legs from its own account. That is what keeps your account out of the public trade. See How a Trade Works.
-
The oracle. Prices come from Pragma's Miden deployment, read inside the note by foreign procedure invocation. The relay never supplies a price to the vault. See Oracle.
-
Your wallet. A Miden account you hold the key to: today, Bread. Every trade is two signatures in it: one to send, one to accept what comes back. See Wallets.
What the chain enforces, and what the relay does
Being precise about this matters more than making it sound good.
| Property | Enforced by |
|---|---|
| Shares are minted only against coins actually put in the vault, at Pragma prices | The deposit note script: it values the coins it carries and the vault's holdings at Pragma medians read on-chain, and mints Δ·S/V |
| Only Darwin's operator can deposit | The deposit script checks the sender is the vault's on-chain owner. This blocks anyone depositing at a stale price |
| A sell releases exactly your share of every coin | The redeem script: s·Hᵢ/S of each holding, no price needed |
| The vault runs nothing else | It is a network account with an allowlist; any other note script is never executed. The vault's owner can add a script to that allowlist (see below) |
| Your shares, once in your wallet, are yours | They are a balance in your account. Darwin has no key that can move them |
| The 30 bps fee, the DEX execution, the timing | The relay. These are operator actions, not chain rules. See Fees and Risks |
What Darwin is not
It is not a fund with a manager and a redemption window, and it is not a wrapper around someone's spot book: the vault is on-chain and its balance is the backing. It is also not trustless end to end, in two ways:
- For the minute or two a trade takes, your USDCx (on a buy) or your shares (on a sell) are with the relay. The chain does not force the relay to finish your trade.
- The vault has an owner (Darwin's operator account) and the owner can add a note script to the vault's allowlist. That upgrade path exists so a change in Miden or in Pragma does not strand every share in a dead account. It also means the owner key could, in principle, authorize a script that moves the vault's coins. Any such change is a public transaction against the vault, visible to anyone watching it.
Risks says this in full.
Status
Live on Miden mainnet, one basket, buy and sell through Bread, with beta limits ($100 per buy, $1,000 basket size). Sells have no cap and are never paused. Full picture on Status.