Solang Solidity CompilerΒΆ

Funded by the web3 foundation

Welcome to the Solang Solidity compiler, the portable Solidity compiler. Using Solang, you can compile smart contracts written in Solidity for Substrate, Sawtooth Sabre, and Ethereum ewasm. It uses the llvm compiler framework to produce WebAssembly (wasm). As result, the output is highly optimized, which saves you in gas costs.

Solang aims for source file compatibility with the Ethereum EVM Solidity compiler. Where differences exists, this is noted in the documentation.

Many language features are not implemented yet, however anything documented is supported. The repository can be found on github and we have a channel on