DOTON uses Solidity smart contracts to enable transfers to and from TVM compatible chains. These contracts consist of a core bridge contracts: Bridge, EpochController, Proposal, Handler. As a source chain of transfer flow, ton implementation has Sender and Receiver contracts.
Firstly, you should install solidity build tools: TON Solidity Compiler and TVM Linker
There is a build.sh bash script inside scripts folder. You should provide a path to your compiler executable binary in local_variables.sh script by set up solcExec variable. (EX: /usr/bin/solc or just solc). Build script will automatically compile contracts and store them into TVC files (with tvm_linker). Builded .tvc files and .abi.json files will be placed onto build directory. Files ready for deploying.