Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/everx-labs/tvm-solidity-compiler
Solidity compiler for TVM
https://github.com/everx-labs/tvm-solidity-compiler
blockchain compiler everos everscale smart-contracts solidity tvm venom-blockchain venom-developer-program
Last synced: 6 days ago
JSON representation
Solidity compiler for TVM
- Host: GitHub
- URL: https://github.com/everx-labs/tvm-solidity-compiler
- Owner: everx-labs
- License: gpl-3.0
- Created: 2019-11-01T08:47:22.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-07T13:18:42.000Z (about 2 months ago)
- Last Synced: 2024-12-14T15:05:56.598Z (13 days ago)
- Topics: blockchain, compiler, everos, everscale, smart-contracts, solidity, tvm, venom-blockchain, venom-developer-program
- Language: C++
- Homepage:
- Size: 6.86 MB
- Stars: 125
- Watchers: 13
- Forks: 71
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# The TVM Solidity compiler
[![GitHub](https://img.shields.io/github/license/everx-labs/TVM-Solidity-Compiler?style=for-the-badge)](./LICENSE)
[![Everscale](https://custom-icon-badges.demolab.com/badge/-everscale-13173e?style=for-the-badge&logoColor=yellow&logo=everscale)](https://everscale.network/)Port of the Solidity smart-contract [compiler](https://github.com/ethereum/solidity) generating TVM bytecode for TVM compatible blockchains (Everscale, Venom, Gosh, TON). Please refer to upstream README.md for information on the language itself.
## TVM Solidity API reference
[API documentation is here](https://github.com/everx-labs/TVM-Solidity-Compiler/blob/master/API.md)
## Build and Install
### Sold driver
We recommend using `sold` to compile smart-contracts. Documentation is available at [README.md](https://github.com/everx-labs/TVM-Solidity-Compiler/blob/master/sold/README.md).
### Building compiler
Original Instructions about how to build and install the Solidity compiler can be found in the [Solidity documentation](https://solidity.readthedocs.io/en/latest/installing-solidity.html#building-from-source).
#### Ubuntu Linux
```shell
git clone https://github.com/everx-labs/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
```#### Windows 10
Install Visual Studio Build Tools 2019, Git bash, cmake.
Run Developer PowerShell for VS 2019```shell
git clone https://github.com/everx-labs/TVM-Solidity-Compiler
cd TVM-Solidity-Compiler
compiler\scripts\install_deps.ps1
mkdir build
cd build
cmake -DBOOST_ROOT="..\compiler\deps\boost\" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded ..\compiler
cmake --build . --config Release -- /m
```## Links
* [Ever assembler and disassembler](https://github.com/everx-labs/ever-assembler)
* [Code samples](https://github.com/everx-labs/samples/tree/master/solidity) in TVM Solidity
* [ever-cli](https://github.com/everx-labs/ever-cli) command line interface for TVM compatible blockchains
* Example of usage `ever-cli` for working (deploying, calling etc.) with TVM compatible blockchains can be found there: [Write smart contract in Solidity](https://docs.ton.dev/86757ecb2/p/950f8a-write-smart-contract-in-solidity)
* [Changelog](./Changelog.md)## License
[GNU GENERAL PUBLIC LICENSE Version 3](./LICENSE)