Strategy studio
Design it, simulate it against the real circuit, then encrypt it
SOL / USD
Your levels drawn on the display feed as price lines. The candles are context; the program acts on the on-chain price account.
Start from a shape
Offsets from the current price. Not signals — the circuit has no notion of trend or volatility.
What the program checks before any fill
A limit order is one comparison. This is the stack that runs on every trade, in the deployed program — not in a backend.
Levels
Leave a field blank to switch that rule off.
Spend USDC when the price drops under this level.
Sell back into USDC when the price rises above this level.
Exit the whole position. Exempt from the size cap and the cooldown.
Share of the spendable balance committed per entry. Your vault caps this at 10%. A stop always sells the whole position regardless.
What gets encrypted
Finish the rules to see it.
Three integers, fixed width. A rule you switched off still occupies its slot with a value that can never match, so an observer cannot tell which rules you use.
Your trade size is not in here. The traded amount and your vault balance are both public in the same transaction, so dividing one by the other recovers the size exactly — the first time you trade. It is stored in the clear, in your vault settings.
Simulation
Runs the same decision function as the circuit, over the window above, re-running as you type.
Loading price history…
Not modelled, because modelling it badly would be worse than leaving it out: order-book impact, MEV, Jupiter’s routing, and the ~72-slot gap between a decision and its execution. Past prices are not a forecast.
Risk on this shape
“Loss if stopped” assumes the stop fills at its level. A gap through it fills lower, and slippage is charged on top — your max-slippage limit bounds that, it does not remove it.
Arm it
Two signatures: encrypt, then hand to the cluster.
- 1Encrypted in this browserThe plaintext never leaves this tab. Only ciphertext is sent.
- 2Re-encrypted to the clusterWhat lets evaluations run with nobody online.
The encryption key is derived from a wallet signature, so a strategy cannot be armed without one. Everything above works without it.