π‘οΈ Compiler Safety Features & π§ Planned Enhancements
To ensure security and reliability, Dialect AI uses solc-js in a strict sandboxed environment:
Only approved templates are compiled (no raw code input from users)
Compiler version is locked to avoid breaking changes (
^0.8.x)Warnings (e.g.,
Uninitialized storage variable) are shown to the user before deploymentBytecode is validated before deployment to avoid empty contracts
π§ Planned Enhancements
π Multi-version Support
Support for compiling contracts using different Solidity versions (0.7, 0.8, 0.6 for legacy)
π Import Resolver
Full support for local or external contract dependencies (e.g., OpenZeppelin libraries)
π Full Diagnostics
Rich, human-readable feedback for syntax and logic errors
πΎ Bytecode Caching
Reuse compiled output to speed up repeated operations
ποΈ Contract Preview
Display ABI, functions, events, and constructor details before deployment
Last updated