The system only ever reads public on-chain state. It cannot move funds, sign transactions, or interact with any wallet. Sonar requires only a Stacks address to monitor.
Components
Read layer
Clarity contract read-only calls via the Hiro public API.
@stacks/transactions handles Clarity encode/decode.Compute layer
Off-chain health-factor computation, wired live into the dashboard via
/api/positions.Alert layer
A Node service (Telegram bot + monitor) that watches positions and notifies on threshold breach.
