In this first exercise, the storage is a single string value, initialised to
""; the unique entry point is called to set the value:
Do not forget to save the file with Ctrl+s (or Cmd+s)
:= operator to assign value to storage variable.
First, check whether the test account has enough balance to run the tutorial; entrer this command in the Terminal:
It displays the balance of the account named 'admin'.
If this balance is below 10 ꜩ, then follow these instructions to import a new account (or transfer 100 ꜩ to the admin address on testnet).
The following Completium CLI command deploys the contract on the Tezos network:
This command must be run in the
tutorial directory, so enter this command first:
The following command calls the unique entry point:
The following command generates the URL to view the contract in Better call Dev:
Open '2-exec-condition.arl' and click on "Next: Executions conditions" below.