Sotto's orders run in a client-side engine inside your wallet. Trigger levels, sizes and schedules are stored only on your device, encrypted with your wallet's keys. No Sotto server holds a pre-signed order, knows a trigger price, or decides when to fire. When an order fires, it becomes an ordinary private swap or withdrawal — to the relayer and to the chain it looks like any other.
Order types
| Order | What it does |
|---|---|
| Limit buy / limit sell | Buys or sells a set size when the price reaches your level or better. |
| Take-profit | Sells all or part of a position when the price rises to your level. |
| Stop-loss | Sells all or part of a position when the price falls to your level. |
| Trailing stop | Tracks the highest price since you placed it and sells when the price falls a set percentage below that peak. |
| DCA | Buys a fixed amount at a fixed interval, a set number of times. |
| TWAP | Splits a large buy or sell into slices of varied size (±15 %, exact total) spread over a time window, at randomised times inside it. |
| Snipe | Waits for a token's first tradable liquidity (a launch or a graduation) and buys a set size with a maximum price. |
| Withdraw in waves | Splits a withdrawal into standard-size parts sent at random times to fresh addresses. See Withdrawals. |
How the engine works
- Watch. For each active order the wallet prices the pair by quoting a fixed reference size (never your order's size; exit orders quote the sell side) through the same quote path it uses when a token is on screen (Sotto's quote proxy, so venues never see your IP), and checks it against your condition locally. A condition must hold on two checks in a row before the order arms. Right before a fill the wallet quotes the order's own size once to check the level at the size that really trades; the quote proxy can infer from that pair of requests when an order fired and roughly at what price (never an order that has not fired).
- Wait a moment. When the condition holds, the wallet waits a short random delay (0.3–2.5 s), so a fill never follows a price move by a fixed lag.
- Fire. It submits one normal private swap or withdrawal through the same paths as a manual trade: a ready ticket or prepared quick swap when there is one, otherwise a proof made at that moment. The usual route, price and fee checks apply, and the minimum output comes from your slippage.
- Record. The result is written to your encrypted activity history. DCA, TWAP and waves schedule their next step.
Every execution is bounded on chain by its minimum output: a fill below it reverts and your notes stay unspent. For limits, take-profits and capped buys, that minimum is your level itself. If a part was sent but the wallet could not learn whether it landed, the order pauses (marked "outcome unknown") and is never re-sent by itself. Public amounts are rounded the same way as manual trades.
Where orders run
The engine runs wherever your wallet runs:
| Where | When orders are watched |
|---|---|
| Sotto extension | in the background while the browser is open and the wallet is unlocked |
| In-site wallet | while a tab of the app is open and the wallet is unlocked |
Orders are tied to the device that created them. If that device is off, asleep or locked, its orders do not fire until it is back and unlocked.
What our servers never see
- your trigger levels, trailing distances, schedules or the fact that an order exists;
- the size of an order before it fires;
- the destination and timing of withdrawal waves before each part is sent.
At the moment an order fires, the relayer sees what it sees for any transaction: the proof and its public fields (route and input amount for a swap; recipient and amount for a withdrawal), and the IP address of the request. The quote proxy sees price requests for the pairs your wallet watches, as it does whenever a token is open on screen.
Limits and honest caveats
- Stops are not guaranteed prices. A stop-loss fires a market sell when the level is crossed; in a fast market the fill can be below the level, down to your minimum output, or the swap can revert and retry.
- Tickets and prepared swaps follow the same privacy timing rules as manual quick trades.
- Same phrase, several devices. An order lives on one device. Another device with the same recovery phrase does not see it and may spend the notes it planned to use; the order then re-plans with the notes that are left.
Perps orders
Orders on Hyperliquid — limit, take-profit and stop-loss on a perps position — are Hyperliquid's own order types, placed by your one-time account and executed by Hyperliquid. See Perps.