You can separate your code into multiple ZoKrates files using
You can import a resource in the same folder directly, like this:
There also is a handy syntax to import from the parent directory:
Also imports further up the file-system are supported:
You can also choose to rename the imported resource, like so:
import "./mycode.code" as abc
Absolute imports don't start with
../ in the path and are used to import components from the ZoKrates standard library. Please check the according section for more details.