Layer LogoWAVS Docs
WAVS builders handbook

Makefile commands

Commands

Use make help to see all the commands:

make help

Here are the available make commands and their descriptions:

build building the project
wasi-build building WAVS wasi components | WASI_BUILD_DIR
wasi-exec executing the WAVS wasi component(s) with ABI function | COMPONENT_FILENAME, INPUT_DATA
wasi-exec-fixed the same as wasi-exec, except uses a fixed input as bytes (used in Go & TS components) | COMPONENT_FILENAME, INPUT_DATA
clean cleaning the project files
clean-docker remove unused docker containers
validate-component validate a WAVS component against best practices
fmt formatting solidity and rust code
test running tests
setup install initial dependencies
start-all-local starting anvil and core services (like IPFS for example)
get-trigger-from-deploy getting the trigger address from the script deploy
get-submit-from-deploy getting the submit address from the script deploy
wavs-cli running wavs-cli in docker
upload-component uploading the WAVS component | COMPONENT_FILENAME, WAVS_ENDPOINT
deploy-service deploying the WAVS component service json | SERVICE_URL, CREDENTIAL, WAVS_ENDPOINT
get-trigger get the trigger id | SERVICE_TRIGGER_ADDR, RPC_URL
show-result showing the result | SERVICE_SUBMISSION_ADDR, TRIGGER_ID, RPC_URL
upload-to-ipfs uploading the a service config to IPFS | SERVICE_FILE, [PINATA_API_KEY]
update-submodules update the git submodules
check-requirements verify system requirements are installed

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

Edit on GitHub

On this page