TVM-linker
TVM-linker copied to clipboard
TVM linker takes TVM assembly source code of TON smart contract, compiles it and links its parts, adds standard selector and runtime and stores it into binary TVC file
TVM linker
This repository stores the source code for tvm_linker utility. It can immediately execute a smart
contract by emulating the computing phase of transaction.
Prerequisites
- Latest version of Rust
- Cargo tool Get them here
How to build
$ cargo update && cargo build --release
How to use
tvm_linker has several modes of work:
- Decoding of
.bocmessages prepared externally.
tvm_linker decode ...
- Preparing an external inbound messages in
.bocformat.
tvm_linker message ...
- Emulating contract execution:
Linker can emulate compute phase of blockchain transaction. It is useful for contract debugging.
tvm_linker test ...
More Help
Use tvm_linker --help for detailed description about all options, flags and subcommands.