Solang Solidity CompilerΒΆ

Welcome to the Solang Solidity Compiler. Using Solang, you can compile smart contracts written in Solidity for Solana, Parity Substrate, and Ethereum ewasm. It uses the llvm compiler framework to produce WebAssembly (wasm) or BPF contract code. 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, version 0.7. Where differences exists, this is noted in the language documentation. The source code repository can be found on github and we have a channel #solang on, and a channel #solang-solidity-compiler on Solana Discord.