Default Virtual Machine

Functions in Cyclone

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: http://164.68.127.226:9231/doc/index.html

cyPlay (IDE) developer tool: http://164.68.127.226:3432/

Last updated