πŸ›‘οΈ 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 deployment

  • Bytecode is validated before deployment to avoid empty contracts


🧠 Planned Enhancements

Feature
Description

πŸ” 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