How to install

To use toncli, you will need to install a special version of the Ton Virtual Machine for the test engine. This version includes a special debug op, developed by SpyCheese, which is necessary for working with the test engine.

Currently, there are two live repositories where you can find the updated Fift & Func:

To use toncli, you will need to install the special version of the Ton Virtual Machine and use the updated Fift & Func from one of these repositories. This will allow you to take advantage of the custom test engine and the necessary debug op.

To install from those repos we provide simple guides:

Special TVM OPs

xxxxxxxxxxxxxxxx Name

xxxxxxxx Opcode

xxxxxxxxxxxx Stack

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Description

GASLIMITSTEMP

FEEF10

- g_l g_r

Returns the current gas limit g_l and remainig gas g_r.

PRIVTOPUB

FEEF11

priv - pub

Converts Ed25519 private key into a public key. Both keys are represented as 256-bit unsigned integers.

SIGN

FEEF12

x p - s

Signs a 256-bit unsigned integer x using a private key p. Key is represented as a 256-bit unsigned integer. Signature is returned as a slice. It can be checked using CHKSIGNU.

SIGNS

FEEF14

x p - s

Signs data portion of slice x using a private key p. Bit length of x should be divisible by 8. Key is represented as a 256-bit unsigned integer. Signature is returned as a slice. It can be checked using CHKSIGNS.

RESETLOADEDCELLS

FEEF13

-

Future cell loads will consume gas as if no cells were loaded before RESETLOADEDCELLS.

Last updated