Skip to content

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

License

everx-labs/TVM-linker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

How to build

$ cargo update && cargo build --release

How to use

tvm_linker has several modes of work:

  • Decoding of .boc messages prepared externally.
tvm_linker decode ...
  • Preparing an external inbound messages in .boc format.
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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages