index.rst 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. Solang Solidity Compiler
  2. ========================
  3. Welcome the solang Solidity compiler. Using solang, you can compile
  4. smart contracts written in `Solidity <https://en.wikipedia.org/wiki/Solidity>`_ for `Substrate <https://substrate.dev/>`_ or `Hyperledger Burrow <https://github.com/hyperledger/burrow>`_. It uses the
  5. `llvm <https://www.llvm.org/>`_ compiler framework to produce WebAssembly
  6. (wasm). As result, the output is highly optimized, which saves you in gas costs.
  7. The Solidity language support is not fully compatible with the Ethereum
  8. EVM Solidity compiler. Where differences exists, this is noted in the
  9. documentation. In our flavour of solidity, there are also novel features
  10. like the condition argument to the ``if`` statement does not need
  11. parentheses, like in Go or rust.
  12. Many language features are not implemented yet. Anything which is documented
  13. is supported, though.
  14. .. toctree::
  15. :maxdepth: 3
  16. :caption: Contents:
  17. installing
  18. running
  19. language
  20. Indices and tables
  21. ==================
  22. * :ref:`genindex`
  23. * :ref:`modindex`
  24. * :ref:`search`