Provides Fift-like code from smart contract source. Latest Tonlib libraries can be found here.
<dependency>
<groupId>io.github.h6x0r</groupId>
<artifactId>ton-disassembler4j</artifactId>
<version>2.0.4</version>
</dependency>
Tonlib tonlib = Tonlib.builder()
.testnet(false)
.ignoreCache(false)
.build();
Address address = Address.of(addr);
FullAccountState accountState = this.tonlib.getAccountState(this.address);
byte[] accountStateCode = Utils.base64ToBytes(this.accountState.getAccount_state().getCode());
String disassembledInstruction = Disassembler.fromBoc(this.accountStateCode);
If you want to speed up ton-java development and thus change its priority in my backlog, you are welcome to donate some toncoins:
UQBcZMSqgAHLsMQ2lOx9GPrBuNYvuzfPvfqAwZot4g82-zXq