Provides Fift-like code from smart contract source. Latest Tonlib libraries can be found here.
<dependency>
<groupId>io.github.neodix42</groupId>
<artifactId>disassembler</artifactId>
<version>0.9.0</version>
</dependency>
Tonlib tonlib=Tonlib.builder()
.testnet(false)
.ignoreCache(false)
.build();
Address address=Address.of(addr);
FullAccountState accountState=this.tonlib.getAccountState(address);
byte[]accountStateCode=Utils.base64ToBytes(accountState.getAccount_state().getCode());
String disassembledInstruction=Disassembler.fromBoc(accountStateCode);