Skip to content

shaharyakir/disassembler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TON VM Disassembler

Provides Fift-like code from smart contract source

Published on npm

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

About

TON VM disassembler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.8%
  • JavaScript 0.2%