Workspaces

Summary

Luzid workspaces are designed to shorten the feedback loop for smart contract developers. They allow cloning all programs of a project into the validator and repeat that step automatically anytime the program is recompiled.

Details

Registering a Workspace Automatically

This is the quickest, easiest and therefore recommended way to register a workspace. Simply launch Luzid from the root of your project with the trailing . as shown below:

luzid .

Luzid will then discover all programs and IDLs in that project, clone them into the validator and start watching them for changes.

Registering a Workspace via the UI

You can also manually register a workspace as follow:

  1. Navigate to the Workspaces tab in the Luzid UI and click Add

  2. Paste the path to the root of your project into the Workspace Directory field

  3. Review the programs and IDLs that Luzid discovered and click Add

  4. a. Either click Clone in order to clone all programs and IDLs of the workspace once

    b. Or click Watch in order to clone all programs and IDLs of the workspace and watch them for changes afterwards