This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

ton-disassembler
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

TON VM Disassembler

Provides Fift-like code from smart contract source

Usage

let client = new TonClient({
    endpoint: 'https://scalable-api.tonwhales.com/jsonRPC'
});
let address = Address.parseFriendly('Ef-kkdY_B7p-77TLn2hUhM6QidWrrsl8FYWCIvBMpZKprKDH').address;
let state = await client.getContractState(address);

let codeCell = Cell.fromBoc(state.code)[0];
    
let source = await fromCode(codeCell);

Readme

Keywords

none

Package Sidebar

Install

npm i ton-disassembler

Weekly Downloads

4

Version

1.1.1

License

MIT

Unpacked Size

216 kB

Total Files

43

Last publish

Collaborators

  • mrmld