A simple way to validate your AVM Contracts for the NEO Blockchain before spending a bunch of Neo Gas to deploy
!!! EXPERIMENTAL TOOL THAT IS USED TO VALIDATE CONTRACTS
-
Specify your AVM File Path that implements NEP-5. Cut and paste the file path from Explorer.
-
Add Storage variables. The easiest thing to test is to add the following variables:
Variable 1 - Name: FROM Value: 1000 Type: integer
Variable 2 - Name: TO Value: 500 Type: integer
-
Add a new Action. The two most useful actions that are supported right now are transfer and balanceOf
Action 1 - Name: transfer Parameter Types: string, string, integer Return Types: integer
Action 2 - Name: balanceOf Parameter Types: string, Return Types: integer
-
Run the actions
Select transfer in the GUI Parameters - FROM, TO, 500. Hit the run button. Close the dialog.
Select balanceOf in the GUI Parameters - TO. Hit the run button. Close the dialog. Results should be 1000.