CLI
A CLI is provided to support building and managing a PSP (light-anchor) workspace. For a comprehensive list of commands and options, run
light -h
on any of the following subcommands.Install with npm or yarn:
npm install -g @lightprotocol/cli
yarn global add @lightprotocol/light
Set up the boilerplate project. Includes a PSP template:
light init --name <project-name>
Build the project:
light build --name <project-name>
Optional flags:
--ptau <ptau-parameter> --circuitDir <directory-containing-a-.light-file>
Run tests:
light test --projectName <project-name> --programAddress <program-address>
Last modified 6mo ago