Protocol
Architecture
Move truth, indexer reads, keeper settlement, app and SDK writers.
Architecture
StreamLine separates write truth, read cache, and settlement.
┌─────────────┐ ┌─────────────┐
│ Phone / Pro│ │ @streamline │
│ app │ │ /sdk │
└──────┬──────┘ └──────┬──────┘
│ PTB + gas/sponsor │
└─────────┬─────────┘
▼
┌────────────────┐
│ Sui Move pkg │ streamline::stream / private_stream / shielded_pool / …
└────────┬───────┘
│ events
▼
┌────────────────┐ ┌────────────┐
│ Indexer │◄────►│ Keeper │ drip / auto_approve
│ REST + WS │ └────────────┘
└────────┬───────┘
│
▼
ClientsDesign rules
- Never trust the indexer for authorization — caps and Move entrypoints enforce rights.
- Gasless UX — users via Enoki; keepers pay settlement gas and earn a tiny on-chain tip.
- SDK stays narrow — create + resolve + read first; expand when agents need raise/approve.
Privacy & DeFi
Privacy and finance are protocol pillars — see Privacy and Finance for confidential amounts, yield, stream-backed borrowing, and Pro payroll. SDK v1 stays on the clear-stream write path; the app is the reference client for private mode and treasury ops.