Port of the Solidity smart-contract compiler generating TVM bytecode for TVM compatible blockchains (Everscale, Venom, Gosh, TON). Please refer to upstream README.md for information on the language itself.
We recommend using sold
to compile smart-contracts. Documentation is available at README.md.
Original Instructions about how to build and install the Solidity compiler can be found in the Solidity documentation.
git clone https://github.com/tvmlabs/tvm-solidity-compiler
cd tvm-solidity-compiler
sh ./compiler/scripts/install_deps.sh
mkdir build
cd build
cmake ../compiler/ -DCMAKE_BUILD_TYPE=Release
cmake --build . -- -j8
Install Visual Studio Build Tools 2019, Git bash, cmake. Run Developer PowerShell for VS 2019
git clone https://github.com/tvmlabs/tvm-solidity-compiler
cd tvm-solidity-compiler
compiler\scripts\install_deps.ps1
mkdir build
cd build
cmake -DBoost_DIR="..\compiler\deps\boost\lib\cmake\Boost-1.77.0" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded ..\compiler
cmake --build . --config Release -- /m
- Ever assembler and disassembler
- Code samples in TVM Solidity
- tvm-cli command line interface for TVM compatible blockchains
- Example of usage
tvm-cli
for working (deploying, calling etc.) with TVM compatible blockchains can be found there: Write smart contract in Solidity - Changelog