How it works
Three pieces, each yours alone.
- Your vault, on the chain where your stocks live (Robinhood Chain; Base Sepolia on testnet). It holds your tokens and dollars, checks every signal again with its own prices before it moves anything, and only ever trades between your chosen tokens and dollars.
- Your watcher, a reactive contract on Reactive Network. It hears every trade in your pools, every real-price update from Chainlink, your vault's own events and a timer every ~17 minutes. It keeps the market clock and runs your rules.
- The launcher, on Reactive Network. When you start Suuru, it hears that and creates your watcher at an address your start transaction already funded, about 5 seconds later.
One action, end to end
On testnet, when a demo wallet crashed its own NVDA by 10% while the market was open:
| Step | Where | When |
|---|---|---|
| The trade (NVDA at $137.98, real $153.31) | Base Sepolia, block 66583480 | 0 s |
| The watcher reacts: stop-loss | Reactive Lasna | about 1 s |
| The vault checks again and sells 1.30 NVDA for $179.89 | Base Sepolia, block 66583488 | 1.6 s |
Reliability, from problems we actually hit
- Gas. Reactive's delivery contract keeps about 130,000 gas for itself; the watcher asks for 700,000 per call.
- Self-healing. A failed delivery leaves a
CallbackFailureevent; the watcher listens for its own and retries once with more gas. - Heartbeat. Every timer tick reaches the vault, so a silent watcher shows up on the status page.
- Fuel. The launcher sponsors each watcher's fuel and tops it up once a day when low, so you never need REACT.
- Catch-up. After any refuel, the vault publishes a snapshot of every price and the watcher decides again.
- Fits in one reaction. A watcher's birth costs 742,000 gas for 5 stocks on Lasna (the limit is 900,000), so a vault holds up to 5.
The market clock
US market hours in New York time with daylight saving, the NYSE holidays and early closes for 2026–2028 (from nyse.com). It is the same code in the contracts and in this app, checked against an independent model on 5,496 timestamps.