🚀 DAY 1 OF LAUNCH WEEK: Reachability for Ruby Now in Beta.Learn more →
Socket
Book a DemoInstallSign in
Socket

ton-disassembler

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ton-disassembler

Provides Fift-like code from smart contract source

latest
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

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);

FAQs

Package last updated on 01 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts