October 10, 2026 · 5 min read
Wallet login is not consent: custody rules behind Bytesac
The principles that keep Bytesac self-custodial while it plans multi-chain trades for you.
Bytesac lets you follow a fund manager's basket, a versioned target portfolio across chains, from your own wallet. We plan the trades, but we never hold keys or funds. That promise is easy to say and easy to break by accident, so we wrote it down as rules.
1. Signing in proves who you are, not what you agreed to
A wallet signature at login creates a backend session. It authorizes nothing that moves value. Every invest, exit or rebalance is a separate plan that you see in full and sign in your wallet.
2. A strategy is not an execution
When a manager publishes a new basket version, that's a target, not an instruction. Holders get notified and choose to apply or skip. A manager's publication is never treated as user consent.
3. Chain evidence is the proof
Provider webhooks and quotes are estimates. Your position is a logical sub-ledger reconciled against on-chain balances, and only chain state counts as proof of what you hold.
4. One operation at a time, idempotently
Before anything executes we reconcile positions, confirm the version and your intent, re-check eligibility and routes, and recompute if anything changed. Operations are serialized per user and each leg is idempotent, so a retry can't double-buy.
5. Nothing financial is deleted
Operations, legs, ledger entries and approvals are append-only or status-driven. The database role the API uses can insert and update but not delete, and row-level security scopes every read.
Most of these rules came from a specific scare during the build. Writing them as ADRs (there are 23) means the next feature has to argue with them before it ships.