Fondaco developer docs
Fondaco is a request-for-quote network on Midnight. A wallet or app asks for a price, solvers compete with signed, binding quotes, and the trade settles in one Midnight transaction by merging offers. The relay never holds funds: the solver settles from its own coins and the wallet signs its own side.
Privacy is a property of each leg. The shielded side (USDM) is hidden: amount, coins and the link to the user. The NIGHT side is public: an unshielded leg shows its address and amount on any explorer, until a shielded NIGHT is listed. The threat model says who sees what.
Start here
Section titled “Start here”| You are | Start with | Then |
|---|---|---|
| A wallet or dApp team | Wallet in 20 minutes | The wallet SDK reference, the relay API |
| A solver: desk, bot or agent | Solver in 20 minutes | The solver SDK reference, the RFQ envelope |
| A site that wants the swap on a page | Embed in 5 minutes | — |
| Anyone checking the claims | What is mocked and the threat model | The MIP draft |
What exists today, and what does not
Section titled “What exists today, and what does not”These docs describe the network as it is. Some pieces the quickstarts are built around are still being written; their pages say so at the top, show what works meanwhile, and change when the piece ships. The flags below are the ones the public site uses (site/src/data/site.json).
| Piece | Status | Meanwhile |
|---|---|---|
Wallet SDK demo mode (SwapClient({ mode: "demo" }), DemoWallet) | Upcoming | Demo mode is the next wallet SDK release (docs/devex.md §2). Until it ships, the swap runs against the local devnet stack or, with a token from us, Preprod. |
Solver CLI and mock relay (npx si-solver dev, MockRelay) | Upcoming | The si-solver command and its mock relay are the next solver SDK release (docs/devex.md §3). Until they ship, a solver runs against the local devnet stack. |
Hosted Preprod relay with the public demo app key | Works today | — |
| The privacy level in the relay, the SDK and the swap | Upcoming | The privacy level ships in the relay, the wallet SDK and the web swap before mainnet (docs/privacy-levels.md). Until then every fill is what the public level describes: the NIGHT leg is public, the shielded side hidden. |
What runs today: the relay, both SDKs, the solvers and the matcher on the local devnet stack (scripts/stack.sh up), and the same code on Preprod with a token from us.
Package names
Section titled “Package names”The packages will publish to npm as @fondaco/wallet-sdk, @fondaco/solver-sdk, @fondaco/connector, @fondaco/protocol and @fondaco/ledger-kit. None is published yet. In the repository they are @si/* workspaces, built with npm ci && npm run build at the root; the code on these pages that runs today imports them from there. See Packages.
For agents
Section titled “For agents”/llms.txt lists every page with a one-line summary; /llms-full.txt is the text of the guides, the threat model and the MIP draft in one file.