CLI that create a nestjs server from a given .idl file to interact with Vara Network.
Note: Your contract needs the
Keyring servicefrom Vara Lab to build your nestjs server.
Basic cli command to create the nestjs server, he server will be in the generated-server directory.
npx varalab-nestjs ./example.idlcli command to specify the directory where the nestjs server will be located, in both cases my-server:
npx varalab-nestjs ./example.idl --output my-server
npx varalab-nestjs ./example.idl -o my-serverYou can install it to run locally the cli with the next command:
npm i -g varalab-nestjs