0.0.22 • Published 12 months ago

@scaleton/tvm-disassembler v0.0.22

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

TON Opcodes

Evolution of tvm-disassembler library that is built to be used also as a library that returns structured code. Has a list of typed opcodes and ability to read individual opcode from a slice.

Installation

yarn add @tact-lang/opcode

Usage

import { decompile } from "@tact-lang/opcode";

// Decompile a single cell sequence into opcode list. Useful for interpretators or for debugging.
const sourceCode = Buffer.from('....', 'base64');
const decompiledOpcodes = decompile({ src: sourceCode });

// Decompile a whole contract. Useful for contract developers and explorers.
const decompiledCode = decompileAll({ src: sourceCode });

Authors

License

MIT

0.0.20

12 months ago

0.0.21

12 months ago

0.0.22

12 months ago

0.0.19

12 months ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago