Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/everx-labs/tvm-linker
TVM linker takes TVM assembly source code of TVM smart contract, compiles it and links its parts, adds standard selector and runtime and stores it into binary TVC file
https://github.com/everx-labs/tvm-linker
blockchain compiler everscale
Last synced: about 2 months ago
JSON representation
TVM linker takes TVM assembly source code of TVM smart contract, compiles it and links its parts, adds standard selector and runtime and stores it into binary TVC file
- Host: GitHub
- URL: https://github.com/everx-labs/tvm-linker
- Owner: everx-labs
- License: apache-2.0
- Created: 2019-03-28T11:18:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-16T07:55:13.000Z (5 months ago)
- Last Synced: 2024-08-16T23:28:11.696Z (5 months ago)
- Topics: blockchain, compiler, everscale
- Language: Rust
- Homepage:
- Size: 2.12 MB
- Stars: 22
- Watchers: 11
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://doc.rust-lang.org/cargo/getting-started/installation.html)## How to build
```bash
$ cargo update && cargo build --release
```## How to use
`tvm_linker` has several modes of work:
* Decoding of `.boc` messages prepared externally.
```bash
tvm_linker decode ...
```
* Preparing an external inbound messages in `.boc` format.
```bash
tvm_linker message ...
```
* Emulating contract execution:Linker can emulate compute phase of blockchain transaction. It is useful for contract debugging.
```bash
tvm_linker test ...
```### More Help
Use `tvm_linker --help` for detailed description about all options, flags and subcommands.