To run the demo, build the latest version of Scilla from the development repository.
Make sure to build the latest Scilla sources.
Check out the examples from the expressions
folder.
For type checking:
$SCILLA_HOME/bin/type-checker file.scilla
For evaluation:
$SCILLA_HOME/bin/eval-runner file.scilla
From the folder contracts
, run
easyrun.sh contractName testNum
to execute contract contractName
with a specific test input number testNum
.
For instance, running
easyrun.sh helloWorld 1
will execure the first transaction on the contract helloWorld
.
To type-check the contract, run
$SCILLA_HOME/bin/scilla-checker contract.scilla
Check the list of available tasks.