Layer LogoWAVS Docs
WAVS builders handbook

Task commands

The Taskfile.yml in the template composes commands from two sources:

  • Project-specific taskfiles in ./taskfile/ — build, deploy, and service tasks customized for the template
  • Shared base taskfiles from Lay3rLabs/wavs-taskfiles — common operator, docker, WASI, and core tasks reused across WAVS projects

Commands

Use task help (or task --list-all) to see all the commands:

task help

Here are the available task commands and their descriptions:

help show available tasks
setup install initial dependencies
start-all-local start all local services (anvil, IPFS, WARG, Jaeger, prometheus)
deploy-full run complete WAVS deployment pipeline
build:all build everything (Solidity + WASI components)
build:forge build Solidity contracts
build:wasi build WASI components (all or specific one) | WASI_BUILD_DIR
wasi:exec execute the WAVS wasi component(s) | COMPONENT_FILENAME, INPUT_DATA
deploy:service deploy WAVS service from URL | SERVICE_URL, WAVS_ENDPOINT
deploy:ipfs upload service config to IPFS | SERVICE_FILE
deploy:component upload WASI component to WAVS endpoint | COMPONENT_FILENAME, WAVS_ENDPOINT
operator:register register an operator with WAVS Service Manager
operator:update-signing-key update operator's signing key with WAVS Service Manager
operator:verify verify operator registration status
get-trigger-from-deploy get the trigger address from the script deploy
get-submit-from-deploy get the submit address from the script deploy
show-result show the result | SERVICE_SUBMISSION_ADDR, TRIGGER_ID, RPC_URL
test run tests
lint:check check linting and formatting
lint:fix fix linting and formatting issues

For more information on commands when using the template, visit the WAVS tutorial.

Edit on GitHub

On this page