Default Virtual Machine
Functions in Cyclone
Last updated
Functions in Cyclone
Last updated
Scripts for the default virtual machine (VM) are passed as JSON strings. The JSON object contains two parameters: method and data. The method parameter specifies the action to be performed by the VM, and it can have two values: save for saving a smart contract and execute for executing a transaction. The data parameter contains the JavaScript script for the smart contract or transaction execution.
Below is the documentation detailing each of the built-in functions available in the default VM
SWAGGER documentation:
cyPlay (IDE) developer tool: