Siphon delivers real-time static analysis and optimization guidance for Solidity smart contracts directly inside VS Code. Use it to surface risky patterns, understand their impact, and apply safer alternatives without leaving your editor.
Features
Continuous lint-style diagnostics that highlight security and gas inefficiencies as you type.
A Pattern Insights view that explains each finding, links to documentation, and shows trimmed source snippets.
One-click optimization commands to apply safe fixes or refactorings suggested by the Siphon engine.
Configurable WebSocket connection to point at your own Siphon analysis service.
Requirements
If you have any requirements or dependencies, add a section describing those and how to install and configure them.
Extension Settings
This extension contributes the following settings under the siphon namespace:
siphon.server.host: Hostname or IP address for the Siphon WebSocket server (defaults to localhost).
siphon.server.port: TCP port for the Siphon WebSocket server (defaults to 8000).
siphon.server.endpoint: Path appended to the WebSocket URL (defaults to ws).
siphon.auth.token: Dashboard token forwarded to the Siphon service for authenticated analyze/optimize requests.
siphon.analysis.onSave: Toggle automatic analysis whenever Solidity files are saved (enabled by default).
Known Issues
Release Notes
0.1.0-beta
First beta release with end-to-end optimization workflows enabled for supported Solidity patterns.